ifconfig 如下
编辑interfaces
nano /etc/network/interfaces
在下方添加两行代码
auto eth0
iface eth0 inet dhcp
终端执行
/etc/init.d/networking restart
配置生效
ifconfig 如下
编辑interfaces
nano /etc/network/interfaces
在下方添加两行代码
auto eth0
iface eth0 inet dhcp
终端执行
/etc/init.d/networking restart
配置生效