Saturday, June 06, 2009

ubuntu network configuration

root@ali-desktop:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto usb0

iface usb0 inet static
address 192.168.111.2
netmask 255.255.255.0

auto eth0
iface eth0 inet dhcp