static_ip_address - mgaitan/waliki GitHub Wiki

# Title

sudo vim /etc/network/interfaces

iface eth0 inet static
address 10.1.1.123 netmask 255.255.255.0 gateway 10.1.1.1 dns-nameserver 10.1.1.6 dns-nameserver 10.1.1.9 dns-search waliki.pythonanywhere.com

The nameserver stuff is not need because you can put it in /etc/resolve.conf but it doesn't hurt to have it.

⚠️ **GitHub.com Fallback** ⚠️