OSMC doesn't find any wifi in Pi Zero W

Hi,
I have purchased recently a brand new Raspberry Pi Zero W (built in wifi card, no dongle).

I used the installer from the OSMC web, chose the latest distro version available and set up manually the WiFi network during the installation process.

After powering it up, it doesn’t find any wifi available.

connmanctl techonlogies reports that the wifi adapter is enabled, but after a scan, the services list is empty:

 connmanctl> technologies
 /net/connman/technology/wifi
    Name = WiFi
    Type = wifi
    Powered = True
    Connected = False
    Tethering = False
connmanctl> agent enable
Agent registered
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
>
connmanctl>

lsmod reports the following:

Module	Size	Used by	
bnep	20480	2	
hci_uart	20480	1	
bluetooth	454656	23	hci_uart,bnep
ecdh_generic	36864	1	bluetooth
joydev	20480	0	
brcmfmac	262144	0	
brcmutil	16384	1	brcmfmac
evdev	24576	0	
snd_bcm2835	28672	0	
snd_timer	118784	1	snd_bcm2835
cfg80211	671744	1	brcmfmac
snd	86016	3	snd_timer,snd_bcm2835,snd_pcm
bcm2835_codec	40960	0	
videobuf2_dma_contig	20480	1	bcm2835_codec
bcm2835_v4l2	45056	0	
bcm2835_thermal	16384	0	
v4l2_mem2mem	32768	1	bcm2835_codec
v4l2_common	16384	1	bcm2835_v4l2
videobuf2_vmalloc	16384	1	bcm2835_v4l2
bcm2835_mmal_vchiq	32768	2	bcm2835_codec,bcm2835_v4l2
bcm2835_gpiomem	16384	0	
videobuf2_memops	16384	2	videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2	28672	3	bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common	49152	4	bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
rfkill	28672	6	bluetooth,cfg80211
videodev	221184	6	bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
media	36864	3	bcm2835_codec,videodev,v4l2_mem2mem
iptable_nat	16384	0	
nf_nat_ipv4	16384	0	
nf_nat	32768	1	nf_nat_ipv4
nf_conntrack	139264	2	nf_nat_ipv4,nf_nat
nf_defrag_ipv6	20480	1	nf_conntrack
nf_defrag_ipv4	16384	1	nf_conntrack
iptable_mangle	16384	0	
iptable_filter	16384	0	
fixed	16384	0	
uio_pdrv_genirq	16384	0	
uio_pdrv	20480	1	uio_pdrv_genirq
ip_tables	24576	3	iptable_mangle,iptable_filter,iptable_nat
x_tables	36864	3	iptable_mangleip_tables,iptable_filter
ipv6	503808	28	

And in dmesg, searching for the wlan0 interface I get this message:

[ 19.427674] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

How can I connect to my wifi from osmc? I tested it with Raspbian and I could connect to the network using the GUI.
connmanctl reported the same behavior as with OSMC.

I tried as well to download a previous release (OSMC_TGT_rbp1_20200402.img.gz) and formatting the SD card with it, with the same results.

Thanks in advance.

  • Is the SSID hidden?
  • Is it a 2.4Ghz or 5Ghz network?
  • What region are you in?

No, it is discoverable.

2.4 Ghz

BY region you mean physical place? If so, Spain.

The reason I ask is because some countries like Germany have specific channel requirements.
Could you confirm what channel your router is on and upload some full logs?

Sam

The wifi is on channel 13.

What logs would you like to see?

Can you try changing the channel? It should then appear.

You may need to change the CRDA world regulatory domain.

Yes, changing the channel did the trick!
Thanks a lot, @sam_nazarko

I’d prefer to fix the Channel 13 issue with logs, but I can understand if there is a reluctance to do this.

Hi. I’ve investigated a bit more after reading your comment about the CRDA domain.
I installed the iw package and queried the CRDA registry, which yielded the region code OO.
After I changed it to ES, OSMC was able to detect the wifi in the channel 13.

Do you still want to see the logs?

Cheers!

Yes – before making this change.

Ok! A log in particular or all of them (I’m guessing there is a way to collect all of them for upload)?

grab-logs -A and share the URL