Openhabian - no internet connection on raspberry


(Jochen Bauer) #1

Dear Community,

I am running openHAB 2.4.0 (openhabian) and these days my internet connection isn’t there anymore. Anyone got the same situation? What are the next steps to solve this issue? See my logs attached.

2018-03-13_22:53:59_UTC [openHABian] Starting the openHABian initial setup.
2018-03-13_22:53:59_UTC [openHABian] Storing configuration… OK
2018-03-13_22:53:59_UTC [openHABian] Changing default username and password… OK
2018-03-13_22:53:59_UTC [openHABian] Setting up Ethernet connection… OK
2018-03-13_22:53:59_UTC [openHABian] Ensuring network connectivity… FAILED
2018-03-13_22:55:44_UTC [openHABian] The public internet is not reachable. Please check your network.
2018-03-13_22:55:44_UTC [openHABian] Initial setup exiting with an error!

Best regards,
Jochen


(Jochen Bauer) #2

Hm, strange … I pinged google.com and it works:

[21:48:47] openhabian@openHABianPi:~$ ping google.com
PING google.com(fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e)) 56 data bytes
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=1 ttl=57 time=24.0 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=2 ttl=57 time=22.7 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=3 ttl=57 time=22.8 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=4 ttl=57 time=23.0 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=5 ttl=57 time=22.9 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=6 ttl=57 time=22.9 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=7 ttl=57 time=23.0 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=8 ttl=57 time=23.1 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=9 ttl=57 time=23.0 ms
64 bytes from fra16s24-in-x0e.1e100.net (2a00:1450:4001:824::200e): icmp_seq=10 ttl=57 time=23.0 ms
^C
google.com ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 9010ms

So - where does this error message comes from, when logging into the raspi by using ssh?


(CM6.5 H102) #3

You can ping google so I would start with checking your DNS provider. Maybe even set the DNS provider to use google ( 8.8.8.8 or 8.8.4.4) for the initial OH setup.

Since your on an RPI please make sure the power supply is 5v 2.5A and in good working condition as a faulty power supply can lead to weird issues. The other thing to check is the Ethernet cable. For installing you might want to move the RPI near the router and move wherever after installing.

If that doesn’t work please provide as much info about your configuration as possible so we can troubleshoot further.

Hope this helps.