Created
July 3, 2020 06:58
-
-
Save giddyhup/46aff792bd522f23fae8de5d69db042c to your computer and use it in GitHub Desktop.
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
# execute with sudo or as root | |
systemctl disable NetworkManager | |
systemctl stop NetworkManager | |
systemctl disable NetworkManager-wait-online.service | |
systemctl stop NetworkManager-wait-online.service | |
systemctl disable NetworkManager-dispatcher.service | |
systemctl stop NetworkManager-dispatcher.service | |
systemctl disable network-manager.service | |
systemctl stop network-manager.service | |
systemctl enable systemd-networkd | |
systemctl enable systemd-resolved | |
systemctl start systemd-networkd | |
systemctl start systemd-resolved | |
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf | |
# edit settings for eth0 or wlan0! | |
nano /etc/systemd/network/eth0.network | |
# reboot | |
sudo dpkg-reconfigure resolvconf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment