Raspbian system configuration and web-servicer for harry plotter
- Download the latest Raspbian Image.
- Copy the image onto an SD-card:
unzip <whatever you just downloaded> dd bs=4M conv=fsync status=progress if=<unzipped>.img of=/dev/sd<X>
- Insert the SD-card into your Raspberry Pi and boot the system.
- Configure keyboard and timezone:
sudo dpkg-reconfigure keyboard-configuration sudo dpkg-reconfigure tzdata
- Start SSH daemon
passwd sudo systemctl enable ssh.service sudo reboot
- Connect the device to your local network.
- SSH into the Raspberry Pi.
- Clone the repository and execute setup script:
sudo aptitude update sudo aptitude -y install git git clone https://github.com/h42i/harryplotter.git cd harryplotter sudo ./setup.sh sudo reboot
- Disconnect the Raspbery Pi from your network as it will start DNS- and DHCP-servers, which otherwise will mess things up.
The Pi will serve IP-adresses (ranging from 192.168.1.201 to 192.168.1.249) on its Ethernet interface.
Additionally, a minimal DNS-Server will register the domain harry.plotter
.
In effect, all you have to do is
- Connect a computer with a running DHCP client via Ethernet.
- Open URL
harry.plotter
. - Follow the instructions. :-)