Skip to content

Instantly share code, notes, and snippets.

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 giddyhup/46aff792bd522f23fae8de5d69db042c to your computer and use it in GitHub Desktop.
Save giddyhup/46aff792bd522f23fae8de5d69db042c to your computer and use it in GitHub Desktop.
# 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