Recalbox 7.0

rpi3 wifi problem



  • hello, i have a problem with wifi, it does not work.

    ifconfig wlan0

    wlan0 Link encap:Ethernet HWaddr B8:27:EB:4B:4E:24
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:130 errors:0 dropped:130 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:61664 (60.2 KiB) TX bytes:0 (0.0 B)

    grep wlan /var/log/messages

    Jan 1 01:00:04 RECALBOX daemon.info connmand[233]: wlan0 {create} index 3 type 1 <ETHER>
    Jan 1 01:00:04 RECALBOX daemon.info connmand[233]: wlan0 {update} flags 4098 <DOWN>
    Jan 1 01:00:04 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 address B8:27:EB:4B:4E:24 mtu 1500
    Jan 1 01:00:04 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 operstate 2 <DOWN>
    Jan 1 01:00:04 RECALBOX daemon.info connmand[233]: Adding interface wlan0 [ wifi ]
    Jan 1 01:00:18 RECALBOX user.err kernel: [ 19.964400] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {update} flags 36931 <UP,RUNNING>
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 address B8:27:EB:4B:4E:24 mtu 1500
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 operstate 0 <UNKNOWN>
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {update} flags 36867 <UP>
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 address B8:27:EB:4B:4E:24 mtu 1500
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 operstate 2 <DOWN>
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 address B8:27:EB:4B:4E:24 mtu 1500
    Jan 1 01:00:18 RECALBOX daemon.info connmand[233]: wlan0 {newlink} index 3 operstate 2 <DOWN>
    Jan 1 01:00:18 RECALBOX user.info kernel: [ 19.968763] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    dmesg |grep wlan

    [ 19.964400] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
    [ 19.968763] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    uname -a

    Linux RECALBOX 4.4.13-v7 #1 SMP Sat Dec 2 12:59:51 UTC 2017 armv7l GNU/Linux

    ifdown wlan0

    ifdown: interface wlan0 not configured

    ifup wlan0

    ifup: ignoring unknown interface wlan0


  • Developer
    Global moderator
    Team

    @asan-nased Hi,

    You can't use ifup/ifdown, we use connman to manage wifi.

    Anyway please check that:

    • your SSID is not hidden
    • your wifi channel is < 11


  • thanks, SSID is not hidden, channel was 13, i changed it to 9 and restarted router and rpi, but it does not help, wifi does not connect


  • Developer
    Global moderator
    Team

    @asan-nased ok can you temporary connect an ethernet cable to the rpi ? Then connect to its IP with a web browser, go the support section, launch the support script, and paste the link here.




  • Developer
    Global moderator
    Team

    @asan-nased all seems to be ok.

    Any special character in your wifi password ? (no need to write it here)



  • no, only numbers


  • Developer
    Global moderator
    Team

    @asan-nased I don't know... No mac filter on your box ?



  • There are no filters. I do not see any attempts to establish connection at the router log files. I tested wifi with 2016-05-27-raspbian-jessie.img and it works, than i rewrited recalbox.img at SD card and configured wifi again and i still have this problem.



  • I do not understand why RX packets at WLAN0 interface dropped

    ifconfig wlan0|grep RX

          RX packets:143 errors:0 dropped:143 overruns:0 frame:0
          RX bytes:66349 (64.7 KiB)  TX bytes:0 (0.0 B)
    



  • @oyyodams said in rpi3 wifi problem:

    @asan-nased all seems to be ok.

    Any special character in your wifi password ? (no need to write it here)

    I have failed to connect to a Wifi with the SSID "GVT-25F0" but then succeded when routing from my phone (SSID: Cheese). If I were to guess, the issue is the "-".
    Dont know if that helps but I think special characters are a problem on the name aswell.
    Maybe try renaming the network?



  • I installed a new test router with OpenWrt, created SSID ABCAAA with kea AAAAAAAA and the rpi is still not connect to wifi, RX packets still drop.



  • When i try to start wifi via recalbox-config.sh script i get this error

    pwd

    /recalbox/scripts

    ./recalbox-config.sh wifi disable

    Disabled wifi

    ./recalbox-config.sh wifi enable ABCAAA AAAAAAAA

    Enabled wifi
    Error /net/connman/technology/wifi: No carrier


  • Developer
    Global moderator
    Team

    @asan-nased you can't be connected to ethernet and wifi at the same time. Unplug your ethernet cable first.



  • Thanks, all is working now, i think the problem was in 11 channel on the router and then connected ethernet


Log in to reply
 

Want to support us ?

156
Online

79.1k
Users

20.3k
Topics

149.0k
Posts