Hi to everyone.
I installed pi.hole in my network, and noticed that if I set it to answer only to devices one hop away, Home Assistant stopped working.
It seemed that all DNS queries coming from Home Assistant had to pass through my home router.
So I installed “Advanced SSH & Web Terminal” to investigate further, and discovered that the routing table was missing a row for local network:
➜ ~ ip r
default via 192.168.0.1 dev enp0s5 src 192.168.0.6 metric 100
172.30.32.0/23 dev hassio scope link src 172.30.32.1
172.30.232.0/23 dev docker0 scope link src 172.30.232.1
I added it with command sudo ip r add 192.168.0.0/24 dev enp0s5 and everything started working correctly. The problem is that I do not know how to make this permanent. I saw mention of nmcli in other posts, but it doesn’t seem to be installed
nmcli
zsh: command not found: nmcli
Do you have any advice?