Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save docent-net/803d5379846fd6aba7d7 to your computer and use it in GitHub Desktop.

Select an option

Save docent-net/803d5379846fd6aba7d7 to your computer and use it in GitHub Desktop.
systemctl disable NetworkManager
systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl stop NetworkManager
systemctl start systemd-networkd
systemctl start systemd-resolved
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
@dexter74
Copy link

dexter74 commented Nov 5, 2021

systemctl disable --now NetworkManager ;
systemctl enable --now systemd-networkd ;
systemctl enable --now systemd-resolved ;
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment