Thank you for your feedback guys <3
The idea is to connect to the Pi through the AP network, configure the Pi to connect to a wifi network, disconnect the AP and connect to Pi again using wifi.
When using Debian 11 bullseye I had a similar setup using hostapd and wpa_supplicant and I had no problems with this configuration. From the AP configured with hostapd I could connect to the Pi, and using wpa_supplicant I can try as many times to connect the Pi to a wifi network until the right SSID and password is given.
Of course I had tried this same setup on Bookworm, before going with nmcli, I had everything on a bash script. But similarly, after a few wifi connection tries, I was not able to connect any more. I would have had to restart.
This is why I'm pretty sure it's a configuration issue and not a limitation from the hardware. And I would guess that it can be done using nmcli as it seems very configurable. It works after all, just only first successful wifi connection try. Then it will need to reboot.
The idea is to connect to the Pi through the AP network, configure the Pi to connect to a wifi network, disconnect the AP and connect to Pi again using wifi.
When using Debian 11 bullseye I had a similar setup using hostapd and wpa_supplicant and I had no problems with this configuration. From the AP configured with hostapd I could connect to the Pi, and using wpa_supplicant I can try as many times to connect the Pi to a wifi network until the right SSID and password is given.
Of course I had tried this same setup on Bookworm, before going with nmcli, I had everything on a bash script. But similarly, after a few wifi connection tries, I was not able to connect any more. I would have had to restart.
This is why I'm pretty sure it's a configuration issue and not a limitation from the hardware. And I would guess that it can be done using nmcli as it seems very configurable. It works after all, just only first successful wifi connection try. Then it will need to reboot.
Statistics: Posted by xiki808 — Thu Oct 24, 2024 5:11 am