Skip to content

Instantly share code, notes, and snippets.

@biggers
Created January 18, 2017 14:09
Show Gist options
  • Save biggers/708ab17b37e1e512c70c860de3efdf71 to your computer and use it in GitHub Desktop.
Save biggers/708ab17b37e1e512c70c860de3efdf71 to your computer and use it in GitHub Desktop.
Enable wired-interfaces (incl VPN) to be managed by systemd - Ubuntu Linux 16+
# NetworkManager should manage wired interfaces!
# Linux Mint 18.x (Ubuntu 16.04)
# REF: "fixing VPN problem in Ubuntu",
# http://blog.wensheng.org/search?updated-min=2015-01-01T00:00:00-06:00&updated-max=2016-01-01T00:00:00-06:00&max-results=5
aptitude install etckeeper
git log
nmcli c # NOTE: no wired-interface controlled
emacs -nw /etc/NetworkManager/NetworkManager.conf
# change: [ifupdown] managed=true (from false)
sudo service network-manager restart
sudo service network-manager status -l
nmcli c # NOTE: wired-interfaces managed
etckeeper commit "enable wired-interfaces to be managed by system (NetworkManager)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment