In die Freiheit entlassen Digitales Flugblatt: Raspberry Pi mit Batterie als WLAN-Hotspot und Webserver c't 22/2017, S. 144 ----------------------------------------------------------- wpa_supplicant.conf Vorlage für die WLAN-Konfiguration, SSID und PSK müssen ergänzt werden Installation: Auf die 1. Partition ("boot") der SD-Karte kopieren network/client WLAN-Client-Netzwerkkonfiguration (für Tor) Installation: sudo cp network/client /etc/network/interfaces.d network/hotspot WLAN-Hotspot-Netzwerkkonfiguration (für Standalone-Betrieb) Installation: sudo cp network/hotspot /etc/network/interfaces.d default/hostapd HostAP-Konfiguration als offener WLAN Access Point hostapd/hostapd.conf Installation: sudo apt-get install dnsmasq sudo cp default/hostapd /etc/default sudo cp hostapd/hostapd.conf /etc/hostapd default/dnsmasq DNSmasq-Konfiguration, arbeitet als DHCP-Server für dnsmasq.conf 192.168.255.0/24 und leitet DNS-Anfragen an den lokalen DNS weiter. Installation: sudo apt-get install dnsmasq sudo cp default/dnsmasq /etc/default sudo cp dnsmasq.conf /etc fakedns/fakedns.py FakeDNS, beantwortet alle Anfragen mit der IP-Adresse fakedns/fakedns.service 192.168.255.1 Installation: sudo cp fakedns/fakedns.py /usr/local/bin sudo cp fakedns/fakedns.service /etc/systemd/system sudo systemctl enable fakedns.service pishutdown/pishutdown.service Systemd-Job für den Ausschalt-Jumper (GPIO-Pins 5+6) Installation: sudo cp pishutdown/pishutdown.py /usr/local/bin sudo cp pishutdown/pishutdown.service /etc/systemd/system sudo systemctl enable pishutdown.service