Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4152 - ap + sta wpa_supplicant fail to connect if wrong config #9138

Open
openwrt-bot opened this issue Nov 23, 2021 · 0 comments
Open

FS#4152 - ap + sta wpa_supplicant fail to connect if wrong config #9138

openwrt-bot opened this issue Nov 23, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Nov 23, 2021

ptpt52:

  1. setup wireless AP + STA, and STA connect ok
  2. change /etc/config/wireless and set the STA password key to '' then /etc/init.d/network reload
  3. again change /etc/config/wireless and set STA password key to the correct password
  4. /etc/init.d/network reload, STA would never works again.

logread:

Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-DISCONNECTED bssid=bc:1a:e4:3f:77:74 reason=3 locally_generated=1 Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]: Failed to stop hostapd AP interfaces Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]: Failed to stop hostapd AP interfaces Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: Invalid passphrase length 0 (expected: 8..63) '"'. Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: failed to parse psk '""'. Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 11: failed to parse network block. Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf'. Tue Nov 23 19:53:54 2021 daemon.notice netifd: radio0 (7740): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process path (/proc/exe) Tue Nov 23 19:54:44 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1 Tue Nov 23 19:54:45 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1 Tue Nov 23 19:54:46 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1 Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz) Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Authentication request to the driver failed Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz) Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: Trying to associate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz) Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Associated with bc:1a:e4:3f:77:74 Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37 Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: WPA: Key negotiation completed with bc:1a:e4:3f:77:74 [PTK=CCMP GTK=CCMP] Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-CONNECTED - Connection to bc:1a:e4:3f:77:74 completed [id=0 id_str=] Tue Nov 23 19:54:51 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37 Tue Nov 23 20:00:58 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00 Tue Nov 23 20:03:17 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00 Tue Nov 23 20:06:48 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-10082\x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant