Using Wifi on OSMC Raspberry Pi 3

Hi,

How do I enable Wifi in OSMC on Raspberry Pi 3? I have tried both using the installer and via OSMC itself. However, nothing works! after I go to the connection settings within OSMC I on see those for Ethernet and there is no option for Wifi. How can I solve this?

Thanks,

Aaron

1 Like

In My OSMC go to Network. On the left side you should see:

Wired
Wireless
Bluetooth
Tethering
MySQL

Choose Wireless, then click on Enable Adapter. It should then show a list of possible SSIDs.

As @dillthedog wrote you should see wireless in the respective menu. If not than provide logs via grab-logs -A

I only see Wired and MySQL

Edit:

Here are the logs!

https://paste.osmc.tv/iyiqahadag

This is a strange one. It’s clearly a Pi 3 but OSMC isn’t seeing either WiFi or Bluetooth.

I see that you have a wired connection, so could you run the following commands:

sudo apt-get update
sudo apt-get install lshw

then run sudo lshw and post the output of the network details near the bottom.

I also suggest you remove all external devices, eg DTV dongle, and reboot the system to see if that clears things up.

I did notice one troubling error in the log file:

Nov 28 22:53:54 osmc-mainroom kernel: mmc-bcm2835 3f300000.mmc: no support for card's volts
Nov 28 22:53:54 osmc-mainroom kernel: mmc1: error -22 whilst initialising SDIO card
Nov 28 22:53:54 osmc-mainroom kernel: mmc1: Controller never released inhibit bit(s).

The voltage part could suggest some kind of overclocking problem but /boot/config.txt doesn’t show anything. Alternatively, it might be a bad power supply, hardware issue with the Pi or perhaps even a flakey card. Perhaps @sam_nazarko can provide a few hints.

New logs
https://paste.osmc.tv/wemataxeni

As @dillthedog asked, please provide output of lshw also did you check your powersupply?

osmc
    description: Computer
    product: Raspberry Pi 3 Model B Rev 1.2
    serial: 00000000f3b2e353
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
       capabilities: brcm_bcm2837 brcm_bcm2836
     *-cpu:0
          description: CPU
          product: cpu
          physical id: 0
          bus info: cpu@0
          size: 600MHz
          capacity: 1200MHz
          capabilities: cpufreq
     *-cpu:1 DISABLED
          description: CPU
          product: cpu
          physical id: 1
          bus info: cpu@1
          size: 600MHz
          capacity: 1200MHz
          capabilities: cpufreq
     *-cpu:2 DISABLED
          description: CPU
          product: cpu
          physical id: 2
          bus info: cpu@2
          size: 600MHz
          capacity: 1200MHz
          capabilities: cpufreq
     *-cpu:3 DISABLED
          description: CPU
          product: cpu
          physical id: 3
          bus info: cpu@3
          size: 600MHz
          capacity: 1200MHz
          capabilities: cpufreq
     *-memory
          description: System memory
          physical id: 4
          size: 747MiB
  *-usbhost
       product: DWC OTG Controller
       vendor: Linux 4.9.29-10-osmc dwc_otg_hcd
       physical id: 1
       bus info: usb@1
       logical name: usb1
       version: 4.09
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
     *-usb
          description: USB hub
          physical id: 1
          bus info: usb@1:1
          version: 2.00
          capabilities: usb-2.00
          configuration: driver=hub maxpower=2mA slots=5 speed=480Mbit/s
        *-usb:0
             description: Generic USB device
             physical id: 1
             bus info: usb@1:1.1
             version: 2.00
             capabilities: usb-2.00
             configuration: driver=smsc95xx maxpower=2mA speed=480Mbit/s
        *-usb:1
             description: Generic USB device
             product: RTL2838UHIDIR
             vendor: Realtek
             physical id: 4
             bus info: usb@1:1.4
             version: 1.00
             serial: 00000001
             capabilities: usb-2.00
             configuration: driver=dvb_usb_rtl28xxu maxpower=500mA speed=480Mbit/s
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: eth0
       serial: b8:27:eb:b2:e3:53
       size: 100Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=10.1.1.193 link=yes multicast=yes port=MII speed=100Mbit/s

I have an option for wired (which I’m using) and MYSQL

Here are my logs:
Https://paste.osmc.tv/qulajicohi

I moved your post here as I assume it is the same issue.
Interesting that we have now two people with this issue.

Actually I think not many people use the build-in WIFI of the Pi3 as it is not really performant and therefore we might not have seen more reports.
I will check on my own Pi3 now.

Ok, checked mine and all is as it should be.

lshw shows

*-network:0 DISABLED
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: b8:27:eb:81:06:6c
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmfmac driverversion=7.45.41.46 firmware=01-f8a78378 multicast=yes wireless=IEEE 802.11

And also sudo journalctl | grep wlan

Nov 30 23:44:33 osmc-pi3 connmand[253]: wlan0 {create} index 3 type 1 <ETHER>
Nov 30 23:44:33 osmc-pi3 connmand[253]: wlan0 {update} flags 4098 <DOWN>
Nov 30 23:44:33 osmc-pi3 connmand[253]: wlan0 {newlink} index 3 address B8:27:EB:81:06:6C mtu 1500
Nov 30 23:44:33 osmc-pi3 connmand[253]: wlan0 {newlink} index 3 operstate 2 <DOWN>
Nov 30 23:44:33 osmc-pi3 connmand[253]: Adding interface wlan0 [ wifi ]
Dec 02 10:29:38 osmc-pi3 connmand[1339]: wlan0 {create} index 3 type 1 <ETHER>
Dec 02 10:29:38 osmc-pi3 connmand[1339]: wlan0 {update} flags 4098 <DOWN>
Dec 02 10:29:38 osmc-pi3 connmand[1339]: wlan0 {newlink} index 3 address B8:27:EB:81:06:6C mtu 1500
Dec 02 10:29:38 osmc-pi3 connmand[1339]: wlan0 {newlink} index 3 operstate 2 <DOWN>
Dec 02 10:29:38 osmc-pi3 connmand[1339]: Adding interface wlan0 [ wifi ]

@Aaron_Spehr
@sj4229

Interesting both of you have this error message kernel: mmc1: error -110 whilst initialising SDIO card this most likely indicate a hardware issue.
Maybe @popcornmix has an advice.

Ah ok! I have the same problem on my Raspberry Pis normally (running Raspbian) although, I managed to get the Wifi working before I did a reinstall and it stopped again. Will see if I can’t track the method I used to successfully enable the wifi on the Pi 3 again. If it works for OSMC will post it here.

It is interesting that when I do lsmod “brcmfmac” is not listed! Nor does it run when I added it to /etc/module and reboot the pi the driver doesn’t get loaded.

Well wuldn’t be loaded if the hardware is not presented (as in your case). I think this is either a power issue (did you check your power suppply?) or a hardware fault

The power supplies are:

300ma 5.2v
2.5ma 5.1v

the first one would be definitely not suitable
the second one assuming that it is 2.5A not 2.5ma should be possible but only if it is a dedicate Pi power-supply and not a phone charger

2 Likes

Back in post #5 I suggested that you remove all external add-ons but the log you posted still shows the DVB-T dongle attached. Clearly, this device will create an additional power load, which is why I suggested it be removed.

They are both dedicated pi power supplies and the numbers are supposed to be
3000ma 5.2v

2.5a 5.1v

Well than the last try would be to remove all external usb devices. If that doesn’t help it might be a hardware problem especially as you also get it with raspbian