This commit is contained in:
Neythen 2021-12-04 14:53:21 +00:00
commit b038a574d0
2 changed files with 30 additions and 10 deletions

View File

@ -16,26 +16,32 @@ Now to turn off the audio circuit open the config file with
```console ```console
sudo nano /boot/config.txt sudo nano /boot/config.txt
``` ```
look for the dtparam=audio option and turn it to off, the line should look like this: look for the dtparam=audio option and turn it to off, the line should look like this. And disable bluetooth, change temp limit:
```console ```console
dtparam=audio=off dtparam=audio=off
dtoverlay=disable-bt
temp_soft_limit=70
``` ```
```console ```console
nano /boot/config.txt sudo nano /boot/config.txt
``` ```
temp_soft_limit=70
```console ```console
nano /boot/cmdline.txt sudo nano /boot/cmdline.txt
``` ```
isolcpus=3 isolcpus=3
enable ssh enable ssh
```console
disable bluetooth cd /Volumes/boot
touch ssh
disable hdmi ```
disable hdmi, add this line above exit 0
```console
sudo nano /etc/rc.local
/usr/bin/tvservice -o
```
then reboot the pi with then reboot the pi with
```console ```console
@ -58,6 +64,18 @@ add the line
dont forget the ampersand! dont forget the ampersand!
also make sure that the paths in startup.sh are correct for your install location also make sure that the paths in startup.sh are correct for your install location
## Install the hotspot
```console
cd ~
curl "https://www.raspberryconnect.com/images/hsinstaller/AutoHotspot-Setup.tar.gz" -o AutoHotspot-Setup.tar.gz
tar -xzvf AutoHotspot-Setup.tar.gz
cd Autohotspot
sudo ./autohotspot-setup.sh
```
Choose option 2, then option 7 to change the SSID and password (for some reason it didnt work with the default SSID and password).
Then you can connect to the network and go to http://fintic.local:1024 or http://10.0.0.5:1024 and enter wifi information, then reboot
## Change the hostname ## Change the hostname
@ -74,10 +92,11 @@ You then connect to the server using the url fintic.local:1024
## Run instructions ## Run instructions
```console ```console
python3 server.py sudo -E python3 server.py
``` ```
in broswer go to url http://raspberrypi.local:1024 in browser go to url http://raspberrypi.local:1024
If it doesnt work because of a missing package try running setup.sh again, sometimes it fails to connect to the package repos
## Notes ## Notes

View File

@ -185,6 +185,7 @@ def stop():
@app.route("/update", methods=['PUT','POST']) @app.route("/update", methods=['PUT','POST'])
def update(): def update():
os.system("./update.sh") os.system("./update.sh")
return index()
@app.route("/display_format", methods = ['PUT', 'POST', 'GET']) @app.route("/display_format", methods = ['PUT', 'POST', 'GET'])
def display_format(): def display_format():