Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having had a working Ubuntu Mate desktop for over a decade, dutifully updating and upgrading along the way (now on Jammy and Mate 1.26.0) I have had few problems.
Then 3 days ago, no internet.
I was even complaining to Vodafone (through the Vodafone fibre, with a telephone connected to the Vodafone router - wasn't thinking, just panicking).
Firefox, Chrome, Brave and Thunderbird mail all "No server" EXCEPT I could browse anything in my LAN, including the router and my NAS.
Trawling through the forums on a 20 year old laptop with fading screen, I found that "eth0" could disappear and be replaced by some weird label, in my case "enp63s0".
As advised on a forum, I changed /etc/network/interfaces to suit.
Shouldn't have bothered.
I then found somewhere else that I should alter /etc/default/grub and update/reboot.
Hey presto, I got eth0 back.
But no internet..
Out of desperation, I tried Telegram.
Lo and behold, it worked.
So I then tried my VPN, fired up my browser and everything came up as though nothing was wrong. Without the VPN it's back to "No server".
What's going on?
Can I just find my DVD and reload my network interface thingy, or is there another way?
enp63s0 is not weird but self-explanatory, modern udev constructs network interface names this way, leave it alone because it matters not a jot how it is called. The useful bit of information here is that telegram works while nothing else does. Unlike the vast majority of programs, telegram connects to its servers by ip addresses, not by symbolic names, so it indicates some sort of DNS misconfiguration. Further reading: https://www.google.co.uk/search?q=tr...ting+dns+linux
If it's DNS related, pinging a domain name will fail but pinging an IP address will work - e.g. compare "ping -c4 example.com" and "ping -c4 93.184.215.14"
Check whether you have DNS configured in /etc/resolv.conf (Also, because you're on a systemd-based distro, there's a bunch of complexity added which systemd-resolved may or not explain.)
Check the contents of /etc/nsswitch.conf - what does the hosts line contain?
Check the router? Maybe it's had an update and/or restart which reset some settings?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.