Wireless adapter gone after April’s update on RasPi 3B

Hi!

Today, I ran the OSMC April’s update on my RasPi 3B. The box had been connected via wifi to our home network without any problem. Today, after successfully running the update, the box had no more wifi connection: In OSMC’s network configuration page, the whole ›Wireless‹ page is gone. I can only connect via Ethernet—which indeed successfully works. Does anybody have any idea how to get the Wireless connection back?

MacDevil

That sounds quite strange, suggest to provide logs grab-logs -A. Boot first with wifi only then connect ethernet and run the command. Provide the URL.

Hi,

You should still be able to connect to the wifi via the command line, either via attached keyboard or ssh (This is just to get it back up, still need to fix the missing wifi page. Logs should show whats happening here.)

connmanctl
scan wifi
agent on
services
connect MY_SERVICE
enter passphrase

The output from those commands, would be useful in diagnosing, please advise on them.

Thanks Tom.

Thank you for your fast responses.

@Tom_Doyle: I actually already tried that:

scan wifi via ssh yields: Error /net/connman/technology/wifi: Method "Scan" with signature "" on interface "net.connman.Technology" doesn't exist

enable wifi yields: Error wifi: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist

@fzinken: You say:

Boot first with wifi only
But how can I? I cannot enable wifi neither via OSMC network page (as the Wireless page is gone) nor via ssh (see above).

MacDevil

Well I ment to just boot with the Ethernet disconnected. Anyhow assuming you are using the internal wifi of the Pi3 it doesn’t matter. Than just provide the logs as is.

You are right, I am using the internal wifi adapter of the RasPi.
Here we go: https://paste.osmc.tv/inuqajevam

Ok, first I took a quick look on my Pi3 (normally using it with Ethernet not wireless) and I still have the wireless section and can see my networks if I enable it.

It looks like you have an incomplete install

May 07 15:47:53 RasPi systemd-udevd[216]: ctx=0xec8330 path=/lib/modules/4.4.27-9-osmc/kernel/net/wireless/cfg80211.ko error=No such file or directory
May 07 15:47:53 RasPi systemd-udevd[207]: ctx=0xec8330 path=/lib/modules/4.4.27-9-osmc/kernel/net/wireless/cfg80211.ko error=No such file or directory

Maybe try to check for updates again
sudo apt-get update sudo apt-get dist-upgrade

He has SD card corruption by the looks of it.

1 Like

Hi,

If what fzinken, doesn’t work, I’m seeing errors which to me suggests either a space issue or corruption of files on the sdcard.

   May 07 15:47:53 RasPi systemd-udevd[216]: ctx=0xec8330 path=/lib/modules/4.4.27-9-osmc/kernel/net/wireless/cfg80211.ko error=No such file or directory
    May 07 15:47:53 RasPi systemd-udevd[207]: ctx=0xec8330 path=/lib/modules/4.4.27-9-osmc/kernel/net/wireless/cfg80211.ko error=No such file or directory

also:

17:08:42.582 T:1750070256   ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:08:42.587 T:1750070256   ERROR: Previous line repeats 2 times.
17:08:42.587 T:1750070256   ERROR: Unable to open database: MyMusic60 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:09:23.110 T:1480586224   ERROR: Previous line repeats 2 times.
17:09:23.110 T:1480586224  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
17:18:43.934 T:1750070256  NOTICE: Previous line repeats 1 times.
17:18:43.934 T:1750070256   ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:18:43.939 T:1750070256   ERROR: Previous line repeats 2 times.
17:18:43.939 T:1750070256   ERROR: Unable to open database: MyMusic60 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:19:23.351 T:1480586224   ERROR: Previous line repeats 2 times.
17:19:23.351 T:1480586224  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
17:28:44.667 T:1750070256  NOTICE: Previous line repeats 1 times.
17:28:44.667 T:1750070256   ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:28:44.672 T:1750070256   ERROR: Previous line repeats 2 times.
17:28:44.672 T:1750070256   ERROR: Unable to open database: MyMusic60 [2003](Can't connect to MySQL server on '192.168.178.25' (101))
17:29:23.613 T:1480586224   ERROR: Previous line repeats 2 times.

Whats the output of:

df

Thanks Tom.

1 Like

Hi MacDevil,

No need for df, its in the logs. As Sam Says it looks like corruption. I would back up your settings and re-image the sd card. If not resolved, the sd card will probably need replacing.

Thanks Tom.

1 Like

Indeed, the directory /lib/modules/4.4.27-9-osmc/kernel/net/wireless/ does not exist; the parent directory does, but is empty. update/dist-update did not change anything.

Seems indeed that I will have to try to re-image the SD card.

It worked! I read and wrote another Pi’s working image to the (corrupted?) SD card and it works again like a charm. Now I see, that not only the Wireless option had disappeared, but also Bluetooth and Tethering; but as I had never needed those two, I had not noticed that they were gone…

Summing things up: I will see if it keeps working now. If more errors appear, I definitely know that I have to replace this SD card.

Thank you very much for your fast and competent help, guys! :+1:
MacDevil

HI,

Glad to here its sorted.

Regards Tom.