raspberry – Umstellung auf Jessie

20. März 2016 at 09:04
Print Friendly, PDF & Email

Da mein System aufgrund einer korrupten SD-Karte nicht mehr lief, habe ich ein frisches Jessie eingespielt.
Folgende Änderungen musste ich vornehmen:

1-Wire

Die aktuelle firmware verwendet jetzt den device tree.
Dies ändert die Einstellungen für I²C, SPI, and 1-wire bus.

sudo nano /boot/config.txt

[codesyntax lang=”bash”]

dtoverlay=w1-gpio,gpiopin=4

[/codesyntax]

Netzwerk

Früher wurde eine statische IP-Adresse in der Datei /etc/network/interfaces hinterlegt. Dafür gibt es jetzt /etc/dhcpcd.conf.

sudo nano /etc/network/interfaces

[codesyntax lang=”bash”]

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
[/codesyntax]

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

[codesyntax lang=”bash”]

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="meinwlan"
psk="meinwlanpassword"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
[/codesyntax]

sudo nano /etc/dhcpcd.conf

[codesyntax lang=”bash”]

# add this to the end of the file
interface wlan0
static ip_address=192.168.178.61/24
static routers=192.168.178.1
static domain_name_servers=192.168.178.1

[/codesyntax]

Syslog

Im syslog wird alle paar Minuten ein Fehler protokolliert:

[codesyntax lang=”bash”]

Feb  4 16:39:01 System rsyslogd-2007: action ‘action 17’ suspended, next retry is Wed Feb  4 16:39:31 2015 [try http://www.rsyslog.com/e/2007 ]

[/codesyntax]

Den letzte Abschnitt der /etc/rsyslog.conf auskomentieren, danach sollte das so aussehen:

[codesyntax lang=”bash”]

#daemon.*;mail.*;\
#   news.err;\
#   *.=debug;*.=info;\
#   *.=notice;*.=warn

[/codesyntax]