Re: Is it possible to connect to Eduroam?
Posted: Mon Feb 08, 2016 7:41 am
Found this from you, Joost https://github.com/joostd/esp8266-eduroam . But I'm searching for an EduRoam sketch for the Arduino IDE. Did someone get it to work?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
zhenyuan992 wrote:I'm looking for a sketch too. I'm unsure of how to generate the certificate that is needed to sign into wpa2 enterprise network.
Any more information about the cert generation would be helpful. :D
bbe -e "s/anonymous@espressif.com\x00/martin_g@someuni.de\x00\x00\x00\x00\x00/" libwpa2.a > libwpa2patch.a
//wifi_station_set_enterprise_ca_cert(ca_pem, ca_pem_len + 1); wifi_station_set_enterprise_username("martin_g@someuni.de", os_strlen("martin_g@someuni.de"));
wifi_station_set_enterprise_password("MyPassWD", os_strlen("MyPassWD"));
WPA2 ENTERPRISE VERSION: [v2.0] enable
mode : sta(xx:xx:xx:xx:xx:xx)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt
EAP-PEAP: received 37 bytes encrypted data for Phase 2
EAP-PEAP: received Phase 2: code=1 identifier=11 length=5
EAP-PEAP: Phase 2 Request: type=1
EAP-PEAP: received 69 bytes encrypted data for Phase 2
EAP-PEAP: received Phase 2: code=1 identifier=12 length=43
EAP-PEAP: Phase 2 Request: type=26
EAP-PEAP: Selected Phase 2 EAP vendor 0 method 26
EAP-MSCHAPV2: RX identifier 12 mschapv2_id 12
EAP-MSCHAPV2: Generate Challenge Response
EAP-PEAP: received 85 bytes encrypted data for Phase 2
EAP-PEAP: received Phase 2: code=1 identifier=13 length=51
EAP-PEAP: Phase 2 Request: type=26
EAP-MSCHAPV2: RX identifier 13 mschapv2_id 12
EAP-PEAP: received 37 bytes encrypted data for Phase 2
EAP-PEAP: received Phase 2: code=1 identifier=14 length=11
EAP-PEAP: Phase 2 Request: type=33
3fff1100 already freed
connected with eduroam, channel 6
dhcp client start...
[connect to ssid eduroam, channel 6]
ip:10.156.8.195,mask:255.255.255.0,gw:10.156.8.254
[ip:10.156.8.195,mask:255.255.255.0,gw:10.156.8.254]
pm open,type:2 0