dashboard
2024-12-19 / 2024-12-19 | ||
Einrichtung des RPi mit raspberry os und Konfiguration für mein m.cms/dashboard
remove
sudo apt remove firefox* vlc* thonny* geany*
autostart
mkdir ~/.config/autostart/
nano ~/.config/autostart/dashboard.desktop
[Desktop Entry]
Type=Application
Hidden=false
X-GNOME-Autostart-enabled=true
Name=dashboard
Exec=/usr/bin/chromium-browser --disable-infobars --kiosk 'https://l337.l11/m.dashboard/'
firewall
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https
sudo ufw allow from 192.168.3.73 to any port 5900
sudo ufw allow from 192.168.3.83 to any port 5900
sudo ufw allow from 192.168.3.93 to any port 5900
crontab -e # desplay Helligkeit
0 7 * * * sudo echo 3 >/sys/class/backlight/10-0045/brightness
0 9 * * * sudo echo 16 >/sys/class/backlight/10-0045/brightness
0 18 * * * sudo echo 3 >/sys/class/backlight/10-0045/brightness
0 21 * * * sudo echo 1 >/sys/class/backlight/10-0045/brightness
ca HeisAG
# Hatte keinen Erfolg, muss noch geprüft werden ... Manueller Import im Chromium hat geklappert!
sudo cp ~/HeisAG-CA.crt /usr/share/ca-certificates/
sudo dpkg-reconfigure ca-certificates
sudo update-ca-certificates