kein LAN nach 1. Reboot
-
- Beiträge: 6
- Registriert: 23. Mai 2018 19:02
kein LAN nach 1. Reboot
Hallo,
ich ärgere mich schon seit Monaten mit meinem Raspberry 3 und der Openhabinstallation rum. Die Installation von OpenHab 2.2.0-1 funktioniert soweit ohne Probleme. Wenn ich jedoch nach der Grundkonfiguration und den Updates das Gerät erstmals reboote, kommt danach keine Verbindung mehr über LAN zustande, lediglich noch über WLAN. Ich habe schon versucht in meiner Fritzbox feste IPs zu vergeben aber gebracht hat es nichts. Neuinstalliert habe ich schon mehrmals, das Problem tritt immer wieder auf. Sowas kann einem echt die Lust an der Heimautomation versauen.
Vielleicht weiß jemand Rat?
Mit Dank im Voraus Tilberry.
ich ärgere mich schon seit Monaten mit meinem Raspberry 3 und der Openhabinstallation rum. Die Installation von OpenHab 2.2.0-1 funktioniert soweit ohne Probleme. Wenn ich jedoch nach der Grundkonfiguration und den Updates das Gerät erstmals reboote, kommt danach keine Verbindung mehr über LAN zustande, lediglich noch über WLAN. Ich habe schon versucht in meiner Fritzbox feste IPs zu vergeben aber gebracht hat es nichts. Neuinstalliert habe ich schon mehrmals, das Problem tritt immer wieder auf. Sowas kann einem echt die Lust an der Heimautomation versauen.
Vielleicht weiß jemand Rat?
Mit Dank im Voraus Tilberry.
-
- Beiträge: 210
- Registriert: 23. Mai 2017 21:41
Re: kein LAN nach 1. Reboot
Handelt es sich um einen 3B? Hast die die openHABian-Installation gewähl? https://community.openhab.org/t/openhab ... ased/37398
Sind die Updates vollständig und fehlerfrei durchgelaufen?
Sind die Updates vollständig und fehlerfrei durchgelaufen?
-
- Beiträge: 6
- Registriert: 23. Mai 2018 19:02
Re: kein LAN nach 1. Reboot
Es ist noch der "alte" Pi 3, installiert ist das neueste Openhabian (201804031720) und die Updates sind meines Erachtens fehlerfrei durchgelaufen. Aber mit den vorherigen Versionen hatte ich das gleiche Problem.
-
- Beiträge: 210
- Registriert: 23. Mai 2017 21:41
Re: kein LAN nach 1. Reboot
Wenn das Update über LAN funktioniert, glaube ich nicht, dass du ein Hardware-Problem mit den LAN-Anschluß hast.
Ohne dir zu nahe treten zu wollen, glaube ich eher, dass es an deiner Vorgehensweise liegt. Ich habe meinen Raspi3B schon diverse male mit openHABian aufgesetzt und anfangs auch einige Probleme dabei gehabt, aber nie mit den LAN und mittlerweile funktioniert das alles reibungslos.
Falls du es noch mal probieren wills, versuche dich genau an die Anleitung zu halten und dokumentiere alle Schritte mit Fotos bzw. Screenshots.
Funktioniert über WLAN denn alles so wie es soll? Ich favorisiere zwar den LAN-Anschluß, aber wenn es im Moment bei dir so nicht funktioniert, fang doch erst mal mit WLAN an.
Möglicherweise hilft dir das weiter https://www.elektronik-kompendium.de/si ... 910021.htm
Ohne dir zu nahe treten zu wollen, glaube ich eher, dass es an deiner Vorgehensweise liegt. Ich habe meinen Raspi3B schon diverse male mit openHABian aufgesetzt und anfangs auch einige Probleme dabei gehabt, aber nie mit den LAN und mittlerweile funktioniert das alles reibungslos.
Falls du es noch mal probieren wills, versuche dich genau an die Anleitung zu halten und dokumentiere alle Schritte mit Fotos bzw. Screenshots.
Funktioniert über WLAN denn alles so wie es soll? Ich favorisiere zwar den LAN-Anschluß, aber wenn es im Moment bei dir so nicht funktioniert, fang doch erst mal mit WLAN an.
Möglicherweise hilft dir das weiter https://www.elektronik-kompendium.de/si ... 910021.htm
-
- Beiträge: 6
- Registriert: 23. Mai 2018 19:02
Re: kein LAN nach 1. Reboot
Ich hab' mal versucht den dhcp service neu zu starten und bekam folgende Fehlermeldung, worauf ich den dhcp-status abgefragt habe. Vielleicht bringt diese Info noch Erkenntnisse:
[23:33:26] openhabian@raspberry-openhab:~$ sudo systemctl restart dhcpcd
[sudo] Passwort für openhabian:
Job for dhcpcd.service failed because the control process exited with error code.
See "systemctl status dhcpcd.service" and "journalctl -xe" for details.
[23:34:27] openhabian@raspberry-openhab:~$ systemctl status dhcpcd.service
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-05-23 23:34:27 CEST; 30s ago
Process: 4337 ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -b (code=exited, status=6)
Mai 23 23:34:27 raspberry-openhab systemd[1]: Starting dhcpcd on all interfaces...
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: Not running dhcpcd because /etc/network/interfaces
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: defines some interfaces that will use a
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: DHCP client or static address
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Control process exited, code=exited status=6
Mai 23 23:34:27 raspberry-openhab systemd[1]: Failed to start dhcpcd on all interfaces.
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Unit entered failed state.
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Failed with result 'exit-code'.
[23:34:58] openhabian@raspberry-openhab:~$
[23:33:26] openhabian@raspberry-openhab:~$ sudo systemctl restart dhcpcd
[sudo] Passwort für openhabian:
Job for dhcpcd.service failed because the control process exited with error code.
See "systemctl status dhcpcd.service" and "journalctl -xe" for details.
[23:34:27] openhabian@raspberry-openhab:~$ systemctl status dhcpcd.service
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-05-23 23:34:27 CEST; 30s ago
Process: 4337 ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -b (code=exited, status=6)
Mai 23 23:34:27 raspberry-openhab systemd[1]: Starting dhcpcd on all interfaces...
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: Not running dhcpcd because /etc/network/interfaces
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: defines some interfaces that will use a
Mai 23 23:34:27 raspberry-openhab dhcpcd[4337]: DHCP client or static address
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Control process exited, code=exited status=6
Mai 23 23:34:27 raspberry-openhab systemd[1]: Failed to start dhcpcd on all interfaces.
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Unit entered failed state.
Mai 23 23:34:27 raspberry-openhab systemd[1]: dhcpcd.service: Failed with result 'exit-code'.
[23:34:58] openhabian@raspberry-openhab:~$
-
- Beiträge: 210
- Registriert: 23. Mai 2017 21:41
Re: kein LAN nach 1. Reboot
Das sieht nicht gut aus. Aber was ist die Ursache. Bekommst du denn den openHABian-Start-Bildschirm?
Code: Alles auswählen
login as: openhabian
openhabian@openHABianPi's password:
Linux openHABianPi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 22 22:42:31 2018 from 192.168.178.2
###############################################################################
################# openHABianPi ################################################
###############################################################################
## Ip = 192.168.178.3
## Release = Raspbian GNU/Linux 9 (stretch)
## Kernel = Linux 4.14.34-v7+
## Platform = Raspberry Pi 3 Model B Rev 1.2
## Uptime = 0 day(s). 0:1:5
## CPU Usage = 53.25 % avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 1.66, 5m: 0.44, 15m: 0.15
## Memory = Free: 0.40GB (42%), Used: 0.55GB (58%), Total: 0.95GB
## Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB
## Root = Free: 4.98GB (72%), Used: 1.90GB (28%), Total: 7.28GB
## Updates = 0 apt updates available.
## Sessions = 1 sessions
## Processes = 112 running processes of 32768 maximum processes
###############################################################################
Welcome to __ _____ ____ _
____ ____ ___ ____ / / / / | / __ )(_)___ _____
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/
/_/
openHAB 2.3.0.RC1-1 (Milestone Build)
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at http://docs.openhab.org/installation/openhabian.html
The openHAB dashboard can be reached at http://openHABianPi:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
[08:32:01] openhabian@openHABianPi:~$ systemctl status dhcpcd.service
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/dhcpcd.service.d
└─wait.conf
Active: active (running) since Wed 2018-05-23 13:27:05 CEST; 19h ago
Process: 341 ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w (code=exited, status=0/SUCCESS)
Main PID: 496 (dhcpcd)
CGroup: /system.slice/dhcpcd.service
├─414 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
└─496 /sbin/dhcpcd -q -w
May 23 13:26:55 openHABianPi dhcpcd[341]: eth0: adding address fe80::3832:c46:be94:4b96
May 23 13:26:55 openHABianPi dhcpcd[341]: eth0: soliciting an IPv6 router
May 23 13:26:56 openHABianPi dhcpcd[341]: eth0: rebinding lease of 192.168.178.3
May 23 13:26:59 openHABianPi dhcpcd[341]: eth0: probing address 192.168.178.3/24
May 23 13:27:05 openHABianPi dhcpcd[341]: eth0: leased 192.168.178.3 for 864000 seconds
May 23 13:27:05 openHABianPi dhcpcd[341]: eth0: adding route to 192.168.178.0/24
May 23 13:27:05 openHABianPi dhcpcd[341]: eth0: adding default route via 192.168.178.1
May 23 13:27:05 openHABianPi dhcpcd[341]: Failed to get unit file state for ntp.service: No such file or directory
May 23 13:27:05 openHABianPi systemd[1]: Started dhcpcd on all interfaces.
May 23 13:27:08 openHABianPi dhcpcd[496]: eth0: no IPv6 Routers available
- udo1toni
- Beiträge: 15243
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: kein LAN nach 1. Reboot
Das aktuelle openHABian 1.4.1 sollte eigentlich auf Basis von debian stretch laufen, das nutzt meines Wissens kein dhcpcd sondern networking für die Schnittstellen.
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet
-
- Beiträge: 210
- Registriert: 23. Mai 2017 21:41
Re: kein LAN nach 1. Reboot
@udo1toni
Wie du meinem Text entnehmen kannst, habe ich 1.4.1 (stretch) im Einsatz und systemctl status dhcpcd.service scheint zu funktionieren.
Wie du meinem Text entnehmen kannst, habe ich 1.4.1 (stretch) im Einsatz und systemctl status dhcpcd.service scheint zu funktionieren.
-
- Beiträge: 6
- Registriert: 23. Mai 2018 19:02
Re: kein LAN nach 1. Reboot
Also, ich hab' jetzt nochmal neu installiert. Bis jetzt funktioniert LAN auch nach dem ersten reboot. Einzige Änderung war, dass ich nicht gleich nach der Installation das WLAN konfiguriert habe. Normalerweise hätte das aber kein Problem darstellen sollen, der Raspi wäre dann einfach unter 2 IPs (von 2 Netzwerkadaptern) im Netz gewesen. Das scheint aber nicht ohne Weiteres zu funktionieren. Ich werde jetzt erstmal ohne WLAN weiter machen, und das System sichern bevor ich da wieder rangehe (der Amazon Dash-Button soll später über ein eigens gespanntes WLAN am Raspi laufen).
Danke für Eure Mühe
Danke für Eure Mühe
- udo1toni
- Beiträge: 15243
- Registriert: 11. Apr 2018 18:05
- Wohnort: Darmstadt
Re: kein LAN nach 1. Reboot
@hr3 Ja das habe ich durchaus gesehen. Ehrlich gesagt habe ich zur Zeit kein Raspbian unter stretch laufen, und ich bin zu faul, deswegen einen Raspberry anzuschließen. Mit dem normalen debian stretch wird kein dhcpcd eingerichtet, ich finde das durchaus interessant.
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet