1

Is there anyway to connect the raspberry pi to WiFi from another device like from a flask app? I know it's a crazy idea, without connecting to a network I cannot access flask app but I'm just wondering if we can create a WiFi access point then access the pi from another device and connect to a local network. I'm looking for something like this.

My goal is to control robot using virtual joystick from app or a browser. If I set an access point can I still connect to Pi using remote desktop connection over Wifi? I don't have a monitor right now

Machine: Raspberry pi 3 model B+

Example (Balena wifi-connect): enter image description here

  • Why crazy? It's interesting. At first, you need to make an AP, configure the raspberry pi with Apache or Nginx then show the input page (splash page/captive portal) to the user to input SSID and password of that. After that, the user hits the SET button, the values will send to raspberry pi and it get the value then disable AP. Finally, try to connect to that SSID. There is a lot of challenges here that I see you would face. However, short answer, YES, you can. – M. Rostami Mar 11 at 12:16
  • @M.Rostami, sorry but : to the user to input SSID and password of that , I'm not really sure it is necessary with a real captive portal. This can be done directly by the device Wi-Fi menu. – Ephemeral Mar 11 at 13:45
  • @Ephemeral :-) , The SSID and Password of SAM AP on the picture that raspberry pi would be connected. – M. Rostami Mar 11 at 13:47
  • @M.Rostami, Oh sorry , yes :) – Ephemeral Mar 11 at 13:51
  • @Ephemeral At first, thank you for the precision. Honestly, it's not for connecting the phone to an AP. The phone will connect to the raspberry pi AP, then it will connect raspberry pi to connect to another AP (look at SAM AP) by phone's splash page. – M. Rostami Mar 11 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.