I've recently flashed ubuntu touch onto a nexus 7. Its great, but i can't get it to connect to the WPA2 Enterprise network that is the main source of internet in my university (specifically eduroam). I have tried using the official eduroam bash script as well as creating a custom network manager configuration and an attempt at using wpa_supplicant. Im out of ideas and seemingly so is google. Any ideas?

share|improve this question

Turns out that NetworkManager needs the entries to be properly formatted and needs the cert to work with enterprise connections. For those of you stumped, eduroam offers a script on their website that will generate the correct connection file for you and install the cert, but you need to have python installed, and to my knowledge the devel channel does not come with python prinstalled. Here is a sample config file for eduroam.

[connection]
id=eduroam
uuid=89feacc0-bf73-48b1-92bf-3fb57b735c89
type=802-11-wireless`

[802-11-wireless-security]
key-mgmt=wpa-eap

[802-11-wireless]
ssid=eduroam
security=802-11-wireless-security

[ipv4]
method=auto

[ipv6]
method=auto

[802-1x]
eap=ttls;
identity=<$YOURIDENTITY>
anonymous-identity=<$ANONYMOUSIDENTITY>
ca-cert=~/.eduroam/ca.pem  #Replace the tilde with the absolute path
phase2-auth=mschapv2
password=<$YOURPASSWORD>
share|improve this answer
    
Could you please provide a link to the mentioned script please? I can't seem to find it anywhere on the official site... Thanks. – Stunts Mar 23 '15 at 12:54
    
Here it is! The have them preconfigured for your institution. cat.eduroam.org – Theo Costain Mar 26 '15 at 15:53

I have done it for my BQ Aquaris E4.5 using the followign template:

https://github.com/AKSW/dssnp/blob/master/network-conf/NetworkManager/system-connections/eduroam

I downloaded the file on my PC, modified it to my credentials, and uploaded it to the phone via bluetooth.

I then used the terminal to place the file in /etc/NetwrokManager/system-connections/eduroam

As soon as I turned WiFi on on the phone I got the connection.

Yes, it is a hack, but it works very well until the GUI supports the option.

If you use eduroam in your computer, you can get more information in /etc/NetworkManager/system-connections. You might find information regarding certificates there.

share|improve this answer
    
I had no luck with your link @Stunts neither with this one. Did you use and, if so, where did you put the cert file? How did you generate it? – aimar Mar 31 '15 at 10:33
    
Good point. My university does not use certificates, and therefore there was no need to worry about it. I have edited the answer for an alternative way to generate a template. – Stunts Mar 31 '15 at 13:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.