Networking

無法連接到網路,得到 2=PREV_AUTH_NOT_VALID

  • January 10, 2020

驗證網路與手機和另一台電腦正常工作。

使用聯想“Centrino Advanced-N 6205

$$ Taylor Peak $$”。不知道該去哪裡。有什麼想法嗎? 是的,筆記型電腦中的 wifi 卡適用於我需要連接的所有其他網路。

路由器正在執行 LEDE。執行接入點的無線電位於通道:11 (2.462 GHz)。僅在打開加密時才會出現問題。我認為問題出在wpa_supplicant. 我用 WPA2 連接到大量的接入點就好了。這個特定的接入點不工作。它不需要我非常簡單的密碼。使用nm-applet我可以以純文字形式查看密碼。顯然是對的。

問題日誌

核心日誌

[   21.304460] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   21.311387] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   21.311489] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[   21.595334] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   21.602275] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   21.602374] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[   21.690105] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   24.893663] wlp3s0: authenticate with 08:02:8e:9b:b1:61
[   24.898592] wlp3s0: send auth to 08:02:8e:9b:b1:61 (try 1/3)
[   24.901900] wlp3s0: authenticated
[   24.905380] wlp3s0: associate with 08:02:8e:9b:b1:61 (try 1/3)
[   24.909189] wlp3s0: RX AssocResp from 08:02:8e:9b:b1:61 (capab=0x431 status=0 aid=1)
[   24.928312] wlp3s0: associated
[   24.928359] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[   28.016926] wlp3s0: deauthenticated from 08:02:8e:9b:b1:61 (Reason: 2=PREV_AUTH_NOT_VALID)
[   31.243868] wlp3s0: authenticate with 08:02:8e:9b:b1:61
[   31.247566] wlp3s0: send auth to 08:02:8e:9b:b1:61 (try 1/3)
[   31.251159] wlp3s0: authenticated
[   31.256392] wlp3s0: associate with 08:02:8e:9b:b1:61 (try 1/3)
[   31.260004] wlp3s0: RX AssocResp from 08:02:8e:9b:b1:61 (capab=0x431 status=0 aid=1)
[   31.284002] wlp3s0: associated
[   34.365770] wlp3s0: deauthenticated from 08:02:8e:9b:b1:61 (Reason: 2=PREV_AUTH_NOT_VALID)
[   37.592904] wlp3s0: authenticate with 08:02:8e:9b:b1:61
[   37.595965] wlp3s0: send auth to 08:02:8e:9b:b1:61 (try 1/3)
[   37.599821] wlp3s0: authenticated
[   37.603457] wlp3s0: associate with 08:02:8e:9b:b1:61 (try 1/3)
[   37.607156] wlp3s0: RX AssocResp from 08:02:8e:9b:b1:61 (capab=0x431 status=0 aid=1)
[   37.626600] wlp3s0: associated
[   40.714220] wlp3s0: deauthenticated from 08:02:8e:9b:b1:61 (Reason: 2=PREV_AUTH_NOT_VALID)
[   43.941785] wlp3s0: authenticate with 08:02:8e:9b:b1:61
[   43.945306] wlp3s0: send auth to 08:02:8e:9b:b1:61 (try 1/3)
[   43.948990] wlp3s0: authenticated
[   43.950510] wlp3s0: associate with 08:02:8e:9b:b1:61 (try 1/3)
[   43.954192] wlp3s0: RX AssocResp from 08:02:8e:9b:b1:61 (capab=0x431 status=0 aid=1)
[   43.973663] wlp3s0: associated
[   46.964852] wlp3s0: deauthenticating from 08:02:8e:9b:b1:61 by local choice (Reason: 3=DEAUTH_LEAVING)
[   60.846793] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready

路由器 (LED)

從帶有 LEDE 的 AP 端,我看到了這個,

Fri Aug 11 02:57:13 2017 daemon.info hostapd: wlan1: STA 08:11:96:3f:05:5c IEEE 802.11: authenticated
Fri Aug 11 02:57:13 2017 daemon.info hostapd: wlan1: STA 08:11:96:3f:05:5c IEEE 802.11: associated (aid 1)
Fri Aug 11 02:57:21 2017 daemon.info hostapd: wlan1: STA 08:11:96:3f:05:5c IEEE 802.11: deauthenticated due to local deauth request

wpa_supplicant 2.4 股票(Ubuntu 16.10)

wpa_cli,我得到,這個

<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE-AUTH 
<3>SME: Trying to authenticate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2462 MHz)
<3>Trying to associate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2462 MHz)
<3>Associated with 08:02:8e:9b:b1:61
<3>CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
<3>CTRL-EVENT-DISCONNECTED bssid=08:02:8e:9b:b1:61 reason=2
<3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD

那是一堆,然後以

<3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="EvanCarroll" auth_failures=2 duration=20 reason=WRONG_KEY
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="EvanCarroll" auth_failures=3 duration=30 reason=CONN_FAILED
<3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD

wpa_supplicant 2.6

建構一個新版本的 wpa_supplicant 只是為了測試。不用找了。

Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2432 MHz)
wlp3s0: Trying to associate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2432 MHz)
wlp3s0: Associated with 08:02:8e:9b:b1:61
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=08:02:8e:9b:b1:61 reason=2
wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlp3s0: SME: Trying to authenticate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2432 MHz)
wlp3s0: Trying to associate with 08:02:8e:9b:b1:61 (SSID='EvanCarroll' freq=2432 MHz)
wlp3s0: Associated with 08:02:8e:9b:b1:61

外部連結

其中大部分只是出於我自己的目的,也可能與之相關

我不完全確定這是否解決了它,但可能值得嘗試升級您的 BIOS。從那以後我已經這樣做了,它現在似乎可以工作了。這也解決了一個奇怪的問題,我認為 wifi 卡會阻止系統暫停。

附帶說明一下,在我發表這篇文章時,我不知道英特爾版本的韌體 blob 核心執行。您可能想確保這是相對較新的..找出 blob 的版本可能是一項非次要任務

引用自:https://unix.stackexchange.com/questions/385364