I’m using a wired network. One day, the Home Assistant server just didn’t connect. I rebooted both it and the network, I’ve plugged in other things to the network to check they work.
When I log in as root and type “ha network info eth0” it says:
enabled: true
interface: eth0
ipv4:
address: []
gateway: null
method: disabled
nameservers: []
ipv6:
address:
- 2a02…
- fe80 … etc
gateway: fe80…etc
method: auto
nameservers:
- 2a02 etc
- 2a02 etc
primary: true
type: ethernet
vlan: null
wifi: null
If I try “ha network update eth0 -e” I just get a timeout:
Post “http://superuis/turk/interface/etho/update”: context deadline exceeded (Client. Timeout exceeded while awaiting headers)
If I try that (also tried ipconfig eth0 up), then I get “/bin/ash: ipconfig not found”. What am I doing wrong? Also tried “ha ipconfig…” and it says unknown command. Thank you!
Yes, I tried ifconfig - when it didn’t work I wondered if it was a typo so I tried ipconfig (I’m used to windows!). So I’ve tried both with the same result. Thanks for your help though.
I’ve already tried 2 cables, and both work with my PC, neither with the PI… but despite the error message, after another reboot it seems to be working again, so I guess that must have fixed something, thank you!
I’m on Home Assistant OS 5.9 and Home Assistant Core 2021.1.5.