I noticed that updates were failing, I tried to update from UI and that failed. So I ssh into server and found that no external hosts were resolving, I can’t connect to the internet. It was working fine for several weeks and then stopped. I don’t remember changing anything. So I can’t upload logs for the same reason.
Here is what I get when trying to update. I also changed /etc/resolve.conf to 8.8.8.8 still not working. It connects to local network and nas in the garage fine.
Any troubleshooting steps or ideas greatly appreciated. I had to remove some of the links as new users are limited in what they can post.
root@bedroom:/etc# apt-get update
Err:1 Index of /debian bullseye InRelease
Something wicked happened resolving ‘deb.debian.org:https’ (-5 - No address associated with hostname)
Err:2 https://security.debian.org bullseye-security InRelease
Something wicked happened resolving ‘security.debian.org:https’ (-5 - No address associated with hostname)
Reading package lists… Done
W: Some index files failed to download. They have been ignored, or old ones used instead.
Thank you for your reply, I hope this tells you something.
Static IP
osmc@bedroom:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 94:cc:04:60:08:df brd ff:ff:ff:ff:ff:ff
inet 192.168.0.45/24 brd 192.168.0.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,DYNAMIC> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a0:67:20:09:ab:21 brd ff:ff:ff:ff:ff:ff
osmc@bedroom:~$ ip ro
default via 192.168.0.1 dev eth0
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.45
192.168.0.1 dev eth0 scope link
Encouraged by your generous kind help, I did step back and do what you suggested.
I switched to a different port on the larger switch, no affect. Then I switched it to a different switch, a smaller one that was plugged into the larger switch, and bingo everything works again. I realized, even though there are many other devices connected to the large switch, none of them need to get out to the internet. The larger switch is the one the router is plugged into. It’s still a bit unknown, because the old previous connections worked fine for over a month.
Thank you again for your nice help, so appreciated!!!