Raspberry Pi

Raspberry Pi 3 (Rpi3) WIFI setting for OSMC (Headless)

So i got a Rpi3 and installed OSMC only to realize i dont have a physical remote to control it. I want to connect and control it but wirelessly (Since my LAN is not placed near by TV).

So this is how you can do it:

  1. Install OSMC from the steps provided on their website.
  2. Connect the Rpi3 to WLAN directly.
  3. This will give the Rpi3 a ip address. Find this ip address from your router
  4. SSH to Rpi3 from mac/windows. Default id/password is osmc/osmc
  5. Now since the Rpi3 has a wifi inbuilt all i need to do is connect the wifi. You can use the utility called connmanctl to do this. Follow the steps below.

Type the following on terminal:

Then type:

This should displays list of technologies. Something similar you will see:

This will show if the WIFI is enabled or now. Above shows Wifi enabled.
If you want to enable wifi use this:

Now scan for available wifi


Now it will ask for Pass key, enter your wifi password.

Its a one time setup and in future it will remember this setting.