28Jan/090
How to Static IP on Debian and Ubuntu Linux
[ad#ad-1]
hi,
open with nano /etc/network/interface file and replace or add this line and make save.
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address ??.1??.4.234
netmask 255.255.255.0
network ??.1??.4.0
broadcast ??.1??.4.255
gateway ??.1??.4.1
?? your ip
Then restart network interface, /etc/init.d/networking restart