Total Pageviews

Friday 28 December 2012

设置你的Ethernet Card

Setting up your Ethernet Card

# for DHCP, in your /etc/network/interfaces
iface eth0 inet dhcp
# run dhclient eth0 afterwards
# for static ip, in your /etc/network/interfaces
iface eth0 inet static
address 192.168.0.160
netmask 255.255.255.0
gateway 192.168.0.1