LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-04-2024, 06:54 AM   #1
Fitch
LQ Newbie
 
Registered: Feb 2011
Location: Edinburgh
Distribution: Ubuntu 22.04
Posts: 29

Rep: Reputation: 1
No internet (ish)


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?
 
Old 05-04-2024, 08:50 AM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 964

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
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
 
Old 05-04-2024, 10:52 AM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555

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?

 
Old 05-05-2024, 05:30 AM   #4
Fitch
LQ Newbie
 
Registered: Feb 2011
Location: Edinburgh
Distribution: Ubuntu 22.04
Posts: 29

Original Poster
Rep: Reputation: 1
Seems to have sorted itself

Hi all and thanks for getting back.

Yes the IP addresses works and the names didn't.

I don't know why I did, but I tried the VPN, and everything came up on the browser.
I then switched off the VPN and everything still worked.

I even rebooted. So far, everything is good.

Still a tad confused, but hey ho!
 
  


Reply

Tags
browser, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandy 9.1 - some first(ish) impressions DiBosco Linux - Distributions 6 06-12-2003 06:02 PM
Im new(ish) at linux and need some help David_H Linux - General 9 01-14-2003 02:32 PM
Wireless newbie(ish) briancof Linux - Wireless Networking 1 08-05-2002 06:35 AM
Redhat 6.2 and Openssh 3.x-ish finegan Linux - Software 0 05-20-2002 01:22 PM
KVM woes <off topic ish> Dave Campbell Linux - General 0 04-23-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration