warlock916
Posts: 7
Joined: Wed May 04, 2016 10:36 am

802.1X -PEAP -MSCHAPV2

Thu May 05, 2016 10:26 am

Hello I have just by a Raspberry PI 3 and installed RASPBIAN JESSIE and upgrade it.

I'm trying to access a italy wifi provider that uses 802.1X -PEAP -MSCHAPV2 protocol, without success, because it doesn't use a passphrase but a user+pwd login that generates a certificate.
I know this because I have tried with windows, android and iphone and it works in this way.

When i try to connect with my raspberry instead i don't have any chance to insert user/pwd but only passpharse.

Can anyone help me?

Thanks

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: 802.1X -PEAP -MSCHAPV2

Thu May 05, 2016 10:42 am

You need to edit /etc/wpa_supplicant/wpa_supplicant manually.
I have come across several posts about this on the forum. Try searching for PEAP and / or MSCHAPV2

warlock916
Posts: 7
Joined: Wed May 04, 2016 10:36 am

Re: 802.1X -PEAP -MSCHAPV2

Fri May 06, 2016 11:55 am

DirkS wrote:You need to edit /etc/wpa_supplicant/wpa_supplicant manually.
I have come across several posts about this on the forum. Try searching for PEAP and / or MSCHAPV2
Thanks! I'll do the searches you suggest and let you know!

warlock916
Posts: 7
Joined: Wed May 04, 2016 10:36 am

Re: 802.1X -PEAP -MSCHAPV2

Sun May 08, 2016 9:43 am

Solved,

you where right!

The solution was to edit the wpa_supplicant file as:

network={
ssid="ssid network"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
auth_alg=OPEN
eap=PEAP
identity="user"
password=hash:XXXXX
}


I have also encrypted my password with the command

echo -n password | iconv -t utf16le | openssl md4


thanks!

Return to “Networking and servers”