Stop being the product.
Become the owner.
or
sign uplog in

I made a pip-installable captive portal for headless…

I made a pip-installable captive portal for headless Raspberry Pi WiFi setup

Tired of SSH-ing into a Pi just to change the WiFi network.

Made a package that works like a router setup page:

1. Pi boots with no WiFi credentials → automatically creates a hotspot
2. Connect from your phone → captive portal opens automatically
3. Pick a network, enter password → done
4. Credentials saved via NetworkManager, persist across reboots
5. Physical button triggers setup mode anytime to change the network

Works on Pi Zero W, Zero 2 W, Pi 3 / 4 / 5

pip install pi-wifi-setup

from pi\_wifi\_setup import SetupMode

setup = SetupMode(ap\_ssid="MyDevice", ap\_password="setup1234")

setup.start()

GitHub: https://github.com/medvedodesa/pi-wifi-setup

Feedback welcome — first PyPI package.
#home
earnings
4,000 mlx total
$0  total
engagement
6 views
0 reactions

0 comments