I have a couple different access points with different names. One works OK and connects after entering the password, but the other one simply never connects. The only real difference between the two is that the password for the one that doesn't work contains an apostrophe (the working one is just letters and spaces with no special characters).
Relevant logs that come up with diagnostics on, immediately after submitting the password with an apostrophe in it:
[INFO] Setting network SSID...
OK
[INFO] Setting network password...
sh: syntax error: unterminated quoted string
[INFO] Saving network configuration...
OK
Full logs immediately after turning on Wifi:
[INFO] turning wifi on...
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiScan: Starting WiFi scan...
OK
[INFO] PLAT_wifiScan: Waiting 2s for scan to complete...
[INFO] PLAT_wifiScan: Retrieving scan results...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 scan_results 2>/dev/null
[INFO] Command exit code: 0
[INFO] bssid / frequency / signal level / flags / ssid
3c:84:6a:42:1f:03 2427 -54 [WPA2-PSK-CCMP+TKIP][WPS][ESS] wu-tang-lan
b8:3e:59:15:cf:4f 2462 -52 [WPA2-PSK-CCMP][WPS][ESS][P2P] \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
b0:a7:37:76:3b:8b 2462 -57 [WPA2-PSK-CCMP][WPS][ESS][P2P] \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
b4:fb:e4:91:5a:23 2462 -58 [WPA2-PSK-CCMP][ESS] half-life-3-confirmed
ba:fb:e4:91:5a:23 2462 -58 [WPA2-PSK-CCMP][ESS] cheesus-take-the-wheel
be:fb:e4:91:5a:23 2462 -58 [WPA2-PSK-CCMP][ESS]
28:94:01:43:98:18 2422 -60 [WPA2-PSK-CCMP][WPS][ESS] CrossFi
2e:94:01:43:98:18 2422 -60 [WPA2--CCMP][ESS] NTGRBH_2894013EBE22
36:94:01:43:98:18 2422 -60 [WPA2-PSK-CCMP][ESS] ORBI48-IoT
32:94:01:43:98:18 2422 -60 [WPA2-PSK-CCMP][ESS] CrossFi-Guest
f4:92:bf:84:0a:52 2462 -61 [WPA2-PSK-CCMP][ESS] half-life-3-confirmed
f6:92:bf:94:0a:52 2462 -61 [WPA2-PSK-CCMP][ESS] cheesus-take-the-wheel
50:91:e3:1d:b3:40 2417 -67 [WPA2-[WARN] Ignoring network be:fb:e4:91:5a:23 with empty SSID
[INFO] PLAT_wifiScan: Found 13 networks
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 list_networks 2>/dev/null
[INFO] Command exit code: 0
[INFO] LIST:
network id / ssid / bssid / flags
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 list_networks 2>/dev/null
[INFO] Command exit code: 0
[INFO] LIST:
network id / ssid / bssid / flags
Full logs after entering the password with an apostrophe:
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiConnectPass: Attempting to connect to SSID 'half-life-3-confirmed' (security=2)
[INFO] wifi_find_network_id: Looking for network 'half-life-3-confirmed'...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 list_networks 2>/dev/null
[INFO] Command exit code: 0
[INFO] wifi_find_network_id: Network 'half-life-3-confirmed' not found
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 add_network 2>/dev/null
[INFO] Command exit code: 0
[INFO] Added new network with id 0
[INFO] Setting network SSID...
OK
[INFO] Setting network password...
sh: syntax error: unterminated quoted string
[INFO] Saving network configuration...
OK
[INFO] Enabling and selecting network 0...
OK
OK
[INFO] Waiting for connection (up to 5 seconds)...
[INFO] PLAT_wifiConnection: Retrieving connection details...
[INFO] Running command: wpa_cli -p /etc/wifi/sockets -i wlan0 status 2>/dev/null
[INFO] Command exit code: 0
[INFO] PLAT_wifiConnection: Not connected
[INFO] PLAT_wifiScan: Starting WiFi scan...
OK
I have a couple different access points with different names. One works OK and connects after entering the password, but the other one simply never connects. The only real difference between the two is that the password for the one that doesn't work contains an apostrophe (the working one is just letters and spaces with no special characters).
Relevant logs that come up with diagnostics on, immediately after submitting the password with an apostrophe in it:
Full logs immediately after turning on Wifi:
Full logs after entering the password with an apostrophe: