Error: Connection activation failed: (7) Secrets were required

Home / Article MrLee 4月前 433

日前使用Fedora 35自带的nmcli工具连接无线网死活连不上,报错如下

$ nmcli device wifi connect "OpenWrt" password 00000000
Error: Connection activation failed: (7) Secrets were required, but not provided.

查了下相关资料,有人说重启即可解决问题,但亲测无效。还有一种方案删除相关的网络管理器,由于我之前曾尝试连接过此WiFi没有成功,因此受到这个方案启发我尝试删除了既有的连接,果然奏效!目测是先前的某些残留配置影响了当前的连接操作。

$ nmcli c 
NAME                UUID                                  TYPE      DEVICE
eno1                3e755f37-3cff-314d-bb1b-4efebb6ce566  ethernet  eno1
OpenWrt             14ad438b-9b2b-43c6-a3d1-66dd3bb987dc  wifi      --
$ nmcli c delete OpenWrt
Connection 'OpenWrt' (14ad438b-9b2b-43c6-a3d1-66dd3bb987dc) successfully deleted.
$ nmcli device wifi connect "OpenWrt" password 00000000
Device 'wlp58s0' successfully activated with '180a3ce4-ba1f-405a-94f1-684e538a7be9'.

重连

nmcli device wifi connect "ChinaNet" password 00000000


本文链接:https://www.it72.com/12751.htm

推荐阅读
最新回复 (0)
返回