Score:0

Ubuntu 18.04 losing new internet access

us flag

A really weird problem, I can connect with cable, WiFi, USB->Cable and it works fine. I can remotely login with anydesk, browse the net, ping etc.

After a few minutes I can no longer access the internet or even ping the local address of the gateway. But the strange issue is I am still able to access and control from the remote anydesk session. Even local traffic such as MySQL connections fail.

The network icon shows ? and to get things working again I need to turn off then turn on the connection. It does not matter what adapter I choose, Wired, WiFi, USB, the problem is persistent across all.

I can't find any errors in the logs and I am totally stumped. I am at the point of running a script to check the network every 30 seconds and down then up it when it fails. Anyone had a similar problem that has solved the issue ?

waltinator avatar
it flag
Look at the logs! `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`. It's always better to diagnose the problem before attempting a "fix".
Ross avatar
us flag
I did say "I can't find any errors in the logs and I am totally stumped" the problem is intermittent and sometimes a week or two will pass without errors, today it was every few minutes. The system has been running for years without problems so I assumed faulty cable or switch, they have been replaced and still the problem persists. I am beginning to think an update has broken something, but its unlikely to be a driver since it happens on all interfaces. BTW you should not need to use sudo as you suggested its never a good idea to use root privileges when not needed.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.