====== Raspberry Pi (2) ====== ===== Benötigte Hardware ==== Ich habe dem Raspberry Pi 2. Dazu wird benötigt * Micro-SD-Karte * Micro-USB-Ladegerät, 2.000 mA * ggfs. WLAN-Stick * evtl. Gehäuse ===== Rasbian ===== ==== Installation ==== Download: https://www.raspberrypi.org/downloads/raspbian/ Dieses Image muss nun auf die SD-Karte geschrieben werden. unzip dd bs=4M if=2015-11-21-raspbian-jessie.img of=/dev/mmcblk0 ==== Firmware Update ==== Normalerweise nicht nötig und u.U. sogar gefährlich, da nicht stabile Entwicklerstände geholt werden! # apt-get install rpi-update # rpi-update ==== Uhrzeit ==== dpkg-reconfigure tzdata === ntpd === # apt-get install ntpdate # ntpdate -u de.pool.ntp.org ==== X deinstallieren (reiner Server-Betrieb) ==== gpicview xarchiver xpdf galculator scratch dillo netsurf-gtk omxplayer alsa-base penguinspuzzle python-pygame lxde-core lxde-common lxde-icon-theme lxinput lxmenu-data lxrandr lxsession-edit lxtask lxterminal lxappearance lightdm lightdm-gtk-greeter openbox fontconfig fontconfig-config fonts-freefont-ttf x11-common dbus-x11 desktop-base desktop-file-utils hicolor-icon-theme leafpad xdg-utils xauth gtk2-engines raspberrypi-artwork wolfram-engine Nach der Aufräumaktion wird noch „dpkg“ bereinigt. dpkg --configure -a ==== WLAN-Stick ==== In /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 wpa-ap-scan 1 wpa-scan-ssid 1 wpa-ssid "DEIN-WLAN-NAME" wpa-psk "DEIN-WLAN-SCHLÜSSEL" auto wlan1 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ap-scan 1 wpa-scan-ssid 1 wpa-ssid "DEIN-WLAN-NAME" wpa-psk "DEIN-WLAN-SCHLÜSSEL" service networking restart