Please excuse the delay in testing.
So I haven’t had any luck connecting to my main network (WPA3) or my guest network (WPA2/WPA3) using connmanctl
1.41-0 on my Vero 4k. However I have no issues connecting to the hotspot on my android phone (WPA2). The Vero is still the only device having issues connecting.
I’ve been using dmseg
for debugging as I’m not sure how to enable debugging on connmanctl
itself. I do the following;
$ connmanctl
connmanctl > scan wifi
connmanctl > agent on
connmanctl > services
My SSID Name wifi_numbers_numbers_managed_psk
connmanctl > connect wifi_numbers_numbers_managed_psk
Agent RequestInput wifi_numbers_numbers_managed_psk
Passphrase? myalphanumericpassphrase
Agent ReportError wifi_numbers_numbers_managed_psk
connect-failed
Agent request cancelled by ConnMan
Error /net/connman/service/wifi_numbers_numbers_managed_psk: Input/output error
And in dmesg
is see the following;
[ 3664.056203] wl_run_escan: LEGACY_SCAN sync ID: 73, bssidx: 0
[ 3668.427813] Connecting with xx.xx.xx.xx.xx.xx ssid "My SSID Name", len (20) channel=2
[ 3668.429749] dhd_dbg_start_pkt_monitor, 1724
[ 3668.555129] wl_iw_event: Link UP with xx.xx.xx.xx.xx.xx
[ 3668.555188] wl_bss_connect_done succeeded with xx.xx.xx.xx.xx.xx
[ 3668.576559] CFG80211-ERROR) wl_cfg80211_add_key : WLC_SET_KEY error (-8)
[ 3668.577524] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 1
[ 3668.577575] dhd_dbg_stop_pkt_monitor, 1963
[ 3668.580155] wl_iw_event: Link Down with xx.xx.xx.xx.xx.xx, reason=2
[ 3668.580431] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 3668.580754] link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from xx.xx.xx.xx.xx.xx
[ 3668.580849] dhd_dbg_stop_pkt_monitor, 1963
[ 3668.583581] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
[ 3668.650191] CFG80211-ERROR) wl_cfg80211_del_key : WLC_SET_KEY error (-8)
[ 3668.651599] CFG80211-ERROR) wl_cfg80211_del_key : WLC_SET_KEY error (-8)
[ 3668.658133] CFG80211-ERROR) wl_cfg80211_del_key : WLC_SET_KEY error (-8)
[ 3668.659757] CFG80211-ERROR) wl_cfg80211_del_key : WLC_SET_KEY error (-8)
[ 3668.779990] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
[ 3668.980995] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
[ 3669.382955] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH
And iwconfig
, although obviously not connected
wlan0 IEEE 802.11 ESSID:""
Mode:Master Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:96 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=-2 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
In the logs of my router I have this when the connection fails
Feb 23 20:50:20 wlceventd: wlceventd_proc_event(505): wl0.2: Auth xx.xx.xx.xx.xx.xx, status: Successful (0)
Feb 23 20:50:20 hostapd: wl0.2: STA xx.xx.xx.xx.xx.xx IEEE 802.11: associated
Feb 23 20:50:20 wlceventd: wlceventd_proc_event(534): wl0.2: Assoc xx.xx.xx.xx.xx.xx, status: Successful (0)
Feb 23 20:50:20 kernel: CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set
Feb 23 20:50:20 hostapd: wl0.2: STA xx.xx.xx.xx.xx.xx RADIUS: starting accounting session 28794BED8421390A
Feb 23 20:50:20 hostapd: wl0.2: STA xx.xx.xx.xx.xx.xx WPA: pairwise key handshake completed (RSN)
Feb 23 20:50:21 kernel: wl0: random key value: 1C81CCA5B516180A729E032D4C8A993A3EB85AA12B9504E40C4D664D1C18E0A2
Feb 23 20:50:21 wlceventd: wlceventd_proc_event(469): wl0.2: Deauth_ind xx.xx.xx.xx.xx.xx, status: 0, reason: Station requesting (re)association is not authenticated with responding station (9)
Feb 23 20:50:21 wlceventd: wlceventd_proc_event(486): wl0.2: Disassoc xx.xx.xx.xx.xx.xx, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
Feb 23 20:50:21 hostapd: wl0.2: STA xx.xx.xx.xx.xx.xx IEEE 802.11: disassociated
I’m not sure if these logs are sufficient, so let me know how I can enable debugging, or find more logs.