From b90fd1c4689b5e405ad4c10935a9f2cb973996cf Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:34:17 +0000 Subject: [PATCH 1/7] Update README.md --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c6cbab3..a46335b 100644 --- a/README.md +++ b/README.md @@ -16,14 +16,15 @@ Now to turn off the audio circuit open the config file with ```console 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 dtparam=audio=off +dtoverlay=disable-bt +temp_soft_limit=70 ``` ```console nano /boot/config.txt ``` -temp_soft_limit=70 ```console nano /boot/cmdline.txt @@ -32,10 +33,15 @@ isolcpus=3 enable ssh - -disable bluetooth - -disable hdmi +```console +cd /Volumes/boot +touch ssh +``` +disable hdmi, add this line above exit 0 +```console +sudo nano /etc/rc.local +/usr/bin/tvservice -o +``` then reboot the pi with ```console @@ -76,7 +82,7 @@ You then connect to the server using the url fintic.local:1024 ```console python3 server.py ``` -in broswer go to url http://raspberrypi.local:1024 +in browser go to url http://raspberrypi.local:1024 ## Notes From c7ae9bf904f51b28588a5b79d70fcc06e70d6044 Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:34:48 +0000 Subject: [PATCH 2/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a46335b..1ce6f72 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ dtoverlay=disable-bt temp_soft_limit=70 ``` ```console -nano /boot/config.txt +sudo nano /boot/config.txt ``` ```console -nano /boot/cmdline.txt +sudo nano /boot/cmdline.txt ``` isolcpus=3 From c01c5650ab4b8cee904f5dc746a025c617cc1c6a Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:38:11 +0000 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ce6f72..bb45469 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ You then connect to the server using the url fintic.local:1024 ## Run instructions ```console -python3 server.py +sudo -E python3 server.py ``` in browser go to url http://raspberrypi.local:1024 From 00ab23da35d3886c8615df25e677db0fcb7b15bc Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:40:35 +0000 Subject: [PATCH 4/7] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bb45469..59c10a6 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ sudo -E python3 server.py ``` 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 From 050008197b210db2d3a8c2eaf286c86f972e1d5b Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:47:08 +0000 Subject: [PATCH 5/7] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index a762d87..a7863b8 100644 --- a/server.py +++ b/server.py @@ -185,6 +185,7 @@ def stop(): @app.route("/update", methods=['PUT','POST']) def update(): os.system("./update.sh") + return index() @app.route("/display_format", methods = ['PUT', 'POST', 'GET']) def display_format(): From d2d5c3ecbbf1befa7133a0137de8cfa54bb494ca Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Thu, 2 Dec 2021 17:35:51 +0000 Subject: [PATCH 6/7] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 59c10a6..bb0fd9d 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,18 @@ add the line dont forget the ampersand! 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 ## Change the hostname From 33fc45e8f3d1b08e6d8cb4e4d69363d11903f8bc Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Thu, 2 Dec 2021 17:42:26 +0000 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb0fd9d..160b4cf 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ 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 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