Search Discussions:
Advanced Search...
Welcome to Nokia Support Discussions! Here you can share advice and tips with thousands of other Nokia users around the world in English. Many Nokia employees also follow and participate in the discussions, see our guidelines for more information. Everyone can search and read the discussions, but to post your own question or reply to others, simply sign in with your Nokia account. If this is your first time here, you can choose an alias to represent you. And if you don't have a Nokia account yet, please register.
Reply

Nokia N9 now connects with 802.1X PEAP network wit...

Advisor
Nomz
Posts: 22

Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

Finally my nokia can now connect with 802.1x enterprise network with wpa_supplicant. however there is no gui support and all the process has to be done from terminal through command line. Wondering someone could integrate it with gui. Great phone but no love from nokia.

Please use plain text.
Advisor
pedro_lane
Posts: 16

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

Great news !

 

Could you please post some notes on how-to do it ?

This could helper other users, perhaps with other EAP methods (EAP-SIM EAP-TLS etc)

 

Integrate it into the Gui is not an easy task. However an additionnal application might do the job, depending on how complex it is ...

 

Thx

Please use plain text.
Advisor
Nomz
Posts: 22

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

Below is the official link of wpa_supplicant source code: http://hostap.epitest.fi/wpa_supplicant/ Compile it with Harmattan sdk and copy the resultant wpa_supplicant to your /usr/bin. Then you have to make configuration file of your network and put it in you /etc/ execute the following commands #wpa_supplicant -B -Dwext -iwlan0 -c/etc/your_configuration_file.conf #/sbin/udhcpc -i wlan0 -s /etc/udhcpc/libicd_network_ipv4.script -H RM696 -f -R 15 & To stop the wpa_supplicant pkill wpa_supplicant pkill udhcpc Please inform me if you need detailed information regarding compiling. wpa_supplicant can connect to all networks of all types. Supported WPA/IEEE 802.11i features: - WPA-PSK ("WPA-Personal") - WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise") Following authentication methods are supported with an integrate IEEE 802.1X Supplicant: * EAP-TLS * EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1) * EAP-PEAP/TLS (both PEAPv0 and PEAPv1) * EAP-PEAP/GTC (both PEAPv0 and PEAPv1) * EAP-PEAP/OTP (both PEAPv0 and PEAPv1) * EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1) * EAP-TTLS/EAP-MD5-Challenge * EAP-TTLS/EAP-GTC * EAP-TTLS/EAP-OTP * EAP-TTLS/EAP-MSCHAPv2 * EAP-TTLS/EAP-TLS * EAP-TTLS/MSCHAPv2 * EAP-TTLS/MSCHAP * EAP-TTLS/PAP * EAP-TTLS/CHAP * EAP-SIM * EAP-AKA * EAP-PSK * EAP-PAX * EAP-SAKE * EAP-IKEv2 * EAP-GPSK * LEAP * EAP-MD5-Challenge * EAP-MSCHAPv2 * EAP-GTC * EAP-OTP - key management for CCMP, TKIP, WEP104, WEP40 - RSN/WPA2 (IEEE 802.11i) * pre-authentication * PMKSA caching
Please use plain text.
Advisor
Nomz
Posts: 22

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

Below is the official link of wpa_supplicant source code:

http://hostap.epitest.fi/wpa_supplicant/

Compile it with Harmattan sdk and copy the resultant wpa_supplicant binary to your /usr/bin. Then you have to make configuration file of your network and put it in you /etc/ execute the following commands

 

#wpa_supplicant -B -Dwext -iwlan0 -c/etc/your_configuration_file.conf

#/sbin/udhcpc -i wlan0 -s /etc/udhcpc/libicd_network_ipv4.script -H RM696 -f -R 15 &

 

To stop the wpa_supplicant

#pkill wpa_supplicant

#pkill udhcpc

 

Please inform me if you need detailed information regarding compiling.

wpa_supplicant can connect to all networks of all types.

 

Supported WPA/IEEE 802.11i features: - WPA-PSK ("WPA-Personal") - WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise") Following authentication methods are supported with an integrate IEEE 802.1X Supplicant:

* EAP-TLS

* EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1)

* EAP-PEAP/TLS (both PEAPv0 and PEAPv1)

* EAP-PEAP/GTC (both PEAPv0 and PEAPv1)

* EAP-PEAP/OTP (both PEAPv0 and PEAPv1)

* EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1)

* EAP-TTLS/EAP-MD5-Challenge

* EAP-TTLS/EAP-GTC

* EAP-TTLS/EAP-OTP

* EAP-TTLS/EAP-MSCHAPv2

* EAP-TTLS/EAP-TLS

* EAP-TTLS/MSCHAPv2

* EAP-TTLS/MSCHAP

* EAP-TTLS/PAP

* EAP-TTLS/CHAP

* EAP-SIM

* EAP-AKA

* EAP-PSK

* EAP-PAX

* EAP-SAKE

* EAP-IKEv2

* EAP-GPSK

* LEAP

* EAP-MD5-Challenge

* EAP-MSCHAPv2

* EAP-GTC

* EAP-OTP - key management for CCMP, TKIP, WEP104, WEP40 - RSN/WPA2 (IEEE 802.11i)

* pre-authentication

* PMKSA caching

Please use plain text.
Advisor
pedro_lane
Posts: 16

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

Thanks for this deailled howto !

 

Actually i think that most of N9 users don't know how to use Harmattan SDK and build source against it.

Could you please post the wpa_supplicant binary you've built ? As it is published under BSD licence, i think it is ok.

 

The next steps are more easy for a non-developer.

 

TY

Please use plain text.
Advisor
pedro_lane
Posts: 16

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

hi

 

i tried to buid wpa_supplicant with harmattan sdk with no luck

i m facing a missing header file

 

[sbox-HARMATTAN_ARMEL: ~/wpa_supplicant-2.0/wpa_supplicant] > make
../src/drivers/driver_nl80211.c:19: fatal error: netlink/genl/genl.h: No such file or directory
compilation terminated.
make: *** [../src/drivers/driver_nl80211.o] Error 1

i tried wpa-supplicant 1.1 and 2.0, same issue.

i also tried to inhibit the build of the NL80211 hook, with CONFIG_DRIVER_NL80211=n, no luck

 

could you please provide us with some more hints ?

 

thanks

Please use plain text.
Advisor
Nomz
Posts: 22

Re: Nokia N9 now connects with 802.1X PEAP network with wpa_supplicant

[ Edited ]
Please find below the link to binary.

https://www.dropbox.com/sh/v2ji23a8zy2rw33/Acg6KSVTbK

After copying the files to /usr/bin, type below commands in terminal under root

#chmod 775 /usr/bin/wpa_supplicant. Otherwise it won't work
Please use plain text.