You are not logged in.

#1 2017-07-03 13:12:58

gaulderson
Member
Registered: 2017-05-05
Posts: 23

[SOLVED] Trying to connect to 802.1x wifi with connman

I'm trying to connect my university wifi which is a WPA2 Enterprise network (802.1X) and I'm having a bit of trouble.

I created a service file for the network that looks like:

[service_gnba-m]
Type=wifi
Name=GNBA-M
Passphrase=password
Hidden=true
EAP=peap
Identity=user

When I scan the available wifi networks with connman I get:

*A  GNBA-M               wifi_c4d987deb1c9_474e42412d4d_managed_ieee8021x
    GNBA-G               wifi_c4d987deb1c9_474e42412d47_managed_none
                         wifi_c4d987deb1c9_hidden_managed_ieee8021x
                         wifi_c4d987deb1c9_hidden_managed_psk
    Cannot Connect       wifi_c4d987deb1c9_43616e6e6f7420436f6e6e656374_managed_psk
    Kelleher             wifi_c4d987deb1c9_4b656c6c65686572_managed_psk

However, if I try to connect to GNBA-M, it hangs for a bit and then spits out

Agent ReportError wifi_c4d987deb1c9_474e42412d4d_managed_ieee8021x
  connect-failed

I'm able to connect to the network on both my Windows and Ubuntu partitions, but I'm not sure what's going on here. I also think that I don't need a specific certificate for the network because I never got one when I set it up on Ubuntu. I've also made sure to restart wpa_supplicant and connman services.

Last edited by gaulderson (2017-07-11 13:40:16)

Offline

#2 2017-07-03 13:19:49

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] Trying to connect to 802.1x wifi with connman

Are these settings correct? university networks often require peap with MSCHAPv2, so you might want to add

Phase2=MSCHAPv2

Last edited by progandy (2017-07-03 13:20:11)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2017-07-03 13:27:31

gaulderson
Member
Registered: 2017-05-05
Posts: 23

Re: [SOLVED] Trying to connect to 802.1x wifi with connman

They're correct as far as I can tell, not sure how I'd determine any extra settings I might need.

I tried appending that line to my service file, but only got

Error /net/connman/service/wifi_c4d987deb1c9_474e42412d4d_managed_ieee8021x: Input/output error

when trying to connect now.

Last edited by gaulderson (2017-07-03 13:31:50)

Offline

#4 2017-07-11 13:39:41

gaulderson
Member
Registered: 2017-05-05
Posts: 23

Re: [SOLVED] Trying to connect to 802.1x wifi with connman

progandy wrote:

Are these settings correct? university networks often require peap with MSCHAPv2, so you might want to add

Phase2=MSCHAPv2

The correct setting is

Phase2=MSCHAPV2

but you were right that I needed that, thanks! Just had to fix the typo and it all worked.

Offline

Board footer

Powered by FluxBB