Internet connection issue in Linux

AI Thread Summary
The discussion revolves around a user experiencing connectivity issues on a new Linux system, initially suspecting a DNS problem due to inconsistent access to websites. They can connect to some sites like Google but not others, leading to confusion about the source of the issue—whether it’s related to their connection, a VPN, or a broader internet disruption. Suggestions include checking the DNS server by pinging it and accessing websites via their IP addresses to determine if the problem is DNS-related. The user confirms they can ping the DNS server but still encounters issues, suspecting that recent changes related to their VPN may have caused the problem. Another participant suggests modifying the /etc/resolv.conf file to include specific DNS server addresses, recommending free services like OpenDNS as a potential solution.
CRGreathouse
Science Advisor
Homework Helper
Messages
2,832
Reaction score
0
My (new*) linux system is having trouble connecting to most websites. Originally I thought it was a DNS issue, because I can connect to some websites (Google, thanks goodness, and physicsforums of course), but now I'm not sure.

What do you think this is? Is it me, my connection, or an Internet-wide disruption? (Amusingly, I can't access http://downforeveryoneorjustme.com/ .) Is there anything I can do?

* Thanks again to those on this and other boards who helped me set this computer up!
 
Computer science news on Phys.org
Well, I was able to resolve my issue (most of the way) just by using a VPN to connect. I'm still curious as to the source of the problem, but I guess that suggests a problem with either my VPN (changing settings that make it hard to connect normally) or a local outage (avoided when I go through the VPN).
 
You can easily check if it's a DNS issue by:
1) ping (trace) your DNS server and check for disrupted packages.
2) Look up the IP addresses of the websites you can't access using someone else's computer. Then try to access the website directly from its IP. If you can you have a DNS problem.
If you can connect to google then you don't have a TCP/IP problem. Maybe your IP tables are corrupted? Maybe your firewall isn't configured properly? What error message do you get when you can't access a website?
You didn't really give us any information to work with so I can only guess.
 
daniel_i_l said:
You can easily check if it's a DNS issue by:
1) ping (trace) your DNS server and check for disrupted packages.
2) Look up the IP addresses of the websites you can't access using someone else's computer. Then try to access the website directly from its IP. If you can you have a DNS problem.
If you can connect to google then you don't have a TCP/IP problem. Maybe your IP tables are corrupted? Maybe your firewall isn't configured properly? What error message do you get when you can't access a website?
You didn't really give us any information to work with so I can only guess.

I could ping my DNS server just fine. I was able to find some IP addresses but couldn't actually tell if that worked (funny, I know): the sites that I tried didn't load, as such, but they found the IP address and then choked on a redirect. Still, I think the issue was not a DNS problem but something else, probably something caused by installing, turning on, or turning off my VPN (since that's the only network-related thing I've changed recently).
 
CRGreathouse said:
I could ping my DNS server just fine. I was able to find some IP addresses but couldn't actually tell if that worked (funny, I know): the sites that I tried didn't load, as such, but they found the IP address and then choked on a redirect. Still, I think the issue was not a DNS problem but something else, probably something caused by installing, turning on, or turning off my VPN (since that's the only network-related thing I've changed recently).

Hi friend,
I had the same trouble in this issue. The problem is DNS servers on your "resolv.conf" file.
If you go to /etc/resolv.conf, and then add this line into it, It probably works.
nameserver your.dns.server.ips
nameserver your.dns.server.ips
nameserver your.dns.server.ips
or you can use free services such as OpenDNS
nameserver 208.67.222.222
nameserver 208.67.220.220
Sorry for my poor Engish,
I hope this works.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top