wifi 802.11 wpa2-enterprise under 1.1.9.28 - 2.0.0.10
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?
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 )editThanks, 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 )editAt 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 )editWell 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:
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
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 )editHi 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