Terug | 📖 howto — Infoscherm (Raspberry Pi)

đŸ“Ĩ Script uitvoeren

Zet het setup-signage.sh bestand in ~/Downloads, open een terminal en voer uit:

cd Downloads
chmod +x ~/setup-signage.sh
bash ~/setup-signage.sh

📊 Google Sheet infoscherm

De spreadsheet die op het infoscherm wordt weergegeven:

Infoscherm Google Sheet openen

🔄 Raspbian OS updaten

sudo apt update
sudo apt full-upgrade -y
sudo reboot

🌐 Vast IP instellen via terminal

Controleer eerst welke networkmanager actief is:

sudo systemctl is-active dhcpcd
sudo systemctl is-active NetworkManager

Als dhcpcd actief is:

sudo nano /etc/dhcpcd.conf
interface eth0
static ip_address=192.168.1.50/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 1.1.1.1
sudo systemctl restart dhcpcd
ip a
ip route

Als NetworkManager actief is:

nmcli con show
sudo nmcli con mod "Wired connection 1" ipv4.addresses 192.168.1.50/24
sudo nmcli con mod "Wired connection 1" ipv4.gateway 192.168.1.1
sudo nmcli con mod "Wired connection 1" ipv4.dns "192.168.1.1 1.1.1.1"
sudo nmcli con mod "Wired connection 1" ipv4.method manual
sudo nmcli con up "Wired connection 1"