Linux network setting.

Lubuntu network setting.

//1. Vi /etc/network/interfaces 
Add:
auto eth0
iface eth0 inet dhcp

//2. Vi /etc/resolv.conf 
Add:
nameserver 202.99.166.4


//3.restart network.
ifconfig eth0 down
ifconfig eth0 up

 

你可能感兴趣的:(Linux network setting.)