diff --git a/README.md b/README.md index 5fac6c4..50db9e4 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,6 @@ pip3 install adafruit-circuitpython-neopixel pip3 install wifi ``` - ### Setup the wifi access point: This is required for the tubes to connect to the master server. The tubes will connect over wifi to the master server to receive their configurations and their ArtNET. @@ -122,10 +121,8 @@ This ^ gives the Raspberry Pi on the Wifi interface the IP 192.168.0.1 Tip: If you can't connect over ethernet to the Pi or you want to give it a static ip on the ethernet interface later, just connect to the wifi and you can acccess it via this ip on ssh and all the webinterfaces. - Exit and save nano by pressing [Cntrl]+[O] then [Enter] and then [Cntrl]+[x]. Keep this in mind for later. - Configure DHCP: Edit the DHCP config: @@ -141,11 +138,11 @@ Again, past this into nano: interface=wlan0 dhcp-range=192.168.0.2,192.168.0.254,255.255.255.0,24h ``` + Now exit nano again. Do you remember how? If not here is how you do it ;) Exit and save nano by pressing [Cntrl]+[O] then [Enter] and then [Cntrl]+[x]. - Now start the DHCP service: ``` @@ -159,6 +156,7 @@ Edit the config: ``` sudo nano /etc/hostapd/hostapd.conf ``` + Past this: ``` @@ -176,7 +174,6 @@ rsn_pairwise=CCMP ATTENTION: for the country_code set your own and also change the wpa_passphrase to a password you remember or wrote down. This password is important for later. With this every tube can connect to the AP. - Exit and save. Now edit the hostapd file: @@ -184,11 +181,13 @@ Now edit the hostapd file: ``` sudo nano /etc/default/hostapd ``` -And past this: + +Find the line with `#DAEMON_CONF` and replace it with this: ``` DAEMON_CONF="/etc/hostapd/hostapd.conf" ``` + Exit and save. Now enable and start all required services and restart: @@ -199,6 +198,7 @@ sudo systemctl enable hostapd sudo systemctl start hostapd sudo reboot ``` + ### Setup the MySQL database: ``` @@ -221,6 +221,7 @@ flush privileges; sudo systemctl restart apache2 ``` + ### Setup Open Lighting Archetecture as the ArtNET sACN middle man: