Skip to content

Instantly share code, notes, and snippets.

@Darkle
Last active November 9, 2019 07:03
Show Gist options
  • Select an option

  • Save Darkle/41b6f3bdae48d2729942fb98d550a2b8 to your computer and use it in GitHub Desktop.

Select an option

Save Darkle/41b6f3bdae48d2729942fb98d550a2b8 to your computer and use it in GitHub Desktop.
enabling networking in ubuntu when network manager is disabled
https://www.configserverfirewall.com/ubuntu-linux/ubuntu-network-manager/
https://www.configserverfirewall.com/ubuntu-linux/configure-ubuntu-server-static-ip-address/
sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager
sudo systemctl mask NetworkManager
sudo systemctl unmask systemd-networkd.service
sudo systemctl enable systemd-networkd.service
sudo systemctl start systemd-networkd.service
Add the interface configuration to the netplan config file (in the /etc/netplan directory):
make sure that the renderer is renderer: networkd
sudo netplan apply
===pretty sure this isnt needed=======
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved
================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment