They are not technically savvy so I’m trying to make this as painless as possible for them to setup since I’m mailing this to them.
I was hoping to pre-configure their WiFi connection so the RPi will boot and connect automatically.
Then they can use their phone to control the RPi via the Kodi Remote app.
Is it possible to do this?
When I did the OSMC install I put their WiFi credentials in but idk if that is being saved anywhere for use later.
Yes, you can do this using the preseeding options in the Windows installer.
These are used on the first boot if the network and appropriate WiFi adapter is present. The Pi 2 doesn’t have built in WiFi so make sure they have an adapter that works.
To clarify:
When you say “first boot” are you referring to first boot ever into OSMC setup or when the RPi boots and is searching for a SSID?
These are the steps I’ve taken so far:
-I added their WiFi info in the installer
-Plugged in the WiFi adapter then booted the RPi
-Connected to my WiFi to finish all the other setup tasks I needed
Now when I send it off to them and they boot, it will find their SSID?
So with that said I ejected the SD card and opened it on my Windows machine.
Then I created the directory structure you showed (/var/lib/connman/) in the SD root.
Next, using notepad made the wifi.service file with the contents you provided.
Ok since I didn’t see it in root I assumed it needed to be made.
Got ya I will proceed that way, thank you @fzinken !
Yes I am aware but the problem is they don’t have any keyboards or mice laying around (assume zero tech savvy) to interface with the RPi once it boots up so I was hoping to have all the settings done so all they have to do is discover the device over the network via the Kodi Remote app, which I can walk them through over the phone.
Not that there’s anything wrong with manually adding iit ahead of time, but I just wanted to chime in and say there should not be an issue with enabling wifi via My OSMC with a Kodi phone app. I just checked it right now with the official Kodi remote on iOS and I was able to navigate to enable wireless, choose my ssid, and when I told it to connect it popped up the virtual keyboard on my phone to enter the passphrase which transmitted that input to Kodi. No problems at all.