自从我拥有 Macbook Pro (2015) 以来,它似乎总是存在这个问题,WiFi 可能(并且经常)需要很长时间才能连接到路由器。就在今天,我花了 8 分钟才连接到我的家用路由器。在尝试连接之前,我决定备份并移动 /var/log/ 文件夹中的 wifi.log 文件,然后在连接后立即复制该文件。通过查看文件,我无法找出问题所在。以下是日志文件的内容:
Mon Mar 5 21:05:48.367 <kernel> en0: Terminating supplicant.
Mon Mar 5 21:05:48.367 <kernel> RSNSupplicant: Releasing authenticator for b0:39:56:8b:ad:7b
Mon Mar 5 21:05:48.367 <kernel> parseRSNIE: groupCipherType = 5 pairwiseCipherType = 5 authSel = 2
Mon Mar 5 21:05:48.367 <kernel> initWithInterfaceAndIE: _myMacAddress d0:a6:37:e9:df:81
Mon Mar 5 21:05:48.367 <kernel> setPMK: PMK SET!
Mon Mar 5 21:05:48.534 <kernel> Unexpected payload found for message 9, dataLen 0
Mon Mar 5 21:05:48.534 <kernel> en0: Received EAPOL packet (length = 113)
Mon Mar 5 21:05:48.534 <kernel> inputEAPOLFrame: 0 extra bytes present in EAPOL frame.
Mon Mar 5 21:05:48.534 <kernel> inputEAPOLFrame: Received message 1 of 4
Mon Mar 5 21:05:48.534 <kernel> FULL RSN IE FOUND:
Mon Mar 5 21:05:48.534 [00000000] 30 14 01 00 00 0F AC 04 01 00 00 0F AC 04 01 00 00 0F AC 02 00 00
Mon Mar 5 21:05:48.534 <kernel> storeFullRSNIE: getAP_IE_LIST returned 0
Mon Mar 5 21:05:48.534 <kernel> PMK:
Mon Mar 5 21:05:48.534 [00000000] 87 6B 39 88 D2 DE 1E EE C1 D1 FC 06 08 56 0C C1 91 6A DF 33 EF 88 16 F8 8F 50 15 EF 68 0C
Mon Mar 5 21:05:48.535 [0000001E] 89 70
Mon Mar 5 21:05:48.535 <kernel> TPTK:
Mon Mar 5 21:05:48.535 [00000000] EA 1E C9 2A A4 0C 58 46 80 D7 FE E3 4C DB A7 44 11 7A 72 B7 A6 CA 36 8E 21 7C A7 2C 08 3E
Mon Mar 5 21:05:48.535 [0000001E] 62 3A D9 65 98 F8 3C DC E6 18 31 0C 68 AA 55 4C 09 E1 00 00 00 00 00 00 00 00 00 00 00 00
Mon Mar 5 21:05:48.535 [0000003C] 00 00 00 00
Mon Mar 5 21:05:48.535 <kernel> KEY MIC:
Mon Mar 5 21:05:48.535 [00000000] 9C F7 31 96 61 80 0A 02 A4 52 D1 58 D2 DB D3 A1
Mon Mar 5 21:05:48.535 <kernel> process1of4: sending replyPacket 135 bytes
Mon Mar 5 21:05:48.539 <kernel> en0: Received EAPOL packet (length = 169)
Mon Mar 5 21:05:48.539 <kernel> inputEAPOLFrame: 0 extra bytes present in EAPOL frame.
Mon Mar 5 21:05:48.539 <kernel> inputEAPOLFrame: decrypting key data
Mon Mar 5 21:05:48.539 <kernel> inputEAPOLFrame: Received message 3 of 4
Mon Mar 5 21:05:48.539 <kernel> process3of4: Performing IE check.
Mon Mar 5 21:05:48.539 <kernel> process3of4: sending replyPacket ( len = 113 ).
Mon Mar 5 21:05:48.539 <kernel> process3of4: received pairwise GTK
Mon Mar 5 21:05:48.539 <kernel> ptkThread: Sleeping!
Mon Mar 5 21:05:48.540 <kernel> ptkThread: Installing PTK!
Mon Mar 5 21:05:48.540 <kernel> PTK:
Mon Mar 5 21:05:48.540 [00000000] D9 65 98 F8 3C DC E6 18 31 0C 68 AA 55 4C 09 E1
Mon Mar 5 21:05:48.541 <kernel> ptkThread: Installing GTK!
Mon Mar 5 21:05:48.541 <kernel> installGTK: setting cipher key (flags = 0x0)
Mon Mar 5 21:05:48.541 <kernel> GTK-RSC:
Mon Mar 5 21:05:48.541 [00000000] 00 00 00 00 00 00
Mon Mar 5 21:05:48.541 <kernel> GTK:
Mon Mar 5 21:05:48.541 [00000000] 5B 61 1D 29 9D 6F 02 EE DF 44 01 32 7D BF 07 1A
Mon Mar 5 21:05:48.541 <kernel> installGTK: GTK installed
Mon Mar 5 21:13:31.212 <airportd[165]> _processIPv4Changes: ARP/NDP offloads disabled, not programming the offload
Mon Mar 5 21:13:31.228 <airportd[165]> _processIPv4Changes: ARP/NDP offloads disabled, not programming the offload
如果上述文件无法帮助识别问题,我还能做些什么来调试此问题?请注意,在其他操作系统(Windows、Ubuntu、iOS、Android)的任何其他设备上都没有此问题。