Skip to content

Instantly share code, notes, and snippets.

@antonkratz
Created November 14, 2023 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonkratz/94b631c438c302642ada2ce25ad5eecf to your computer and use it in GitHub Desktop.
Save antonkratz/94b631c438c302642ada2ce25ad5eecf to your computer and use it in GitHub Desktop.
quick fixes to Ubuntu under UTM
# When the network is down
sudo ip link set dev enp0s1 down
sudo ip link set dev enp0s1 up
# When the clock gets out of sync
sudo service ntp stop
sudo ntpd -gq
sudo service ntp start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment