iiab / iiab-admin-console

GUI (Admin Console) to configure IIAB and install content
GNU General Public License v2.0
14 stars 17 forks source link

handle case where single router name for 2.4 and 5 GHz #581

Closed tim-moody closed 3 months ago

tim-moody commented 3 months ago

Connecting by ssid can get either 2.4 or 5 GHz, and the latter breaks hostapd.

tim-moody commented 3 months ago

@avni @holta please test:

Test cases:

holta commented 3 months ago

Looks very promising. So far I haven't had time to test.

@tim-moody's background tests:

holta commented 3 months ago

@avni might have time to test on Saturday?!

avni commented 3 months ago

I will test this next week - traveling currently.

avni commented 3 months ago

@tim-moody for the first test case:

router uses same name for both frequencies, but only 2.4GHz can be selected

I'm not clear what you mean by 'only 2.4GHz can be selected'? How would I disable the 5GHz from being selected as part of this test?

tim-moody commented 3 months ago

@avni the test is to make sure that the app doesn't allow selection of 5GHz even if one is available.

avni commented 3 months ago

For https://github.com/iiab/iiab-admin-console/pull/581, I think I need help understanding how to test and simulate the situation described. I updated my router, disabled SON, have 2.4GHz and 5GHz bands enabled with the same SSID, but not sure what to do now. I still only see one SSID in the Wifi list. Happy to do a live session @tim-moody or @holta if one of you can help. 🙏

Screenshot 2024-08-28 at 1 29 40 PM
tim-moody commented 3 months ago

I think that's a pass If you saw the name twice it would be a fail.

A further test would be if you connect iiab to the router and the hotspot still works then you connected on 2.4.

If you reboot iiab and it reconnects to 2.4 and hotspot still works then I think we are there.

avni commented 3 months ago

I think that's a pass If you saw the name twice it would be a fail.

[edited] I think I'm doing this wrong. I have a laptop with a VM that IIAB is installed on. IIAB is not installed on the host computer (the laptop). The screenshot above is from the laptop and shows the Wifi connections from that machine (OS == MacOS 14.0, M1). I think I instead need to test from an RPi with IIAB installed and have it connect directly to a Wifi router. Does that sound right?

tim-moody commented 3 months ago

Yes

avni commented 2 months ago

Tested from an RPi and TLDR is it works successfully.

  1. Disabled SON, have 2.4GHz and 5GHz bands enabled with the same SSID
  2. Connected IIAB to a router, and hotspot works.
  3. Rebooted RPi, it connected to the 2.4 and hotspot still works.

🚀 🏁 ✅