Skip to content

Instantly share code, notes, and snippets.

@pgaref
Last active January 6, 2016 22:46
Show Gist options
  • Select an option

  • Save pgaref/869a33e89e224ba17d83 to your computer and use it in GitHub Desktop.

Select an option

Save pgaref/869a33e89e224ba17d83 to your computer and use it in GitHub Desktop.
eth0 Static IP - ubuntu 14.04
1) Setting "managed=false" to "managed=true" in the file: /etc/NetworkManager/NetworkManager.conf
2) /etc/network/interfaces (Can find defaults using nm-tool)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.108
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 8.8.4.4 8.8.8.8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment