Skip to content

Instantly share code, notes, and snippets.

@n8fr8
Created October 15, 2021 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n8fr8/3f80340e42bbc6255913973f057f3592 to your computer and use it in GitHub Desktop.
Save n8fr8/3f80340e42bbc6255913973f057f3592 to your computer and use it in GitHub Desktop.
how to setup a second wind / butterbox instance based on HostAP
1. Get RaspPi 32-bit lite
2. Get RPi Imager: https://www.raspberrypi.org/software/
3. flash SD Card, connect to ethernet, bootup, etc
4. install raspap, run update, etc
5. change wifi hotspot ssid to "butterbox" and set/remove password (/etc/hostap)
6. dnsmasq: setup local DNS resolution for "http://butterbox" https://github.com/RaspAP/raspap-webgui/issues/464
7. move raspap web admin from /var/www/html/* to /admin
8. download butterbox web interface into /var/www/html/* (https://gitlab.com/guardianproject/butter-app-site/)
9. download secondwind repo, put in /var/www/html/fdroid/repo (https://gitlab.com/guardianproject/wind-repo)
10. put butter website at /var/www/html; setup captive portal splash page website at /etc/nodogsplash/htdocs with link to main website, fdroid, news, etc
11. put news and other content at /var/www/html/news
12. setup cronjob to automatically update fdroid and news as internet is available
13. deploy!
@Alex12261024
Copy link

Wat?dsthdo?extl?gt t gist if my intr is corr!??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment