我刚刚在我的 Dell Inspiron 1520 上安装了带有 Gnome3 的 archlinux。由于我的 wifi 卡的 pcid 是,所以我使用的是 b43 broadcom 驱动程序14e4:4312
。
当我安装 NetworkManager(带有 gnome 密钥环)时,它会看到所有可用的 Wifi 连接,但每当我单击加密连接时,它首先会要求进行管理员身份验证(第一次尝试),然后继续断开连接并自动连接到第一个可用的非加密连接。
是否有某些东西我还没有安装或配置?
以下是日志
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: activated -> disconnected (reason 'none') [100 30 0]
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): deactivating device (reason: 0).
Jul 4 19:18:14 localhost dhcpcd[7049]: received SIGTERM, stopping
Jul 4 19:18:14 localhost dhcpcd[7049]: wlan0: removing interface
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 7049
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) starting connection 'Auto foo'
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> (pid 7049) unhandled DHCP event for interface wlan0
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Jul 4 19:18:14 localhost kernel: [148464.208676] cfg80211: Calling CRDA to update world regulatory domain
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0/wireless): access point 'Auto foo' has security, but secrets are required.
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> No agents were available for this request.
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> Activation (wlan0) failed for access point (foo)
Jul 4 19:18:14 localhost NetworkManager[741]: <info> Marking connection 'Auto foo' invalid.
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> Activation (wlan0) failed.
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): deactivating device (reason: 0).
Jul 4 19:18:14 localhost NetworkManager[741]: <info> (wlan0): supplicant interface state: completed -> disconnected
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Jul 4 19:18:14 localhost NetworkManager[741]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
答案1
nm-applet 启动时,会将自己注册为 NetworkManager 的“秘密”代理。当 NetworkManager 需要输入密码时,它会要求代理与用户进行交互。
但是,它在我的 Arch 系统上不起作用:
$ pacman -Q network-manager-applet
network-manager-applet 0.9.8.0-1
我从 Git(nma-0-9-8 分支,提交 742e5daf91)编译了 nm-applet,并且成功了。