Issue of the topic: Hey everyone, just a quick heads up, this is my first time using a Raspberry Pi and I don’t know anything, so please explain anything like I’m a dumb person, thanks!
Alright so I tired to install openhabian on my Raspberry Pi but the setup said something like [FAILED] Failed to Start /etc /rc.local Compatability. And now I’m stuck, I can’t connect to openhabianpi:8080 to continue the installation.
I tried to do: sudo /boot/first-boot.sh but it said that the command was not found.
Any help is greatly appreciated
I did do it like in the install docs, however I cant execute any command that is mentioned in the debug guide. For example if I type “openhabian-config” it says “bash: openhabian-config: command not found”
After trying sudo openhabian-config as @mstormi mentioned and it still does not work try changing your DNS to use something like google e.g. 8.8.8.8 then flash a new image.
You can try manually logging in after failure and issue these commands.
Sudo apt update
Then sudo apt upgrade
Let them run then try reboot and see if setup completes. I had a failure like this in the past and manually doing the updates fixed it. If this does not work follow the trouble shooting guide in the openhabian docs. Also sometimes the dns can be a problem.
I have had some problems recently updating my pi. Issuing a second update command works. I suspect it is related to my dns setup.
That may help but it’s not the right approach.
Your DHCP server (your Internet router, typically) needs to assign DNS server addresses to use to its DHCP clients, and typically the router itself is your DNS server, too. That also means you need to set it up to work like one.
If you don’t properly set that stuff up once and for all clients to work, you’ll keep hitting trouble all along the way.
hello, thanks for the reply. I already have a raspberry running openhab 2.4 and I have never had such problems.
My modem is set with DHCP active but I have manually set some fixed addresses.
Should I change something in my current configuration?
Thanks
Hello and thanks for the reply,
I checked the data of the file in /etc/resolv.conf and comparing them with the modem configuration they seem correct. I don’t know what else to do