1
2
3
4
5
6
7
8
9
10
11
12
13
14 | # static IP # Change the IP address to your needs sudo -e /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 # DNS resolvconf sudo -e /etc/resolvconf/resolv.conf.d/base nameserver 192.168.1.1 sudo resolvconf -u |