Created
November 14, 2023 02:54
-
-
Save antonkratz/94b631c438c302642ada2ce25ad5eecf to your computer and use it in GitHub Desktop.
quick fixes to Ubuntu under UTM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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