Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste ÜberarbeitungBeide Seiten, nächste Überarbeitung | ||
projekte:hausautomatisierung:openhab:display [2021/07/12 19:06] – noby | projekte:hausautomatisierung:openhab:display [2021/09/04 15:12] – noby | ||
---|---|---|---|
Zeile 10: | Zeile 10: | ||
$ addgroup thomas sudo | $ addgroup thomas sudo | ||
$ logout | $ logout | ||
- | |||
- | * Upgrades | ||
- | |||
- | $ apt update | ||
- | $ apt upgrade | ||
* Login via ssh und dem Benutzer thomas | * Login via ssh und dem Benutzer thomas | ||
Zeile 20: | Zeile 15: | ||
$ sudo -i | $ sudo -i | ||
$ deluser pi | $ deluser pi | ||
+ | $ apt update | ||
+ | $ apt upgrade | ||
$ apt-get install vim | $ apt-get install vim | ||
$ update-alternatives --set editor / | $ update-alternatives --set editor / | ||
Zeile 59: | Zeile 56: | ||
sleep 1 | sleep 1 | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | use the following for the workshop display: | ||
+ | < | ||
+ | #!bin/bash | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | sleep 1 | ||
+ | / | ||
</ | </ | ||
Zeile 130: | Zeile 137: | ||
</ | </ | ||
+ | $ apt install xdotool | ||
+ | $ chmod a+x / | ||
+ | $ chmod a+x / | ||
$ crontab -e -u openhab | $ crontab -e -u openhab | ||
< | < | ||
Zeile 138: | Zeile 148: | ||
===== OverlayFS ===== | ===== OverlayFS ===== | ||
$ cd | $ cd | ||
+ | $ apt install git | ||
$ git clone https:// | $ git clone https:// | ||
+ | $ cd overlayfs | ||
$ sudo overlayfs.sh | $ sudo overlayfs.sh | ||
$ reboot | $ reboot | ||
+ | | ||
+ | ACHTUNG!!!! Nach jedem Kernel Update muss sudo overlayfs.sh erneut ausgeführt werden. Ansonsten bootet das System nicht mehr. Wenn dies doch geschieht, muss aus der cmdline.txt der Eintrag boot=overlay entfernt werden. | ||
+ | |||
+ | ===== Wireless Config (Optional) ===== | ||
+ | $ vi / | ||
+ | < | ||
+ | ctrl_interface=DIR=/ | ||
+ | update_config=1 | ||
+ | country=DE | ||
+ | |||
+ | network={ | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ |