How to edit files / network config from hassio CLI?

I had HassIO installed and working fine on an Intel NUC, connecting to network via wire and via DHCP.

But after resetting my router to factory defaults HassIO does not get an IP via DHCP anymore.

The router settings are fine and other devices connect successfully via DHCP.

The network port is blinking on the router and in the router.

ha info shows 172.30.32.1 IP, so I guess it’s not getting an IP from DHCP.

How can I edit files in the limited HassIO CLI? Or at least set/reset network settings?

I assume something was left saved in the neworking config files from the previous connection (though same router, just reset to factory defaults).

I don’t necessary gear to move SSD to other device, mounted and edit files.

Thanks

(on a side note/bitching note, I find it pretty ironic how I am using the recommended method to install Home Assistant and I’m limited to this over-simplistic CLI)

This is the internal Docker IP, not the actual IP on your network.

The over-simplistic CLI is due to the OS that your install method runs on. Its not a full linux distribution like you may be used to. Its has what it needs to run HomeAssistant and that is about it. this is a plus from a maintenance/security perspective but can throw off some users who try to use ‘traditional’ linux commands.

This may also be of interest.

3 Likes

Eventually I was able to find the IP on my router’s DHCP lease list.

I did not find it initially probably due to some cable connection problem.

Thanks