Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd July 2009, 11:59 PM
mice Offline
Registered User
 
Join Date: Jul 2006
Posts: 16
DSL connection (PPPOE): I only get a third of the internet

I'm trying to connect through a DSL provider that needs a username and password. I'm plugged straight into the modem with an ethernet cable. In windows, I can enter my username and password and everything works no problem. In Fedora 11, although I can enter the same details under the DSL tab in NetworkManager/Edit Connections and that lets me connect, about two in three sites I visit in my browser don't work. One third seem to work fine.

For the sites that don't work, firefox just keeps waiting forever as though it is trying to contact the remote site. I'm pretty sure it's not a DNS problem: /etc/resolv.conf contains exactly the same entries as I get from ipconfig in windows, and ping and mtr can locate all the hosts that don't work in firefox. After searching the forums, I tried setting TCP window scaling to 0, but that didn't help. I also disabled SELinux but that doesn't help either.

I don't know if it's relevant, but the very first time I tried to connect, the connection wouldn't come up at all. It was only when I connected in windows for the first time and then went back to linux that it connected successfully (even without me changing any of the settings that hadn't worked to start with).
Reply With Quote
  #2  
Old 5th July 2009, 03:40 AM
asio_bob Offline
Registered User
 
Join Date: Oct 2006
Posts: 41
Sounds like it could be an MTU issue.
Can you adjust your MTU for your PPP connection to 1492 and try again? You can find the MTU optin in the WIRED tab when configuring a DSL connection in network manger
Reply With Quote
  #3  
Old 6th July 2009, 01:01 AM
mice Offline
Registered User
 
Join Date: Jul 2006
Posts: 16
Quote:
Originally Posted by asio_bob View Post
Sounds like it could be an MTU issue.
Can you adjust your MTU for your PPP connection to 1492 and try again? You can find the MTU optin in the WIRED tab when configuring a DSL connection in network manger
Thanks for the reply. I tried this, and it doesn't seem to make any difference, though.
Reply With Quote
  #4  
Old 7th July 2009, 01:34 AM
mice Offline
Registered User
 
Join Date: Jul 2006
Posts: 16
The sets of sites that work and don't work are always the same: for example, google.com and youtube.com always work, but fedoraforum.org and news.bbc.co.uk never do.

Can anyone tell me what kind of problem might lead to only one group of sites being accessible? I don't know anything about networking, so I don't know where to start looking for the problem.
Reply With Quote
  #5  
Old 7th July 2009, 02:40 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
can you view the sites from a text browser like 'links', or another gui browser like konqueror or opera?

If so it may be a config issue in Firefox, eg IPv6 settings, try setting network.dns.disableIPv6 to 'true' in about:config

also, just to be 100% about the DNS server, add this as the top line in /etc/resolv.conf

nameserver 4.2.2.3

(4.2.2.1 - 4.2.2.6 are free public dns servers)
Reply With Quote
  #6  
Old 8th July 2009, 11:09 AM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Try the following modification to your firewall:

Code:
iptables -I FORWARD 1 -m state --state INVALID -j DROP
iptables -I FORWARD 2 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -I FORWARD 3 -m state --state RELATED,ESTABLISHED -j ACCEPT
David
Reply With Quote
  #7  
Old 8th July 2009, 11:23 AM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Quote:
Originally Posted by David Becker View Post
Try the following modification to your firewall:

Code:
iptables -I FORWARD 1 -m state --state INVALID -j DROP
iptables -I FORWARD 2 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -I FORWARD 3 -m state --state RELATED,ESTABLISHED -j ACCEPT
David
Whoops, your linux box is not doing the routing/forwarding, so above commands won't help.

David
Reply With Quote
  #8  
Old 8th July 2009, 11:27 AM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Your linux box is probably doing masquerading. Either try without masquerading or try the following:

"...add the following line to your /etc/ppp/pppoe.conf file:"

CLAMPMSS=1412

From: http://tldp.org/HOWTO/IP-Masquerade-...tu-issues.html

David
Reply With Quote
  #9  
Old 12th July 2009, 11:42 AM
mice Offline
Registered User
 
Join Date: Jul 2006
Posts: 16
Thanks for your help! I tried adding the public nameserver to resolv.conf, but that didn't help. I also tried the iptables commands, and (as you expected) that didn't make a difference. I don't have a file at /etc/ppp/pppoe.conf, but I created one with just that line in it, and also added the line to the existing file /etc/ppp/pppoe-server-options. But that didn't make any difference either.

I haven't got links/lynx installed, but I tried using wget to contact the websites that are affected, and it seems to respond in exactly the same way as firefox. If I can't display the site in firefox, then wget also hangs after reporting "HTTP request sent, awaiting response..." So I guess it's not a firefox-specific issue. Also, of the two IMAP email accounts I have, one works and one does not (using Evolution).
Reply With Quote
Reply

Tags
networkmanager, pppoe, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing re-pppoe.rpm without a internet connection Friedl Using Fedora 3 6th July 2009 07:48 PM
Internet connection problem with PPPoE on FC7 Al Pacino Using Fedora 5 26th August 2007 10:11 AM
pppoe router and internal network lose internet connection when ppp0 IP is changed ionutv202003 Using Fedora 0 21st November 2006 06:29 PM
problem with internet cable connection PPPOE gogi100 Hardware & Laptops 3 5th October 2005 07:48 PM


Current GMT-time: 08:25 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat