Skip to content

Instantly share code, notes, and snippets.

@get-data-
Created May 13, 2017 23:08
Show Gist options
  • Save get-data-/2db92579c1dd6d23ecd89ade06e876c4 to your computer and use it in GitHub Desktop.
Save get-data-/2db92579c1dd6d23ecd89ade06e876c4 to your computer and use it in GitHub Desktop.
don't forget nameservers or you'll be stuck to pinging IPs thinking it is broke when it isn't
sudo nano /etc/network/interfaces
auto PRIMARY_NETWORK_INTERFACE_NAME_HERE
iface PRIMARY_NETWORK_INTERFACE_NAME_HERE inet static
address 192.168.1.99
netmask 255.255.255.0
gateway 192.168.0.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