I think this is more investigative based on an outstanding question from offline conversation.
The setup in the logs below is configured for network Wright 2.4, however there is a Wright SSID as well (which is the 5ghz) and the devices ability to connect to the expected network seems indeterminate and unstable (i.e. It works sometimes, or produces logs like this at other times without connecting)
It seems like there could be an issue here with spaces in the SSID, but needs to be investigated and behavior validated
I think this is more investigative based on an outstanding question from offline conversation.
The setup in the logs below is configured for network
Wright 2.4
, however there is aWright
SSID as well (which is the 5ghz) and the devices ability to connect to the expected network seems indeterminate and unstable (i.e. It works sometimes, or produces logs like this at other times without connecting)It seems like there could be an issue here with spaces in the SSID, but needs to be investigated and behavior validated
SSID with spaces failure log
``` 00:01:48.627 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:01:48.629 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:01:48.630 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:01:54.264 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:01:54.267 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:01:54.268 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:01:59.884 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:01:59.886 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:01:59.887 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:05.510 [debug] wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="Wright 2.4" 00:02:05.511 [debug] wpa_supplicant: wlan0: Trying to associate with SSID 'Wright 2.4' 00:02:05.522 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-SSID-REENABLED", %{"id" => "1", "ssid" => "Wright"}} 00:02:05.526 [info] wpa_supplicant(wlan0): Trying to associate with SSID 'Wright 2.4' 00:02:06.157 [debug] wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16 00:02:06.157 [debug] wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="Wright 2.4" auth_failures=4 duration=60 reason=CONN_FAILED 00:02:06.167 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-ASSOC-REJECT", "00:00:00:00:00:00", %{"status_code" => "16"}} 00:02:06.190 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-SSID-TEMP-DISABLED", %{"auth_failures" => "4", "duration" => "60", "id" => "1", "reason" => "CONN_FAILED", "ssid" => "Wright"}} 00:02:16.788 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:22.413 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:28.044 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:28.058 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:28.060 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} iex(livebook@nerves-f6c8.local)5> VintageNet.info VintageNet 0.11.1 All interfaces: ["lo", "usb0", "wlan0"] Available interfaces: [] Interface usb0 Type: VintageNetDirect Present: true State: :configured (0:08:11) Connection: :lan (0:08:11) Addresses: fe80::fc3b:63ff:fedb:528e/64, 172.31.31.13/30 Configuration: %{type: VintageNetDirect} Interface wlan0 Type: VintageNetWiFi Present: true State: :configured (0:08:11) Connection: :disconnected (0:05:37) Addresses: fe80::ba27:ebff:fe3f:a39d/64 Configuration: %{ ipv4: %{method: :dhcp}, type: VintageNetWiFi, vintage_net_wifi: %{ networks: [ %{ key_mgmt: :wpa_psk, mode: :infrastructure, psk: "....", ssid: "kabellos" }, %{ key_mgmt: :wpa_psk, mode: :infrastructure, psk: "....", ssid: "Wright 2.4" }, %{ key_mgmt: :wpa_psk, mode: :infrastructure, psk: "....", ssid: "nerves" } ] } } :ok 00:02:33.683 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:33.698 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:33.700 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:39.323 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:39.338 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:39.340 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:44.962 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:44.977 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:44.978 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:50.602 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:50.617 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:50.618 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:02:56.244 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:02:56.258 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:02:56.260 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:01.886 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:01.889 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:01.890 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:07.522 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:07.525 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:07.526 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:13.154 [debug] wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="Wright 2.4" 00:03:13.164 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-SSID-REENABLED", %{"id" => "1", "ssid" => "Wright"}} 00:03:13.189 [debug] wpa_supplicant: wlan0: Trying to associate with SSID 'Wright 2.4' 00:03:13.194 [info] wpa_supplicant(wlan0): Trying to associate with SSID 'Wright 2.4' 00:03:13.802 [debug] wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16 00:03:13.803 [debug] wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="Wright 2.4" auth_failures=5 duration=60 reason=CONN_FAILED 00:03:13.813 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-ASSOC-REJECT", "00:00:00:00:00:00", %{"status_code" => "16"}} 00:03:13.834 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-SSID-TEMP-DISABLED", %{"auth_failures" => "5", "duration" => "60", "id" => "1", "reason" => "CONN_FAILED", "ssid" => "Wright"}} 00:03:24.437 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:30.066 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:35.701 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:35.716 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:35.718 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:41.341 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:41.356 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:41.357 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:46.979 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:46.991 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:46.994 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:52.618 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:52.631 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:52.634 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:03:58.258 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:03:58.272 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:03:58.275 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:04:03.898 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:04:03.910 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:04:03.912 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} 00:04:09.523 [debug] wpa_supplicant: wlan0: Failed to initiate sched scan 00:04:09.537 [info] wpa_supplicant(wlan0): Failed to initiate sched scan 00:04:09.539 [info] WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"} ```