My very last possibility to connect my Pi 3 to internet would be “The Cloud”, an open WiFi hostpot (https://www.thecloud.net/), but this requires signing up in a browser and I’m not sure how I could bypass this step.
Many thanks! That’s very helpful. I will try to modify the config as you suggested. Could you explain to me how I could connect to a WPA2 enterprise password with the command line approach you pointed out? Many thanks in advance!
Sorry, my question was how to connect to eduroam with connmanctl once I’ve done the config, since the link doesn’t go into details: do I just do connmanctl connect with the eduroam network? Apologies for my naive questions, I’m rather new to linux.
Were you able to get it to work? I am trying to do exactly the same thing. I do not have any experience with Linux ro the raspberry pi, and all I want to do is get OSMC running with my university WiFi.
I have created the .config file as described above, in the location:
I am still having trouble connecting to the network. What’s the next step?
(complete beginner here)
If you go to the bottom of the script, you’ll see that key_mgmt=WPA-EAP, and, as already mentioned, WPA enterprise isn’t supported in OSMC. You’ll also find a host of other parameters listed that might be of use in setting up a connection.
Since very few people here are in a position to experiment with connecting to Eduroam, I suspect you’ll unfortunately need to do a lot of the spadework yourself.
Yes, the connection is really good. Had it up and running the whole day yesterday and it went through multiple reboots.
You can confirm that the values mentioned below are set to “true” under connmanctl services as described in Connmanctl Cheat Sheet · GitHub
Favorite = true
AutoConnect = true
This should help with not having to go through connmanctl on every startup!
I’ve finally had a chance to try your solution, and my problem is the following. I’m accessing OSMC’s command line via ssh on my mac, by sharing my phone’s connection — since I only have eduroam wifi and no ethernet access. However, as soon as I use the connmanctl connect command to connect to eduroam, it disconnects the ssh, but fails to connect to eduroam. How did you get around the issue?
Specifically, is there a way to make OSMC autoconnect to eduroam upon booting, so that I can just reboot the Pi? You said that you’ve achieved this, but I haven’t managed to do so.
Here is what I’ve done:
I have created a wifi.config file in /var/lib/connman/ following your instructions, with my eduroam’s SSID.
I have checked that the settings are “True” for “Favorite” and “AutoConnect”
I have rebooted my Pi, to no avail.
The problem may be that my Pi detects other WiFi networks (such as TheCloud), and tries to autoconnect to them rather than eduroam? Or maybe I need to do something else in order for it to take the wifi.config file to be the default config?
Have you tried to use the terminal window within OSMC rather than using SSH when attempting to connect using connmanctl? You can enter it by hitting ESC once you exit OSMC from the main Kodi homescreen. This may avoid the issue of having to disconnect from SSH to connect to eduroam
You could also try to go to the networks page within the GUI of OSMC, disable and re-enable the wireless adapter. Then select eduroam to connect and if the details in the .config file is correct, it should be able to connect without having to enter any details. I have tried this and it works for me.
Thanks so much! I’ve managed to connect through the local terminal window (it was a bit of a pain with my mini keyboard remote). I’ll try connecting through the GUI as you suggest next time it disconnects.