• Karyoplasma@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    This seems like a good thread to ask:

    I have a Retropie and I use wpa_supplicant to manage my connection there. It looks like this: the router is downstairs and I use a repeater in the room next to the Retropie to have better wifi coverage upstairs. The router itself is reachable, but the signal strength is worse. So, as a fallback, I put both the router and the repeater connection in my wpa_supplicant config file with the router having a lower priority. Still, sometimes my retropie clings onto the worse connection for some reason and there is no way to change it but to do a complete reboot. If I just restart the wifi with ifdown and ifup, it will either not reconnect to any wifi at all or reconnect to the shittier connection again, it’s kinda a fifty-fifty. A reboot will always properly choose the best signal tho and I am very confused why this is happening. Any ideas?

    • thericcer@reddthat.com
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      Set your wpa_supplicant to use the BSSID of the repeater’s access point and don’t put the SSID in the conf file. Then it will connect to only the repeater.

      If the repeater just re-transmits tho main AP’s BSSID and packets, you need a better setup. Cheap WiFi extenders do this and almost always cause collisions, making the overall speed slow at all points.

      The best setup is to have multiple wired APs.

    • 0x4E4F@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      Have you checked what bands (channels) the repeater and the router use?

      • Karyoplasma@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        The repeater uses a fixed channel (I think I set it to 7 or 8) and the router is set to automatic channel selection. Do you think fixing the router’s channel would help?

        • 0x4E4F@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 months ago

          See if they’re overlapping, do a survey with your phone and WiFiAnalyzer (or another app). If they’re close or overlapping, set the router to a fixed channel as well.