cosmic-pi-deprecated / cosmicpi-rpi_V1.5

Our web interface and data collection software for Raspberry Pi
Other
4 stars 5 forks source link

combined client and ap modes #18

Open pingud98 opened 6 years ago

pingud98 commented 6 years ago

The Pi Zero W should be able to offer AP mode wifi independently from client access (i.e. let's keep the CosmicPi wifi running even when connected to a fixed wireless network like home/school/university) - here's how to do it: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/

This would be great feature!

pingud98 commented 6 years ago

we should probably roll this into the AP as well - https://brennanhm.ca/knowledgebase/2016/10/raspberry-pi-access-point-and-captive-portal-without-internet/

pingud98 commented 6 years ago

specifically the http204 returns with nginx

lukicdarkoo commented 6 years ago

Created and tested a script that creates AP and connects to Wifi network simultaneously: https://gist.github.com/lukicdarkoo/6b92d182d37d0a10400060d8344f86e4

And usage:

curl https://gist.githubusercontent.com/lukicdarkoo/6b92d182d37d0a10400060d8344f86e4/raw | sh -s YourWifiSSID YourWifiPass CosmicPi cosmicpi