自從我擁有 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)的任何其他裝置上都沒有遇到此問題。