#cd /etc/networking
#vim interfaces
将
iface eth0 inet static ==> iface eth0 inet dhcp
下边的都删掉或者
# address xxx.xxx.xxx.xx
#netmask xx.xx.xx.xx
#xxxxxxxxxxxxx
都注释掉
#cd /etc/networking
#vim interfaces
将
iface eth0 inet static ==> iface eth0 inet dhcp
下边的都删掉或者
# address xxx.xxx.xxx.xx
#netmask xx.xx.xx.xx
#xxxxxxxxxxxxx
都注释掉