Can't find my Wifi network

Hi !
First of all, I’m french so sorry for my poor english…

I bought a Vero 4K last week and received it two days ago.
All work perfectly except the wifi.
I can’t explain why but i’m unable to see my Wifi network on the vero 4K.
But I see others wifi networks (neighbor’s ones), and more particularly i can see other networks coming from the same internet service provider (“Free”).

I already try to :

  • reinstall last version of OSMC with an SD card, first boot without ethernet and follow the installer, my wifi didn’t appear.
  • I also tried the connmanctl trick using ssh console, my wifi didn’t appear after lot of tries.
  • That’s not a question of distance, i tried at 2 meters away from my router and it didn’t find it.

My Wifi network is broadcasting, all of my other peripherals can see and connect to it.
It’s protected by a WPA (TKIP + AES) [It’s an old router so it doesn’t support wpa2] key and I already tried to put a fixed canal - canal 2 - but it didn’t work.

Any idea of the origin of the problem would be very appreciate.

Many thanks !

Do you see WiFi under My OSMC -> Network?

Is it a 2.4Ghz or 5Ghz network? What channel is it on?

Yes, Wifi is of course enabled in the adequate menu.
Assuming that’s an old router, I was not sure so I just checked and it is a 2.4Ghz network on a fixed channel 2.

If you haven’t installed it already, CRDA might help. From the command line:

sudo apt-get update
sudo apt-get install crda

Then edit file /etc/default/crda (eg using nano) and set

REGDOMAIN=FR

(assuming you are in France.) then reboot.

Yeah I’m in France.
I just tried your method, no problem occurred with it (well I think), but after a shutdown and power on, I’m always unable to see my Wifi network. :’(

But thanks :wink:

No problem. But CRDA is worth installing anyway.

Please run grab-logs -A and let us know the URL is returns. We can then see what is (and isn’t) happening on your machine.

Alright, here it is :
https://paste.osmc.tv/yakaqomoka

(Just to say, waiting for a working solution, I use my iPhone as a wifi AP to use ssh console)

Ok, I just tried something :
I changed wifi security protocol from WPA “TKIP + AES” to “TKIP” and my wifi network appeared ! :pray:
So it was apparently an incompatibility with TKIP+AES…
Is it already known ? :thinking:

Actually, in the log it seems to connect successfully to the router and get an IP address of 172.20.10.11:

Jan 21 21:48:03 osmc wpa_supplicant[431]: wlan0: Trying to associate with 6e:7c:5f:d0:57:7e (SSID='iPhone de Maxence' freq=2462 MHz)
Jan 21 21:48:03 osmc connmand[348]: ipconfig state 2 ipconfig method 1
Jan 21 21:48:03 osmc kernel: Connectting with 6e:7c:5f:d0:57:7e channel (11) ssid "iPhone de Maxence", len (17)
...
Jan 21 21:48:03 osmc wpa_supplicant[431]: wlan0: Associated with 6e:7c:5f:d0:57:7e
Jan 21 21:48:03 osmc kernel: wl_iw_event: Link UP with BSSID=6E:7C:5F:D0:57:7E
Jan 21 21:48:03 osmc kernel: wl_bss_connect_done succeeded with 6e:7c:5f:d0:57:7e
Jan 21 21:48:03 osmc kernel: cfg80211: Calling CRDA for country: FR
...
Jan 21 21:48:03 osmc kernel: cfg80211: Regulatory domain changed to country: FR
Jan 21 21:48:03 osmc kernel: cfg80211:  DFS Master region: ETSI
Jan 21 21:48:03 osmc kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 21 21:48:03 osmc kernel: cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 21 21:48:03 osmc kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Jan 21 21:48:03 osmc kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Jan 21 21:48:03 osmc kernel: cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm)
Jan 21 21:48:03 osmc kernel: cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
Jan 21 21:48:03 osmc wpa_supplicant[431]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=FR
Jan 21 21:48:03 osmc kernel: wl_bss_connect_done succeeded with 6e:7c:5f:d0:57:7e
Jan 21 21:48:03 osmc wpa_supplicant[431]: wlan0: WPA: Key negotiation completed with 6e:7c:5f:d0:57:7e [PTK=CCMP GTK=CCMP]
Jan 21 21:48:03 osmc wpa_supplicant[431]: wlan0: CTRL-EVENT-CONNECTED - Connection to 6e:7c:5f:d0:57:7e completed [id=0 id_str=]
Jan 21 21:48:03 osmc connmand[348]: wlan0 {RX} 2 packets 254 bytes
Jan 21 21:48:03 osmc connmand[348]: wlan0 {TX} 5 packets 506 bytes
Jan 21 21:48:03 osmc wpa_supplicant[431]: bgscan simple: Failed to enable signal strength monitoring
Jan 21 21:48:03 osmc connmand[348]: wlan0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {newlink} index 3 address AC:83:F3:C3:B1:8B mtu 1500
Jan 21 21:48:03 osmc connmand[348]: wlan0 {newlink} index 3 operstate 6 <UP>
...
Jan 21 21:48:03 osmc kernel: channel count should be 8, we got 2 aborting
...
Jan 21 21:48:03 osmc connmand[348]: ipconfig state 3 ipconfig method 1
Jan 21 21:48:03 osmc avahi-daemon[352]: Joining mDNS multicast group on interface wlan0.IPv4 with address 172.20.10.11.
Jan 21 21:48:03 osmc avahi-daemon[352]: New relevant interface wlan0.IPv4 for mDNS.
Jan 21 21:48:03 osmc avahi-daemon[352]: Registering new address record for 172.20.10.11 on wlan0.IPv4.
Jan 21 21:48:03 osmc connmand[348]: wlan0 {del} route fe80:: gw :: scope 0 <UNIVERSE>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {del} route ff00:: gw :: scope 0 <UNIVERSE>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {add} address 172.20.10.11/28 label wlan0 family 2
Jan 21 21:48:03 osmc connmand[348]: wlan0 {add} route 172.20.10.0 gw 0.0.0.0 scope 253 <LINK>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {add} route 172.20.10.1 gw 0.0.0.0 scope 253 <LINK>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {add} route 0.0.0.0 gw 172.20.10.1 scope 0 <UNIVERSE>
Jan 21 21:48:03 osmc connmand[348]: wlan0 {add} route 159.253.212.250 gw 172.20.10.1 scope 0 <UNIVERSE>

IP address 172.20.x.x is a valid private IP address, but 172.x.x.x addresses are less commonly used.

Edit: This looks like it is connecting you your iPhone, right? Sorry, I was expecting a log trying to connect to the router. Can you provide a log where it tries to connect to the router via WiFi?

Yes in this log I was already connected to my iPhone, in order to be able to connect to the console with ssh.

My problem was not to “connect” to my router, but to FIND it.
It never shewed up at all (on GUI or using connmanctl, no matter the method) in the available wifi networks list… until I changed from WPA TKIP+AES to WPA TKIP.

I don’t know if you understand what I mean ?

Since we were trying to debug a WiFi connection to your router, it would have been more sensible for the log to demonstrate the problem.

But the log shows that WiFi on your Vero4K is working correctly.

As to the problem of connecting to WPA-TKIP/AES I think the issue is that AES was not a part of the WPA standard, and was introduced with WPA2. The WPA standard is for TKIP only and AES was possibly “bolted on” to WPA by the router manufacturer in a way that is incompatible with current standards.

Yeah I should better use ethernet to connect to the ssh console to obtain the log, but I did’nt think to this solution before, sorry… :frowning:

So it confirm that WPA AES is an “hybrid-network” not compatible.

Good to know for future others users in the same case.

Thanks you very much for your support ! :grinning: :+1: