On Fri, 2015-11-27 at 16:42 -0500, Mike Purvis wrote:
My experience with connman 1.30 mirrors this one:
According to the linked ticket (https://01.org/jira/browse/CM-569
it's totally possible, but nothing about the supplied error message
hints at this possibility. The ideal would be if this could be dealt
with interactively, but the next best thing would be "Hey, looks like
you're connecting to an 802.1X network— please see here for
instructions on creating the necessary authentication file:
There's also some coverage on the Arch wiki which I found helpful:
There you have it in a nutshell. The eduroam config that comes with
ConnMan works for those universities that use peap for authentication.
Now those universities that use ttls to do the same authentication need
to configure their eduroam networks according to the arch linux web
page. EAP methods to use are defined by the end system authentication
setup handled by the university in question. The Access Point has no
idea what authentication will be requested, it only relays the EAP
authentication between the client and the back-end system. As a result
it will be told a set of keys to be used but nothing else.
The easiest way to set this one up is unfortunately a helpful system
admin handing out proper configuration files for ConnMan. Since we all
know this won't happen, the second easiest solution is to have the user
to run a wizard UI app to set up the connection. A decent wizard
application is not easy to do and moves all of the configuration pain to
ConnMan isn't of any helpful use here. All of the EAP communication
happen between the EAP authentication system and wpa_supplicant (and
relayed by the Access Point). So if someone needs a accurate on-the-fly
configuration app that asks only the needed questions, someone needs to
provide that feature to wpa_supplicant. ConnMan can fill in with a user
name and passphrase, should those be the only things missing.
But none of the above will work unless the user has already obtained the
necessary credentials and certificates beforehand, as is so well
depicted in the example on the arch linux web page with that CaCertFile
configuration option. This is really the main issue with setting up an
EAP connection - the user needs to be given a user id and passphrase and
usually also a certificate before attempting a connection. No amount of
configuration options will be enough if certificates and/or
ids/passphrases are missing.
For practical purposes it should be documented which universities use
peap and which ttls, so that there is one less point of confusion...
Also, if it is easier to understand(?) one can always think of changing
the returned error value in case of EAP. If it gives a better clue on
what is going on, I'm all for it.