How to Setup Static IP Address on Debian 6 Squeeze In order to setup a static IP on Debian 6, you need to edit the /etc/network/interfaces file. You will not be able to complete this through a SSH session as obviously you will be changing the IP address of the system. Create a backup of the file first: #sudo cp /etc/network/interfaces /etc/network/interfaces.org Edit the interfaces file as follows: #sudo vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.2.8 gateway 192.168.2.1 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 !Important - make sure you use your own IP addressing in the above example. Restart the networking services: # sudo ifdown eth0 && ifup eth0...