#HA OS - Static ip without web ui access

1 messages · Page 1 of 1 (latest)

lone mirage
#

Hello, is there away to change static ip without access to web ui? I can make it to SSH, but not web. I didn't find a file or command to change the settings, any help please?

TLDR: I was changing subnet, and I need to change the ip inside of it (right now its connect to mikrotik router with previous subnet, without an internet access, only LAN), but for some reason, web ui loads infinitely since that happened.

Thanks!

#

HA OS - Static ip without web ui access

soft lance
#

you can. Easiest way would be to enter the cli of home assistant and set ip config to dhcp so it will get an ip from NEW router/gateway. After a reboot it will be accessible through webbrowser.

#

enter ha cli > type "login" and press enter > Type "ha network info" enter > NOTE YOUR INTERFACE NAME > type "ha network update XXXX --ipv4-method auto" replacing XXXX with your interface name. After that type "ha host reboot"

#

in webbrowser you can then set it to static ip in HA system/network settings.

soft lance
#

or leave it dhcp and set static ha ip in router/gateway.

lone mirage
soft lance
#

did it work? if yes, you can mark thread as resolved.

lone mirage
soft lance
#

delete cache browser/app

lone mirage
#

hm didn't work, but how i see on other devices its working, browser issue i guess