您好,我在 Ebay 购买的 x220 上安装了 qubes。现在我遇到了wifi无法连接的问题。 Qubes 使用 sys-net VM 来基于 fedora 29 进行互联网连接。尽管也安装了 wpa_supplicant,但它使用网络管理器进行连接。以太网与 LAN 电缆配合使用效果良好,但问题是 wifi 无法立即连接或断开。适配器是 Centrino Advanced-N 6205。我可以使用 wpa_supplicant + dhclient 连接到 wifi,如此处所述https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
然而,其他 qube 无法使用此连接,我也不想使用 wpa_supplicant,而是使用 NetworkManager。也许这里有人可以帮助我找出导致 NetworkManager 拒绝保持连接的原因。我尝试按照此建议将 DHCPlient 更改为 dhclienthttps://www.linuxquestions.org/questions/slackware-14/networking-connects-then-disconnects-with-14-2-ar9285-4175583671/和这里https://wiki.archlinux.org/index.php/NetworkManager。但这也没有帮助。不知道是不是因为qubes环境的原因所以设置不一样。我还将 IPv6 设置忽略并仅通过 IPv4 连接 - 没有帮助,反之亦然。当我在网络管理器设置中“禁用”IPv4 并将 IPv6 设置为“忽略”时,我能够连接到 wifi,但是 CPU 的使用率非常高,而且显然我没有可用的互联网连接。
这是 dmesg 输出的一部分:
[ 5.542197] IPv6: ADDRCONF(NETDEV_UP): wls7: link is not ready
[ 7.941038] fuse init (API version 7.26)
[ 8.794429] iwlwifi 0000:00:07.0: Radio type=0x1-0x2-0x0
[ 9.097792] iwlwifi 0000:00:07.0: Radio type=0x1-0x2-0x0
[ 9.184467] IPv6: ADDRCONF(NETDEV_UP): wls7: link is not ready
[ 12.437164] wls7: authenticate with 94:4a:0c:a2:c4:3a
[ 12.449079] wls7: send auth to 94:4a:0c:a2:c4:3a (try 1/3)
[ 12.521838] wls7: authenticated
[ 12.523237] wls7: associate with 94:4a:0c:a2:c4:3a (try 1/3)
[ 12.524847] wls7: RX AssocResp from 94:4a:0c:a2:c4:3a (capab=0x11 status=0 aid=2)
[ 12.549671] wls7: associated
[ 12.623230] wls7: Limiting TX power to 23 (23 - 0) dBm as advertised by 94:4a:0c:a2:c4:3a
[ 12.659060] IPv6: ADDRCONF(NETDEV_CHANGE): wls7: link becomes ready
[ 12.660467] wls7: deauthenticating from 94:4a:0c:a2:c4:3a by local choice (Reason: 1=UNSPECIFIED)
[ 12.743637] IPv6: ADDRCONF(NETDEV_UP): wls7: link is not ready
[ 12.844874] wls7: authenticate with 94:4a:0c:a2:c4:38
[ 12.857316] wls7: send auth to 94:4a:0c:a2:c4:38 (try 1/3)
[ 12.871455] wls7: authenticated
[ 12.872100] wls7: associate with 94:4a:0c:a2:c4:38 (try 1/3)
[ 12.875869] wls7: RX AssocResp from 94:4a:0c:a2:c4:38 (capab=0x411 status=0 aid=3)
[ 12.905062] wls7: associated
[ 12.920569] IPv6: ADDRCONF(NETDEV_CHANGE): wls7: link becomes ready
[ 12.922015] wls7: deauthenticating from 94:4a:0c:a2:c4:38 by local choice (Reason: 1=UNSPECIFIED)
答案1
我找到了解决方案。
显然,补救措施是更新 Fedora 模板。但也许有人搜索需要将 /etc/NetworkManager/conf.d/dhcp-client.conf 更改为
[main] dhcp=dhclient
如下所述:
https://www.linuxquestions.org/questions/slackware-14/networking-connects-then-disconnects-with-14-2-ar9285-4175583671/
https://wiki.archlinux.org/index.php/NetworkManager