ubuntu静态ip后eth0不见了
发布时间: 2025-02-24 06:59:00
⑴ ubuntu中网络设备中没有eth0,只有lo和wlan0,昨天都可以连上路由器,今天就不行了,好心人帮帮忙
ifconfig eth0 up
dhclient eth0
看看。
如果又出来了,是你没让eth0自动启动。
以下方法适用于自动获取ip:
用network manager的话:
右键右上角网络状态图标,选编辑,选网卡,选编辑,勾上自动连接。
不用network manager:
sudo vi /etc/network/interfaces
加入
auto eth0
iface eth0 inet dhcp
热点内容