Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-02-2013, 05:20 AM
|
#1
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Rep:
|
Can't connect to some websites
Hello,
I performed a fresh Archlinux install a couple of days ago. Everything is fine, no hardware errors, the package manager and curl work like a charm, but web browsers get stuck while connecting to some websites.
I tried with elinks, chromium and firefox and they get stuck on SSL negotiation or "waiting for <website>" for very long times.
Installed the whole thing again. Same issue.
Just tested with:
Code:
openssl s_client -connect facebook.com:443
openssl s_client -connect google.com:443
Seems to work fine, I can GET with no problems.
Then tested with:
Code:
wget --debug -O - https://facebook.com
It gets stuck to "Initializing SSL handshake" and after a couple of minutes the connection is closed with error message "Unable to establish SSL connection."
The system date and time are correct, the system is up to date, used the latest install image available at http://archlinux.org, installed following the install guide from the Archlinux wiki.
All tests performed as root.
I've also installed Windows 8: no network problems. Checked the MTU: looks correct. dmesg does not report anything strange.
Some sites get stuck only at first and then send data at normal speed. Some others instead don't work at all.
|
|
|
06-02-2013, 01:38 PM
|
#2
|
Member
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84
Rep:
|
Have you tried temporarly disabling IPv6?
|
|
|
06-02-2013, 05:45 PM
|
#3
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Original Poster
Rep:
|
Yeah. Also tried disabling TCP window scaling and ECN.
The strange thing is that websites work at first, but after a couple of seconds the connection slows down and blocks the next requests, as if the server doesn't respond. This happens with the web browsers only, because the package manager works well (over HTTP) even after the browsers stop working..
|
|
|
06-02-2013, 05:57 PM
|
#4
|
Member
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84
Rep:
|
Weird QOS settings?
I think you'll have to use tcpdump to solve the mistery.
|
|
|
06-04-2013, 02:24 PM
|
#5
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Original Poster
Rep:
|
Can't see anything strange from the output of tcpdump.
Just noticed that if I connect over TOR, the issue is not present. Other computers connecting from my LAN don't suffer from this problem (those machines run Win8 and Archlinux also).
|
|
|
06-04-2013, 05:37 PM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
Are the other machines using the same dns service ?
i like Google
8.8.8.8 and 8.8.4.4
and have ipv6 disabled for dns with dhcp ,set to IP address ONLY .
|
|
|
06-05-2013, 01:33 AM
|
#7
|
LQ Newbie
Registered: Jun 2013
Location: Germany
Distribution: ArchLinux
Posts: 1
Rep:
|
Create /etc/resolv.conf.head containing following:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
Both are (as John already said) Google's DNS servers. I had the same issue for quite some time and tested everything. Network cards, wiring, routers... in the end it was the DNS itself. Sometimes your router doesn't receive correct DNS server updates from your IP and those can stick quite a while (more than half a year, at least by that time I got the idea that the DNS is wrong and then changed it).
|
|
|
06-05-2013, 04:55 AM
|
#8
|
Member
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84
Rep:
|
Quote:
Originally Posted by icecoder
Can't see anything strange from the output of tcpdump.
|
If the connection is behaving this way, there should be somethign almost for sure. Maybe some missing RST, dopped package, or who knows...
|
|
|
06-05-2013, 02:14 PM
|
#9
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Original Poster
Rep:
|
Actually I've already checked DNS. Checked again (always with google DNS servers), same issue. The problem persists even when connecting to local web servers (even when using IP addresses, so no DNS issue).
Here is the output of
Code:
tcpdump -i wlp11s1 -p "ip host 192.168.1.236"
for a connection I've made with facebook. The page has been loaded but the result is malformed (CSS not correctly downloaded, AJAX calls still pending)
http://pastebin.com/02tMFFHN
|
|
|
06-05-2013, 04:27 PM
|
#10
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
Quote:
Just noticed that if I connect over TOR,
|
so tor "*.onion" pages are working
is this with the "tor browser" or the firefox "tor button "
and FB in firefox is malformed
is this the current ff21 or the ff17 "extended life "
have you made sure that libssl is installed ? ( should be )
is the very last adobe flash installed ? 11.2
or are you using the not very well working opensource version ?
( to see type into the FF addressbar
Code:
about:plugins
--- or for a menu ---
about:about
|
|
|
06-06-2013, 04:51 AM
|
#11
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
so tor "*.onion" pages are working
is this with the "tor browser" or the firefox "tor button "
and FB in firefox is malformed
is this the current ff21 or the ff17 "extended life "
have you made sure that libssl is installed ? ( should be )
is the very last adobe flash installed ? 11.2
or are you using the not very well working opensource version ?
( to see type into the FF addressbar
Code:
about:plugins
--- or for a menu ---
about:about
|
I connected to normal websites (not .onion ones) with chromium (same browser, along with firefox, which is giving me the problem) which has the latest flash version included..
libssl is installed.
|
|
|
06-06-2013, 05:04 AM
|
#12
|
Member
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84
Rep:
|
The TCP dump, shows that DNS is proxied by router, that also handles local zone.
You are right: the https stream looks normal.
I'm starting to think we are looking in the wrong direction.
What's the model of you network card?
|
|
|
06-06-2013, 05:08 AM
|
#13
|
Member
Registered: Oct 2007
Location: Italy
Distribution: Ubuntu
Posts: 84
Rep:
|
Also, please grab lastest ubuntu Live CD and tell us if it does work
|
|
|
06-06-2013, 08:18 PM
|
#14
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Original Poster
Rep:
|
Tried with Ubuntu live. Same problem.
The problem appeared as I changed the motherboard (not sure if can be related to that, since Windows doesn't suffer from the issue).
The model is: TL-WN551G (TP-LINK). I used this same network adapter with the old mobo and OS and worked perfectly.
|
|
|
All times are GMT -5. The time now is 09:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|