debian系linux网卡设置
debian系linux网卡设置,自动获取/静态地址。
wired unmanaged 报错解决方法。
编辑网卡
1 | vi /etc/network/interfaces |
- dhcp
1 | auto eth0 |
- static
1 | auto eth0 |
改完记得:
1 | /etc/init.d/networking restart |
再不行重启
wired unmanaged 报错
1 | sudo vim /etc/NetworkManager/NetworkManager.conf |
修改managed=false
为managed=true
,最后:
1 | service network-manager restart |