Debian11 网络问题

安装Debian11因为在安装软件一步失败,导致有部分软件未安装成功,即使系统起来了,但默认没有网络,需要手动启用:dhclient 后才有网络,然而在网上搜索到需要把网卡添加到NetworkManage里,但用命令添加也无效:
ytian@debian:~$ nmcli device status
DEVICE TYPE STATE CONNECTION
wlp3s0 wifi disconnected –
p2p-dev-wlp3s0 wifi-p2p disconnected –
enp7s0f5 ethernet unmanaged –
lo loopback unmanaged –
ytian@debian:~$ sudo nmcli device set enp7s0f5 managed yes
[sudo] password for ytian:
ytian@debian:~$ nmcli device status
DEVICE TYPE STATE CONNECTION
wlp3s0 wifi disconnected –
p2p-dev-wlp3s0 wifi-p2p disconnected –
enp7s0f5 ethernet unmanaged –
lo loopback unmanaged –

用命令添加看起来没有成功,这是什么?

1 个赞

看这里:NetworkManager - Debian Wiki