Hi all! I’ve run into a bit of a problem and I need help. Apologies if this is not the right place to ask.
I’ve recently stumbled across Home Assistant and have set up a few automations already with my Xiaomi Vacuum, integrated Telegram etc. I came across the AdGuard Home integration (https://www.home-assistant.io/integrations/adguard/) and installed it.
I’m sure I messed up something during the installation, so I’ll do my best to re-trace my steps in what I did:
- I installed the AdGuard Addon using the steps in the documentation
- Nothing happened, so I changed the DNS settings in my router to the DNS addresses (4 of them) listed on the “setup” page of AdGuard.
- AdGuard worked fine on my personal laptop, but it was not able to identify or control other computers in my household. They simply did not show up in the logs, although I tested a block of Facebook.com and that seemed to work on other devices.
- Then I noticed that HomeAssistant’s connection to the Xiaomi vacuum had disappeared, and that my other (non-Home Assistant) Raspberry Pi’s were not able to connect to the internet either. I figured it could have been an issue with AdGuard so I uninstalled it.
This is where it gets weird:
- After uninstalling AdGuard, I am no longer able to connect to the internet from my personal laptop and any of my Raspberry Pi’s. My work laptop, and other computers in my household, are unaffected.
- I can still SSH from the affected laptop into the affected Raspberry Pi’s. Just that they cannot connect to the WWW.
- From the affected laptop, I can only connect to the internet using a VPN. The other Raspberry Pis will only connect to the internet after entering this command, which I found after extensive Googling of the issue:
sudo sh -c 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf'
- My Xiaomi vacuum also refuses to connect to the internet.
Steps I’ve taken:
- I’ve tried to re-set the DNS settings in my router to the original ones, the usual DNS addresses like 1.1.1.1 and 8.8.8.8. This did not solve the issue.
- Entering the command above using SSH into my Pi’s enables them to connect to the internet. Using a VPN on my personal laptop enables me to connect to the internet. But I’d like to know why I can’t connect to internet if I don’t do these things, and what causes it.
I’ve currently unplugged the Home Assistant device. I’m completely at my wit’s end. I have no idea how to even begin searching for a solution. Please point me in the right direction!