You are not logged in.
Every once in a while, after suspend, internet connection is not possible. It's not exclusive to Linux, happens in Windows too. But there I have a network troubleshooter that always recommends to "reset the adapter" and after that internet is back and working.
I'd like to know how to "reset the adapter" in Linux too?
I'm using ethernet connection with a cable modem. In Linux, NetworkManager, its built-in dhcp, with Nm systray app. I also use systemd-resolvd.service.
Trying to disconnect and reconnect via NM app doesn't help. 'Please wait' icon endlessly loops until it stops without internet.
Stopping and restarting NetworkManager.service doesn't help either.
The only thing that helps is restart.
What should I do next time?
Thanks!
Last edited by maboleth (2023-02-16 20:03:22)
Offline
Check for any error logs from network manager to describe what the actual problem is. A "please wait" icon is not informative. I don't know where to look for nm logs, but if nothing else, the output of the following (when this problem occurs) would be a start:
ip a
systemctl status NetworkManager.service
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'd like to know how to "reset the adapter" in Linux too?
Perhaps try
# modprobe -rv $driver
# modprobe -v $driver
Replace $driver with the actual name of the driver, which can be found with
lspci -k | grep -A3 Eth
See the "kernel driver in use" line.
Wild guess: https://wiki.archlinux.org/title/Networ … 8111/8168B
NM logs to the systemd journal so that would be useful here.
Para todos todo, para nosotros nada
Offline
Thanks a lot guys. Kernel driver is r8169. I will mark this as Solved, but will test it when the time comes.
Offline
Perhaps try
# modprobe -rv $driver # modprobe -v $driver
Happened today and this one helped immediately. Thanks.
Offline