#cd /etc/networking
#vim interfaces
将
iface eth0 inet static ==> iface eth0 inet dhcp
下边的都删掉或者
# address xxx.xxx.xxx.xx
#netmask xx.xx.xx.xx
#xxxxxxxxxxxxx
都注释掉
版权声明:本文为weixin_55821558原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
#cd /etc/networking
#vim interfaces
将
iface eth0 inet static ==> iface eth0 inet dhcp
下边的都删掉或者
# address xxx.xxx.xxx.xx
#netmask xx.xx.xx.xx
#xxxxxxxxxxxxx
都注释掉