sudo apt update sudo apt upgrade select-editor # Einstellungen: # Passwort 560612 # Deutsches Tastaturlayout # Deutsche WLAN-Kanäle # Hostname pizero01 # SSH aktiviert sudo raspi-config dmesg lsusb sudo apt install iw # WLAN installieren (Quelle: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md) # WLANs scannen sudo iwlist wlan0 scan sudo nano /etc/wpa_supplicant/wpa_supplicant.conf # # Eintrag: # network={ # ssid="The_ESSID_from_earlier" # psk="Your_wifi_password" # } sudo ifdown wlan0 sudo ifup wlan0 sudo reboot # disable HDMI (http://www.jeffgeerling.com/blogs/jeff-geerling/raspberry-pi-zero-conserve-energy) sudo nano /etc/rc.local # /usr/bin/tvservice -o sudo apt install ntp sudo /etc/init.d/ntp restart sudo nano /etc/ntp.conf # # in /etc/ntp.conf Zeitserver ergänzen # server de.pool.ntp.org sudo /etc/init.d/ntp restart date sudo apt install lirc zbar-tools mc moc python3 python-rpi.gpio python3-rpi.gpio # PHAT DAC (https://learn.pimoroni.com/tutorial/phat/raspberry-pi-phat-dac-install) curl -sS get.pimoroni.com/phatdac | bash # MP3-Test mocp sudo nano /etc/modprobe.d/alsa-base.conf -- HERE BE DRAGONS ------------------------------------------------------------ # GEHT LEIDER NICHT WEGEN KNISTERN # USB Soundkarte verbinden, dann lsusb alsamixer # -> zeigt oben das aktive Sounddevice an. Mit F6 kann man die Liste aller Devices anzeigen # Konfiguration anlegen (https://www.youtube.com/watch?v=GQDQ_Z-NmHQ) sudo nano /etc/asound.conf # defaults.ctl.card 1 # defaults.pcm.card 1 # defaults.timer.card 1 alsamixer # -> sollte jetzt auf das USB-Device umgeschaltet haben