Below command helps to troubleshoot if any issues with Wi-Fi uplink:
- "Show wifi-uplink status" command would help to check the status of the W-Fi uplink. As we see in the below image, the connection is enabled and in running state.
This can verified from GUI as well. Open Instant GUI and login with admin credentials.
"show wifi-uplink auth" shows the auth log of IAP's association to Wi-Fi uplink.
IAP-MASTER# show wifi-uplink auth
----------------------------------------------------------------------
wifi uplink auth configuration:
----------------------------------------------------------------------
ctrl_interface=/tmp/sta_supplicant_ctrl
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="AndroidAP"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="twjc1652"
priority=9
}
----------------------------------------------------------------------
wifi uplink auth log:
----------------------------------------------------------------------
[1096]2000-01-01 00:00:47.192: Global control interface '/tmp/supp_gbl'
[1096]2000-01-01 04:09:49.022: CTRL_IFACE GLOBAL INTERFACE_REMOVE 'aruba101'
[1096]2000-01-01 04:09:49.022: CTRL_IFACE GLOBAL INTERFACE_ADD 'aruba101 /aruba/bin/wpa_sta_supplicant.conf madwifi "Androi
[1096]2000-01-01 04:09:49.224: wpa_supplicant_add_iface 2626 wifi-uplink
[1096]2000-01-01 04:09:49.225: wpa_sapd_socket_init 2889
[1096]2000-01-01 04:09:49.225: wpa_sapd_socket_tx_radio_used 2948
[1096]2000-01-01 04:09:50.026: RX ctrl_iface - hexdump_ascii(len=11):
52 45 43 4f 4e 46 49 47 55 52 45 RECONFIGURE
[1096]2000-01-01 04:09:50.219: State: DISCONNECTED -> SCANNING
[1096]2000-01-01 04:09:50.219: Scan results: 0
[1096]2000-01-01 04:09:53.442: Scan results: 1
[1096]2000-01-01 04:09:53.443: Trying to associate with 38:aa:3c:39:8e:8b (SSID='AndroidAP' freq=2437 MHz)
[1096]2000-01-01 04:09:53.443: keys cleared. Forcing clear again
[1096]2000-01-01 04:09:53.443: State: SCANNING -> ASSOCIATING
[1096]2000-01-01 04:09:53.467: Calling w_s_initiate_eapol
[1096]2000-01-01 04:09:53.477: wpa_supplicant_event_assoc: 00:00:00:00:00:00
[1096]2000-01-01 04:09:53.477: State: ASSOCIATING -> ASSOCIATED
[1096]2000-01-01 04:09:53.477: wpa_sapd_socket_tx_radio_channel 2986
[1096]2000-01-01 04:09:53.477: Associated to a new BSS: BSSID=38:aa:3c:39:8e:8b
[1096]2000-01-01 04:09:53.477: keys cleared. Forcing clear again
[1096]2000-01-01 04:09:53.477: Associated with 38:aa:3c:39:8e:8b
[1096]2000-01-01 04:09:53.478: WPA: Association event - clear replay counter
[1096]2000-01-01 04:09:53.519: IEEE 802.1X RX: version=2 type=3 length=95
[1096]2000-01-01 04:09:53.519: EAPOL-Key type=2
[1096]2000-01-01 04:09:53.519: key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise A
[1096]2000-01-01 04:09:53.519: replay_counter - hexdump(len=8): 00 00 00 00 00
[1096]2000-01-01 04:09:53.519: key_nonce - hexdump(len=32): 34 24 42 77 b4 25
[1096]2000-01-01 04:09:53.519: key_iv - hexdump(len=16): 00 00 00 00 00 00 00
[1096]2000-01-01 04:09:53.520: State: ASSOCIATED -> 4WAY_HANDSHAKE
[1096]2000-01-01 04:09:53.520: WPA: RX message 1 of 4-Way Handshake from 38:aa:3
[1096]2000-01-01 04:09:53.520: l2_packet_send:l=121 p=0x888e
[1096]2000-01-01 04:09:53.520: Sending fd=7 L=153
[1096]2000-01-01 04:09:53.526: IEEE 802.1X RX: version=2 type=3 length=151
[1096]2000-01-01 04:09:53.526: EAPOL-Key type=2
[1096]2000-01-01 04:09:53.526: key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise
[1096]2000-01-01 04:09:53.526: replay_counter - hexdump(len=8): 00 00 00 00 00
[1096]2000-01-01 04:09:53.526: key_nonce - hexdump(len=32): 34 24 42 77 b4 25
[1096]2000-01-01 04:09:53.527: key_iv - hexdump(len=16): 00 00 00 00 00 00 00
[1096]2000-01-01 04:09:53.527: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
[1096]2000-01-01 04:09:53.527: WPA: RX message 3 of 4-Way Handshake from 38:aa:3
[1096]2000-01-01 04:09:53.527: l2_packet_send:l=99 p=0x888e
[1096]2000-01-01 04:09:53.528: Sending fd=7 L=131
[1096]2000-01-01 04:09:53.528: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
[1096]2000-01-01 04:09:53.528: WPA: Key negotiation completed with 38:aa:3c:39:8
[1096]2000-01-01 04:09:53.528: State: GROUP_HANDSHAKE -> COMPLETED
[1096]2000-01-01 04:09:53.529: CTRL-EVENT-CONNECTED - Connection to 38:aa:3c:39:
[1096]2000-01-01 04:09:53.529: inform_wifi_uplink_status 632 informing wifi-up
Therefore based on the stages, we can identify where the connection is stuck and resolve the problem.