Can’t access most websites on a particular computer and a particular wireless network
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
Can’t access most websites on a particular computer and a particular wireless network
I recently installed linux for the first time (I’m using deepin 15.7) and I can’t access most websites. I’ve tested in three other computers running the exact same distribution, on the same network (wireless) and they’re fine, and I can normally access every website in other connections. I don’t know if it matters, but most of the websites i AM able to access are mostly google services (google.com, gmail, google drive, google sheets) another one is facebook. I am able to ping these websites, but not 8.8.8.8 or the opendns one.
Hey, I’m a newbie when it comes to linux, so, forgive me if i’m doing something wrong.
I’m not sure what startup scripts and network manager are, but I assume i’m using network manager based on the “#Generated by NetworkManager” line, but if it’s not, let me know and i’ll search it up.
Code:
Route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
Resolv.conf:
# Generated by NetworkManager
nameserver 2001:12f0:618:160::2
nameserver 2001:12f0:619:340::3
Thanks for the help! xD
Last edited by Matheus_Dias; 09-24-2018 at 05:03 PM.
In addition to the above suggestions, try a "traceroute" to a couple of sites you can connect to, then to a couple of sites you can't connect to and pipe the results to files. By comparing the files, you may get a hint as to what is breaking down. For example:
Code:
traceroute [address] > [somefile.txt]
traceroute [address1] > [somefile1.txt]
and so on.
Route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
Resolv.conf:
# Generated by NetworkManager
nameserver 2001:12f0:618:160::2
nameserver 2001:12f0:619:340::3
That seems to be showing what frankbell & ondoho have already explained. You have IPV6 capability, but not IPV4
When IPV4 was switched off for a weekend some years back, the whole internet broke in many places. It runs (still) on IPV4. You have an IPV6 setup. What's your modem IP address? What's NetworkManager smoking? Here's my setup
Code:
bash-4.4$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default xxx.xxx.xxx.1 0.0.0.0 UG 304 0 0 wlan0
loopback 0.0.0.0 255.0.0.0 U 0 0 0 lo
xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 304 0 0 wlan0
Where xxx.xxx.xxx.1 is my modem address (e.g. 192.168.1.1) and 192.168.1.0 is my home network. You need routes to
Your modem (
yourself
Your home network.
Any other network you need access to (e.g. your job's network).
You can install these by hand with 'route add <details>' See man route for details. And here is my resolv.conf
Code:
bash-4.4$ cat /etc/resolv.conf
# Generated by dhcpcd
nameserver 208.67.222.222
nameserver 208.67.220.220
# /etc/resolv.conf.tail can replace this line
bash-4.4$
You can see the opendns servers in there. I believe google is IPV6 capable. I certainly am not atm. I'm a user, not a sysadmin. While you are figuring this oput, modify /etc/resolv.conf, and put in my 2 name servers above the IPV6 ones that NetworkManager has in there. Add a few routes manually, and try things.
You'll have to go at networkmanager, but I'm not the one to do much for you there. I'm only cominjg up to speed on that myself.
Your isp normally gives out DNS addresses when the modem connects; Your modem/router gives out DNS addresses when you connect. These can be what the ISP offers, or your own choices. Then you can use the ones you're offered, or your own ones. You configure that on your box. I was able to filter the modem not to pick up dodgy sites, but free myself not to be restricted; It's not that I want porn, but I want sci-hub.
this was my thread about the issue back then.
i did get it solved in the end, but i don't exactly remember how.
i'm not exactly hot on networking stuff.
also, some things have probably changed (a lot) since then, at least on archlinux: systemd is now doing most if not all of the networking.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.