Last active
November 9, 2019 07:03
-
-
Save Darkle/41b6f3bdae48d2729942fb98d550a2b8 to your computer and use it in GitHub Desktop.
enabling networking in ubuntu when network manager is disabled
This file contains hidden or 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
| 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