We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

wifi 802.11 wpa2-enterprise under 1.1.9.28 - 2.0.0.10

asked 2015-11-03 11:20:34 +0200

Jonah gravatar image

updated 2015-11-04 12:20:34 +0200

I am having trouble logging into my work wi-fi. When I try to connect it gives:

Sorry. Could not connect to selected network.

It doesn't ask for id or password. I see something similar was logged and workarounds given with earlier versions of Sailfish, but the setting files for wifi under /var/lib/conman are now different and it isn't clear to me how to create a new directory and settings file for this connection.

The network details are:

Band: 802.11a, 802.11n,

Operation mode: Network(Infrastructure),

Authentication level: WPA2-Enterprise,

Data encryption: AES-CCMP

Any suggestions please?

edit retag flag offensive close delete

Comments

1

Hi, the Problem is, that WPA2-Enterprise is not implemented in the GUI. But you can connect to those Networks by using a custom configuration file for connman. Here you find some information about connecting to a Network Similar to yours, but with another authentification method.

I hope this helps. If not, i could try to provide you with a configuration file and steps to install it into your system.

Regards, Hades

Hades0299 ( 2015-11-03 16:26:48 +0200 )edit

Thanks, I looked at that entry, but the file structure and content under 1.1.9.28 is quite different to what is given there. I will do the updates that have just been released and then look at this again.

Jonah ( 2015-11-03 16:54:40 +0200 )edit
1

At least for me the configuration file I created for a WPA2 Enterprise network ages ago (I don't even remember on which version) still works on 2.0.0.10 and it did all the way there. Might be worth giving it a shot even though the standard format has changed.

Ze German Guy ( 2015-11-04 08:26:54 +0200 )edit

Well I've tried the old format config file and tried to hack together the new one as well, but neither seems to work. Of course I'm guessing a bit with the new one. I made it like this:

  1. create new directory /var/lib/connman/wifi_xxxxxx_yyyyyy_managed_psk, where xxxxxx is the wlan MAC address of the phone and yyyyyy is the SSID of the network

  2. in this directory create a file called settings which contains:

[wifi_xxxxxx_yyyyyy_managed_psk]

SSID=yyyyyy

Name=network name

Frequency=2462

Favorite=false

AutoConnect=false

IPv4.method=dhcp

IPv4.DHCP.LastAddress=aaa.bb.c.dd

IPv6.method=auto

IPv6.privacy=prefered

EAP=peap

Phase2=MSCHAPV2

Identity=myid

Passphrase=mypassword

.

The ip address is of the network I'm trying to connect to.

So where have I gone wrong?

Jonah ( 2015-11-04 12:18:25 +0200 )edit
1

Hi Jonah,

I did some digging and found the official documentation for the config-files (HERE). I am not sure, whether this helps, but you could look into the Exaples-section.

The thing, I think connman needs most is the Authentication-method (you used "EAP=peap" in the config above). Could you ask some administrator of your Network which method they use? Or do You have access to another wifi-client, a laptop or some coworkers phone, to check if there is the EAP displayed?

Regards

Hades

Hades0299 ( 2015-11-04 23:50:12 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-11-06 00:39:41 +0200

Hachi1 gravatar image

updated 2015-11-06 00:41:44 +0200

Hi Jonah,

  • your config line IPv6.privacy=prefered seems misspelled to me??? (perferred)

  • did you try to use the "roamer" app (https://openrepos.net/content/nodevel/roamer) or does that not offer sufficient options for you? Actually for me (I wanted to use WPA2-Enterprise eduroam), deleting all config files in /var/lib/connman/ which related to eduroam, and then creating a new roamer config worked. Previously (before system update) I was also using a manually-written connman file.

  • when using roamer, be sure to have the CA certificate at a nice place (I have put it at /etc/ssl/certs) and with OK access rights -- and to tell it to roamer in the "advanced settings"!

Cheers

Stephan

edit flag offensive delete publish link more

Comments

That spelling is what appears in other settings files so would seem to be correct.

Unfortunately the roamer app fails to install so I am unable to see if that helps.

Jonah ( 2015-11-09 14:55:59 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-11-03 11:20:34 +0200

Seen: 563 times

Last updated: Nov 06 '15