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!
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.
I have the exact same issue as @Jochen_Bauer.
Yesterday I was able to install clean 2.4.0 on Raspberry Pi3.
I had no issues but after screwing the update to 2.5.0 M1 I formatted my SD and tried again.
I get this log:
login as: openhabian openhabian@192.168.0.100’s password:
Linux openHABianPi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 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: Wed Mar 14 08:17:20 2018 from 192.168.0.101
Every 2.0s: cat /boot/first-boot.log openHABianPi: Wed Mar 14 08:33:11 2018
2018-03-13_22:53:39_UTC [openHABian] Starting the openHABian initial setup.
2018-03-13_22:53:39_UTC [openHABian] Storing configuration… OK
2018-03-13_22:53:39_UTC [openHABian] Changing default username and password… OK
2018-03-13_22:53:39_UTC [openHABian] Setting up Ethernet connection… OK
2018-03-13_22:53:39_UTC [openHABian] Ensuring network connectivity… FAILED
2018-03-14_00:18:47_UTC [openHABian] The public internet is not reachable. Please check your network.
2018-03-14_00:18:47_UTC [openHABian] Initial setup exiting with an error!
2018-03-14_08:17:11_UTC [openHABian] Starting the openHABian initial setup.
2018-03-14_08:17:11_UTC [openHABian] Storing configuration… OK
2018-03-14_08:17:11_UTC [openHABian] Changing default username and password… SKIPPED
2018-03-14_08:17:11_UTC [openHABian] Setting up Ethernet connection… OK
2018-03-14_08:17:11_UTC [openHABian] Ensuring network connectivity…
The weird part is that at first try it worked, not I’m formatting SD card again, switching ports in my router and nothing helped
@H102 from my PC everything works fine. Other devices connected to my network have access to the internet (a couple of Wemos devices and NAS)
I don’t know how to check that from raspberry and openhabian.
When I SSH to my PI and login as openhabian I get first-boot.log content. I don’t know how to exit that to be able to execute commands,
EDIT:
I was able to exit log view with Ctrl+C (need to learn Linux commands bit more)
After trying to ping google.com I got this :
openhabian@openHABianPi:~$ ping google.com
ping: google.com: Temporary failure in name resolution
As for the linux commands, search google for a list and bookmark it. Here’s a link that has a few commands that come in handy. https://community.linuxmint.com/tutorial/view/244
The link’s for linux mint but most commands will work with any debian based system.