Hello,
I am building an IoT apparatus that incorporates the Pi Zero 2W.
I need to find the simplest way for the new owner to establish access to a WiFi network in range of the pi.
What I am hoping to do is have the pi broadcast a SSID out of the box that the user connects their phone to. Then using Captive Portal, it opens a web page that is served by the pi (via a node application).
The node application would present the user a list of the available WiFi networks in range and they would select the WiFi network the device is to connect to then enter its password and then the pi would connect to that WiFi network to reach the Internet.
I am able to do one or the other but I cannot figure out how to do both simultaneously.
I have the pi set up to serve as a WiFi router on wlan0.
My first thought was to set up an additional interface wlan1 that behaved "normally".
I'm at the edge of my knowledge base on this and I'd generally welcome at this point thoughts on if what I'm trying to do is possible.
FYI I've played around with letting users establish their WiFi credentials via bluetooth and didn't make any meaningful progress.
I am building an IoT apparatus that incorporates the Pi Zero 2W.
I need to find the simplest way for the new owner to establish access to a WiFi network in range of the pi.
What I am hoping to do is have the pi broadcast a SSID out of the box that the user connects their phone to. Then using Captive Portal, it opens a web page that is served by the pi (via a node application).
The node application would present the user a list of the available WiFi networks in range and they would select the WiFi network the device is to connect to then enter its password and then the pi would connect to that WiFi network to reach the Internet.
I am able to do one or the other but I cannot figure out how to do both simultaneously.
I have the pi set up to serve as a WiFi router on wlan0.
My first thought was to set up an additional interface wlan1 that behaved "normally".
I'm at the edge of my knowledge base on this and I'd generally welcome at this point thoughts on if what I'm trying to do is possible.
FYI I've played around with letting users establish their WiFi credentials via bluetooth and didn't make any meaningful progress.
Statistics: Posted by emansouri — Mon Mar 25, 2024 3:59 am