# wifi eduroam problem - cannot connect

Hello there,

I have tried for a long time now to connect my Xperia XA2 Ultra on Sailfish 3.0.2.8 to the eduroam wifi of my university in germany without any success. I have downloaded (with wget and curl) the certificate file (via tethering from my android phone) and put it into /etc/ssl/certs/ .

-rw-r--r-- 1 root root 1367 Jul 12  2018 eduroam.crt


I also tried copying it to /etc/pki/tls/certs which did not help either.

I tried setting the network with the Roamer-App from openrepos. This did not work. I fiddled with the settings in there and also tried using my own custom wifi_eduroam.config file in /var/lib/connman/ which also did not help (and am aware of case sensitivity).

[service_eduroam]
Type=wifi
Name=eduroam
EAP=ttls
CACertFile=/etc/ssl/certs/eduroam.crt
Phase2=PAP
AnonymousIdentity=anonymous@xyz.de
Identity=someone@xyz.de


I also tried adjusting the settings file of a connection which Sailfish added as a (very cryptic named ..._managed_ieeee8021x ) folder in /var/lib/connman/ which also did not help.

Almost every time upon changing something I went back to rebooting the device and then trying to connect. When connecting it either says "couldn't connect please try again" (or something similar) or it says "wrong password" (which cannot be).

I am now up to the point that I have no idea what else to try. Can someone please give me a hint?

edit retag close delete

@jollacen

Take a look at this question, notably, the first comment from (@Alex)

https://together.jolla.com/question/113525/cant-connect-to-eduroam-11928/

Sadly, @Tomáš Moravec has not reported the outcome.

Note: please use the search utility here on TJC before posting, so we can try to avoid duplicate questions.

( 2019-04-18 12:16:51 +0300 )edit
2

That question is from 2015 and I guess the Sailfish system has received some update since then so I am not sure how that will help. Or does this mean that every time Sailfish is updated the certificate and the config file has to be renewed? Well, I did exactly this just before running against the wall and posting my question. I redownloaded the certificate and changed the config file in /var/lib/connman/ and also retried setting up the connection with Roamer. Nothing worked.

Oh and of course I searched for the other threads and tried the solutions posted there before opening this thread... I even started this question, then went back to searching and fiddling about a week ago before finishing posting.

( 2019-04-18 12:27:08 +0300 )edit

Just for the record: For me it used to work on XA2 Ultra, without certificate though.

( 2019-04-18 14:13:53 +0300 )edit

Sort by » oldest newest most voted

Two potential issues:

• I have EAP=peap in my configuration and don’t use the AnonymousIdentity field
• In passwords the \ character have to be escaped as \\
more

thanks, I guess I didn't escape a couple of special characters in the password... oh boy that would be so obvious and I was searching in a totally different direction. I can test that on Tuesday.

PAP and anonymous@xyz.de are settings given by my university in the linux instructions and they work on my Ubuntu Touch tablet (BQ m10 FHD).

( 2019-04-19 18:37:02 +0300 )edit

I'm not having much luck with my special characters. If I escape the character with the backslash in front I still get wrong password. Since I have several special characters I tried "backslashing" them all which also did not work (maybe some do not need to be backslashed but how do I know which do and which don't?). I also tried putting single quotes around the password like Passphrase='some.password.with.numbers.and.special.characters' in hope that everything between the single quotes will be taken as is. This also did not work. It shows me "Wifi: Wrong Password" in the top display.

( 2019-04-23 11:53:18 +0300 )edit

After updating from 3.0.2.8 to 3.0.3.8 I now (instead of "Wrong password" error) receive the error "Network connection error" (my translation).

Does this in any way leave a hint to an error in the configuration?

more