Hallo,
setrze einen Raspberry 1B gerade neu auf (soll 24h laufen und demnächst mit dem aktuellen Modell ersetzt werden), deshalb soll es sauber instaliert werden. Als ich gerade das Netzwerk einrichtete und mit o.g. Befehl neu startete (sudo ...) kam:
und dann der Absturz (3x reproduziert)
Die Version sudo
stürzte auch ab.
Da ich das Teil über ssh bediene sind diese Abstürze besonders lästig, ganz abgesehen von der Systemintegrität. Es folgen Einzelheiten der Installation.
An welcher Schraube muss ich drehen??
DAnke,
vdagamb
Die Rechte und der Inhalt von ifstate sehen so aus:
pi@raspberrypi1 /run/network $ ls -al
insgesamt 4
drwxr-xr-x 2 root root 60 Jan 4 23:17 .
drwxr-xr-x 11 root root 540 Jan 4 23:17 ..
-rw-r--r-- 1 root root 30 Jan 4 23:17 ifstate
pi@raspberrypi1 /run/network $ cat ifstate
lo=lo
wlan0=default
eth0=eth0
und das sind vielleicht hilfreiche Zeilen aus [font="Courier New"]/var/log/syslog[/font]
pi@raspberrypi1 ~ $ sudo cat /var/log/syslog | grep -i eth0 | tail -n 10
Jan 5 00:09:35 raspberrypi1 kernel: [ 3015.368841] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jan 5 00:09:36 raspberrypi1 ifplugd(eth0)[1700]: Link beat lost.
Jan 5 00:09:36 raspberrypi1 kernel: [ 3016.240017] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jan 5 00:09:37 raspberrypi1 ntpd[2238]: Deleting interface #2 eth0, 192.168.178.33#123, interface stats: received=46, sent=46, dropped=0, active_time=2982 secs
Jan 5 00:09:37 raspberrypi1 kernel: [ 3017.757129] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
Jan 5 00:09:38 raspberrypi1 ifplugd(eth0)[1700]: Link beat detected.
Jan 4 23:17:22 raspberrypi1 kernel: [ 3.307062] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:21:9e:0c
Jan 4 23:17:22 raspberrypi1 kernel: [ 26.063120] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jan 4 23:17:22 raspberrypi1 kernel: [ 27.571192] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
Jan 4 23:17:24 raspberrypi1 ntpd[2238]: Listen normally on 2 eth0 192.168.178.33 UDP 123
pi@raspberrypi1 ~ $ sudo cat /var/log/syslog | grep -i wlan0 | tail -n 10
Jan 4 23:15:32 raspberrypi1 ntpd[2229]: Deleting interface #3 wlan0, 192.168.178.69#123, interface stats: received=0, sent=0, dropped=0, active_time=223 secs
Jan 4 23:15:39 raspberrypi1 ifplugd(wlan0)[1678]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
Jan 4 23:15:39 raspberrypi1 ifplugd(wlan0)[1678]: client: /sbin/ifdown: interface wlan0 not configured
Jan 4 23:15:39 raspberrypi1 ifplugd(wlan0)[1678]: Program executed successfully.
Jan 4 23:17:24 raspberrypi1 ntpd[2238]: Listen normally on 3 wlan0 192.168.178.59 UDP 123
Jan 5 00:09:36 raspberrypi1 wpa_supplicant[1763]: wlan0: CTRL-EVENT-TERMINATING - signal 15 received
Jan 5 00:09:37 raspberrypi1 ntpd[2238]: Deleting interface #3 wlan0, 192.168.178.59#123, interface stats: received=0, sent=0, dropped=0, active_time=2982 secs
Jan 4 23:17:24 raspberrypi1 ntpd[2238]: Listen normally on 3 wlan0 192.168.178.59 UDP 123
Jan 5 00:15:40 raspberrypi1 wpa_supplicant[1761]: wlan0: WPA: Group rekeying completed with c0:25:06:2d:00:5f [GTK=TKIP]
Jan 5 00:25:40 raspberrypi1 wpa_supplicant[1761]: wlan0: WPA: Group rekeying completed with c0:25:06:2d:00:5f [GTK=TKIP]
Alles anzeigen
]
Die Netzwerkkonfiguration habe ich vorgenommen in [font="Courier New"]/etc/network/interfaces[/font]
auto lo
auto eth0
allow-hotplug eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.178.33
netmask 255.255.255.0
gateway 192.168.178.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address 192.168.178.69
netmask 255.255.255.0
gateway 192.168.178.1
Alles anzeigen
/etc/wpa_supplicant/wpa_supplicant.conf
und hier ist die Verschlüsselung