您尚未登录。

#1 2020-03-01 22:08:23

peppacat0404
会员
注册时间: 2020-03-01
帖子: 2

某些特定的wifi无法连接

各位前辈好,我现在遇到的情况如下:
系统:manjaro kde kernel:5.4.18-1,和windows安装在一块硬盘上。
现在有两个wifi,一个名为:TP-LINK_A7BD,在linux和windows上都能脸上;另一个为小米电力猫生成的wifi,叫做xiaomi_plus,只能在windows上连接,linux环境下一直连不上。
机器为xps9370,网卡信息如下:
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
        Subsystem: Bigfoot Networks, Inc. Killer 1435 Wireless-AC
        Flags: bus master, fast devsel, latency 0, IRQ 139
        Memory at dc000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: <access denied>
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci
下面的日志为我首先链接xiaomi_plus,无法链接手动断开后链接TP-LINK_A7BD,成功连上:
[ 2748.363346] audit: type=1111 audit(1583069491.977:177): pid=741 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=connection-activate uuid=e93
1ad9f-d5e7-499b-910a-59fca21ad1ac name="Xiaomi_plus" pid=1498 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[ 2753.308113] wlp2s0: authenticate with 04:cf:8c:d8:93:66
[ 2753.356340] wlp2s0: send auth to 04:cf:8c:d8:93:66 (try 1/3)
[ 2753.403517] wlp2s0: authenticated
[ 2753.406687] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 1/3)
[ 2753.509852] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 2/3)
[ 2753.613206] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 3/3)
[ 2753.716506] wlp2s0: association with 04:cf:8c:d8:93:66 timed out
[ 2758.699677] wlp2s0: authenticate with 04:cf:8c:d8:93:66
[ 2758.746743] wlp2s0: send auth to 04:cf:8c:d8:93:66 (try 1/3)
[ 2758.794200] wlp2s0: authenticated
[ 2758.796360] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 1/3)
[ 2758.899715] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 2/3)
[ 2759.006438] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 3/3)
[ 2759.109709] wlp2s0: association with 04:cf:8c:d8:93:66 timed out
[ 2764.481254] wlp2s0: authenticate with 04:cf:8c:d8:93:66
[ 2764.528233] wlp2s0: send auth to 04:cf:8c:d8:93:66 (try 1/3)
[ 2764.576766] wlp2s0: authenticated
[ 2764.579495] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 1/3)
[ 2764.682766] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 2/3)
[ 2764.786141] wlp2s0: associate with 04:cf:8c:d8:93:66 (try 3/3)
[ 2764.889445] wlp2s0: association with 04:cf:8c:d8:93:66 timed out
[ 2766.248910] audit: type=1111 audit(1583069509.861:178): pid=741 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=device-disconnect interface=
"wlp2s0" ifindex=2 pid=1498 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[ 2766.310236] audit: type=1130 audit(1583069509.925:179): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher co
mm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2773.683637] audit: type=1111 audit(1583069517.298:180): pid=741 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=connection-activate uuid=178
1b37c-7ae6-4866-93c6-a2455b099f9d name="TP-LINK_A7BD" pid=1498 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success
'
[ 2777.037395] audit: type=1131 audit(1583069520.652:181): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher co
mm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2778.686230] wlp2s0: authenticate with f4:83:cd:a6:a7:bd
[ 2778.761896] wlp2s0: send auth to f4:83:cd:a6:a7:bd (try 1/3)
[ 2778.765755] wlp2s0: authenticated
[ 2778.772186] wlp2s0: associate with f4:83:cd:a6:a7:bd (try 1/3)
[ 2778.778214] wlp2s0: RX AssocResp from f4:83:cd:a6:a7:bd (capab=0x431 status=0 aid=6)
[ 2778.781227] wlp2s0: associated
[ 2778.781713] ath: EEPROM regdomain: 0x809c
[ 2778.781718] ath: EEPROM indicates we should expect a country code
[ 2778.781722] ath: doing EEPROM country->regdmn map search
[ 2778.781727] ath: country maps to regdmn code: 0x52
[ 2778.781733] ath: Country alpha2 being used: CN
[ 2778.781737] ath: Regpair used: 0x52
[ 2778.781742] ath: regdomain 0x809c dynamically updated by country element
[ 2778.936459] audit: type=1130 audit(1583069522.549:182): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher co
mm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

上面的日志看起来不大舒服,我做了截图给大家查看
FluxBB bbcode 测试

离线

#2 2020-03-08 12:23:48

matrikslee
会员
注册时间: 2017-04-21
帖子: 450
个人网站

Re: 某些特定的wifi无法连接

估计又是NetworkManger对MAC地址进行乱七八糟的操作导致的,你可以尝试改配置文件将MAC地址相关的feature disable掉。
参考这个帖子
https://bbs.archlinuxcn.org/viewtopic.php?id=10112

离线

#3 2020-03-08 20:00:10

peppacat0404
会员
注册时间: 2020-03-01
帖子: 2

Re: 某些特定的wifi无法连接

matrikslee 说:

估计又是NetworkManger对MAC地址进行乱七八糟的操作导致的,你可以尝试改配置文件将MAC地址相关的feature disable掉。
参考这个帖子
https://bbs.archlinuxcn.org/viewtopic.php?id=10112

我尝试了你的回答中引用zhihu专栏里修改/etc/NetworkManager/conf.d 的方法,没有效果。
你后来提到的有关wifi MAC地址部分,我在wifi manager的gui上只看到了“复制MAC地址”选项,旁边有个“随机”按钮,点击后会生成随机MAC地址,这个也不管用。
另外受到你贴出的帖子的启发,我发现networkmanager在正常运行,但是其日志是空的:

➜  ~ journalctl -b -u NetworkMananger.service 
-- Logs begin at Fri 2020-02-28 23:23:43 CST, end at Sun 2020-03-08 19:57:54 CST. --
-- No entries --
➜  ~  systemctl --type=service
NetworkManager.service                                                                    loaded active running Network Manager 

这样是否是不正常的呢?

离线

页脚