Solved No Wi-Fi network on a PI 2 Model B
-
-
I'm using a Pi 2 (Model B) with latest Recalbox installed (18.07.13). Ethernet network is working, but not Wi-Fi
-
Wi-Fi network settings:
- SSID visible ? Yes
- Chanel: 3
- WPA2-PSK/AES
-
recalbox network Interfaces without the Wi-Fi dongle
$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether b8:27:eb:a0:d9:77 brd ff:ff:ff:ff:ff:ff inet 192.168.0.11/24 brd 192.168.0.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::ba27:ebff:fea0:d977/64 scope link valid_lft forever preferred_lft forever $
- I configure Wi-Fi directly in
recalbox.conf
.
$ grep wifi recalbox.conf ##Activate wifi (0,1) wifi.enabled=1 ##Set wifi region wifi.region=FR wifi.ssid=le-wifi-de-morgoth wifi.key=enc:U2FsdGVkX1/fU30c3mVxGS0ngl1HclFBOFv9Y1qPFFU= #secondary wifi (not configurable via the user interface) ;wifi2.ssid=new ssid ;wifi2.key=new key #third wifi (not configurable via the user interface) ;wifi3.ssid=new ssid ;wifi3.key=new key $
- Here's the output of
dmesg
after connecting Wi-Fi dongle
[ 350.254751] usb 1-1.2: new high-speed USB device number 4 using dwc_otg [ 350.356247] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8176 [ 350.356262] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 350.356272] usb 1-1.2: Product: 802.11n WLAN Adapter [ 350.356281] usb 1-1.2: Manufacturer: Realtek [ 350.356290] usb 1-1.2: SerialNumber: 00e04c000001 [ 350.525195] usbcore: registered new interface driver rtl8192cu
- A new network interfaces (
wlan0
) is added but no IP assigned
$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether b8:27:eb:a0:d9:77 brd ff:ff:ff:ff:ff:ff inet 192.168.0.11/24 brd 192.168.0.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::ba27:ebff:fea0:d977/64 scope link valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 40:a5:ef:0e:dc:e5 brd ff:ff:ff:ff:ff:ff $
-
I reconfigured the
wifi.key
with clear text value before rebooting. Still no Wi-Fi after reboot. No problem with this hardware configuration when running raspbian. -
Let me know if you need the complete
dmesg
output after rebooting the recalbox with the Wi-Fi dongle pluged-in. -
Any idea ?
-
-
I did an additional test. I'm able to perform a Wi-Fi network scan. My SSID is in the list.
$ iw dev wlan0 scan | grep SSID SSID: FreeWifi SSID: FreeWifi_secure SSID: le-wifi-de-morgoth SSID: FreeWifi SSID: Livebox-DE81 SSID: FreeWifi_secure SSID: zita SSID: FreeWifi_secure SSID: FreeboxNanou14 SSID: orange SSID: Freebox-0C6228 SSID: FreeWifi_secure $
So the Wi-Fi dongle seems to work properly. The question is why there is no IP assigned to the
wlan0
interface ? -
@morgothsauron tu as quoi comme dongle ?
-
@oyyodams C'est un "Comfast" cf-wu810n acheté sur KUBII. Je sais qu'il n'est pas dans la liste des dongle compatibles, mais il fonctionne sans problème avec raspbian.
-
@morgothsauron wai mais raspbian n'est pas Recalbox.
On ne l'a pas testé: https://github.com/recalbox/recalbox-os/wiki/Compatibility-(EN)
Je te conseille celui du recalstore.
-
@oyyodams Je sais que recalbox et raspbian sont différents. Je voulais vérifier sur le forum s'il n'y aurait pas une astuce pour faire fonctionner le wifi. Je vais commander le Edimax EW-7811Un. Merci
-
Ca y'est j'ai recu mon dongle Edimax EW-7811Un et ça fonctionne
Mon interface Wi-Fi a une adresse IP:
$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP8000> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether b8:27:eb:a0:d9:77 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc mq qlen 1000 link/ether 74:da:38:eb:4a:15 brd ff:ff:ff:ff:ff:ff inet 192.168.0.11/24 brd 192.168.0.255 scope global wlan0 valid_lft forever preferred_lft forever inet6 fe80::76da:38ff:feeb:4a15/64 scope link valid_lft forever preferred_lft forever $
Et je peux downloadé un fichier de test:
$ wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip --2018-08-05 20:11:34-- http://speedtest.wdc01.softlayer.com/downloads/test10.zip Resolving speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)... 208.43.102.250, 2607:f0d0:3001:78::2 Connecting to speedtest.wdc01.softlayer.com (speedtest.wdc01.softlayer.com)|208.43.102.250|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11536384 (11M) [application/zip] Saving to: '/dev/null' /dev/null 100%[=================================================>] 11.00M 601KB/s in 20s 2018-08-05 20:11:55 (550 KB/s) - '/dev/null' saved [11536384/11536384] $
Merci pour l'aide