
1 2 3 4 |
sudo mv /var/lib/dpkg/info/<packagename>.* /tmp/ sudo dpkg --remove --force-remove-reinstreq <packagename> sudo apt-get remove <packagename> sudo apt-get autoremove && sudo apt-get autoclean |
Categories: Allgemein, Debian, Development, Linux

Anbei die nötigen Schritte um den RaspberryPi für ein WLAN (WPA2; FRITZ!Box) einzurichten. Installation der Software „wpa_supplicant“:
1 |
apt-get install wpa_supplicant |
Konfigurationsdatei „/etc/wpa_supplicant/wpa_supplicant.conf“:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ key_mgmt=NONE } network={ ssid="WLAN-SSID" scan_ssid=1 psk="WLAN-KENNWORT" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP } |
Konfiguration innerhalb der Datei „/etc/network/interfaces“:
1 2 3 4 5 6 |
allow-hotplug wlan0 iface wlan0 inet dhcp pre-up wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -P /var/run/wpa_supplicant.wlan0.pid post-down killall -q wpa_supplicant # Alternative Variante # wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf |
WLAN-Interface aktivieren:
1 |
ifup wlan0 |
Categories: Allgemein, Raspberry Pi, Raspbian

Anbei eine kleine Befehlssammlung um die Audio-Konfiguration am RaspberryPi anzupassen. Soundkarten auflisten:
1 |
aplay -l |
Lautstärke festlegen (GUI):
1 |
alsamixer |
Lautsprecher testen:
1 |
speaker-test |
Categories: Allgemein, Development, Raspberry Pi, Raspbian

Nachdem der Raspberry Pi gestartet ist sollte man umgehend ein root-Kennwort vergeben und den Standardbenutzer (Benutzer: pi / Kennwort: raspberry) entfernen.
Categories: Allgemein, Linux, Raspberry Pi, Systemdienste