虚拟机连不上网

搞半天发现是网卡没激活(ˉ▽ˉ;)...
查看网卡状态

ip addr

手动激活网卡

# 激活 ens33 网卡(根据环境选择网卡名)
sudo ip link set ens33 up

# 检查网卡状态
ip addr show ens33

2025-06-25
今天又连不上网

Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).

检查NetworkManager状态:

nmcli networking

开启NetworkManager接管:

nmcli networking on

检查设备状态:

nmcli device status
posted @ 2025-06-25 00:29  soulmate284  阅读(10)  评论(0)    收藏  举报