Skip to content

Instantly share code, notes, and snippets.

@vmayoral
Created November 15, 2013 13:10
Show Gist options
  • Save vmayoral/7484098 to your computer and use it in GitHub Desktop.
Save vmayoral/7484098 to your computer and use it in GitHub Desktop.
Connecting to eduroam using the BBB
network={
ssid="eduroam"
scan_ssid=1
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="mypass"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
What I'm getting is:
Initializing interface 'wlan0' conf './wireless-eduroam.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file './wireless-eduroam.conf' -> '/home/root/network/wifi/./wireless-eduroam.conf'
Reading configuration file '/home/root/network/wifi/./wireless-eduroam.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=7):
65 64 75 72 6f 61 6d eduroam
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x1
pairwise: 0x8
group: 0x8
eap methods - hexdump(len=16): 00 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00
identity - hexdump_ascii(len=25):
76 2e 6d 61 79 6f 72 61 6c 40 61 6c 75 6d 6e 6f v.mayoral@alumno
73 2e 75 72 6a 63 2e 65 73 s.urjc.es
password - hexdump_ascii(len=6): [REMOVED]
phase1 - hexdump_ascii(len=11):
70 65 61 70 6c 61 62 65 6c 3d 30 peaplabel=0
phase2 - hexdump_ascii(len=13):
61 75 74 68 3d 4d 53 43 48 41 50 56 32 auth=MSCHAPV2
Priority group 0
id=0 ssid='eduroam'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
ioctl[SIOCSIWAP]: Operation not permitted
WEXT: Failed to clear BSSID selection on disconnect
netlink: Operstate: linkmode=1, operstate=5
wlan0: Own MAC address: ec:1a:59:d4:b4:55
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
wlan0: Added interface wlan0
Daemonize..
reading the kernel dump i get this additional information:
[ 2393.765981] IW_SCAN_THIS_ESSID, ssid=eduroam, len=7
[ 2395.094205] survey done event(f)
[ 2395.098434] wpa_set_auth_algs, AUTH_ALG_OPEN_SYSTEM
[ 2395.098497] set_mode = IW_MODE_INFRA
[ 2395.103351]
[ 2395.103351] wpa_ie(length:24):
[ 2395.103410] 0xdd 0x16 0x00 0x50 0xf2 0x01 0x01 0x00
[ 2395.103444] 0x00 0x50 0xf2 0x02 0x01 0x00 0x00 0x50
[ 2395.103478] 0xf2 0x02 0x01 0x00 0x00 0x50 0xf2 0x01
[ 2395.104792] =>rtw_wx_set_essid
[ 2395.104831] ssid=eduroam, len=7
[ 2395.104905] Set SSID under fw_state=0x00000008
[ 2395.104963] [by_bssid:0][assoc_ssid:eduroam][to_roaming:0] new candidate: eduroam(00:17:c5:06:a6:4f) rssi:-90
[ 2395.105003] rtw_select_and_join_from_scanned_queue: candidate: eduroam(00:17:c5:06:a6:4f)
[ 2395.105142] link to new AP
[ 2395.105180] <=rtw_wx_set_essid, ret 0
[ 2395.110971] Set BSSID under fw_state=0x00000088
[ 2398.499387] link to new AP
[ 2398.499447] issue_deauth to 00:17:c5:06:a6:4f
[ 2398.796894] link_timer_hdl: auth timeout and try again
[ 2399.095722] link_timer_hdl: auth timeout and try again
[ 2399.394577] report_join_res(-1)
[ 2399.396537] _rtw_join_timeout_handler, fw_state=8
[ 2399.396703] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment