Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Multiple wifi doesnt work unless all networks are up????

    Recalbox General
    wifi rpi4 cm4 gpi case2
    2
    3
    527
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • henryjfry
      henryjfry last edited by

      The problem which was reported in 2017 here:

      https://gitlab.com/recalbox/recalbox-support/-/issues/1329

      Still appears to be an issue.
      If you setup more than 1 wifi in the http://recalbox/recalbox-conf
      And any of the additional wifi networks cannot be accessed, it wont auto connect to any WIFI it detects as being active

      If you prod it with a WPS connection it will connect just fine.

      So i've tested this by enabling 3 WIFI in recalbox.conf
      WIFI 1 = Home Wifi
      WIFI 2 = Phone hotspot
      WIFI 3 = Home Wifi

      With home Wifi disabled the hotspot doesnt connect.
      With the hotspot disabled, the home wifi wont connect.

      So its not a preference order type thing, it seems to hit an empty network and stop trying to connect to anything.

      The only way the home wifi connects is when the phone hotspot is also switched on.

      It does appear to auto switch if a network is disabled though.
      But the actual wifi connection when you specify multiple networks appears to be broken.

      So I think this is some issue with whatever is interacting with the conf file
      I'd just install wpa supplicant and be done, but of cource recalbox wont allow that.

      So is there a fix for actually being able to use more than 1 wifi network which may or may not be currently active?

      This is on the latest version of Recalbox on the RPI Compute Module 4, GPI Case 2

      davidb2111 2 Replies Last reply Reply Quote 0
      • davidb2111
        davidb2111 Staff @henryjfry last edited by

        Hi @henryjfry,

        It's the first time someone reports this error. Let me check this issue.

        David

        1 Reply Last reply Reply Quote 0
        • davidb2111
          davidb2111 Staff @henryjfry last edited by davidb2111

          @henryjfry

          Bug spotted. It will be fixed in next release.

          David

          PS: I also added the possibility to set a priority on the wifi network.
          Just set wifi2.priority = 20 to prioritize second wifi (20 is totally arbitrary here, make sure to put higher values to prioritized wifi)

          1 Reply Last reply Reply Quote 1
          • Locked by  admin admin 
          • First post
            Last post

          Want to support us ?

          76
          Online

          99.6k
          Users

          28.1k
          Topics

          187.1k
          Posts

          Copyright © 2021 recalbox.com