rosetta_stone > os
document updated 11 years ago, on Dec 14, 2011

Debian/Ubuntu etc

static IP

edit /etc/network/interfaces


static IP

ifconfig eth0 netmask

default gateway

route add default gw eth0

DNS server

edit /etc/resolv.conf


IP address

edit /etc/hosts (using the name found in hostname.hme*)


edit /etc/netmasks

default gateway

Edit /etc/defaultrouter

Or route add default

DNS server

edit /etc/resolv.conf and /etc/nsswitch.conf

make changes take effect without rebooting

svcadm restart network/physical
/etc/init.d/network restart