I have just changed internet provider from Vodafone to Virgin and I’m now using Virgin’s router; in the old one the internal ips were 192.168.1.x; now, on the new router the ips are 192.168.0.x; I can see that the pi gets assigned an ip (192.168.0.21) but I cannot access this via browser as I used to do
I remember when configuring hassio there was only a range of ips from which connections were allowed and it was set to 192.168.1.x;
If you have Samba installed, access configuration.yaml and change the trusted networks. Restart HA.
If you can connect a console to your HA server, restarting may be easier.
I haven’t got SSH neither Samba set upunfortunately; I managed to access the sd card file (including the config file) by inserting the sdcard into my laptop booted with ubuntu, but I can only open files in read only mode…
Did you edit the network/my-network on the card or did you just boot normally?
Check for the new IP on your router or use some app like fing on your mobile to find it.
I’m supposing you are using ethernet while booting right? Did you have Ethernet before or did you set up the same SSID to your new router for the pi to connect?
so now the problem was that I had to remove the mouse receiver before booting for the first time; it worked for 1 day on the ip assigned by the router (192.168.0.21) then I changed the dhcp reservation to give it 192.168.0.15, restarted the router, couldn’t connect, restarted the pi, couldn’t connect; change dhcp back to other ip (192.168.0.21), restarted the router and the pi, I still can’t connect…
I have the same issue, but I dont have anything in my configuration that says allowed ip.
My router assigned this ip: 192.168.0.38/24.
I moved from one router to anohter, in that router maybe it was with another ip.
but I have this:
Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: xxxx.duckdns.org added:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
In case anyone else has this problem. I may not have changed my router, but I did a factory reset on my old router and then put in my old router information (ID/Password)
Even though I had a duckdns prior to reset I still needed to go to: https://homeassistant.local:8123/config and log in with my old credentials (old being pre-factory reset on my router). Once this was done I was successfully logged in.
I should note that I had previously backed up my router’s settings, which included a static IP of my HA Odroid N2+ (not sure if this made any difference with that)
To restore your DuckDNS, after a factory reset of the router, you need to make sure that you have port forwarding properly set up. Everything Smart Home (on YouTube) provides solid direction on completing this (https://www.youtube.com/watch?v=AK5E2T5tWyM).
I had the same problem, and could not for the life of me work out how to access HA again after making sure everything was setup and port forwarded correctly etc.