LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-01-2004, 09:48 PM   #1
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Rep: Reputation: 15
Slow web browsing behind router w/ DHCP on DSL connection


Hi,
I use MDK 10 and my web browsing is always extremely slow behind my router. When I boot into windows browsing is nice, but it is very slow using Konqueror and Mozilla. Google suggested that I manually set my DNS servers, but when I do that it always sets the DNS server back to the IP of my router. Does changing the DNS server do anything? What else should I try? Web browsing is nice and speedy at work with the T3 connection.
Thanks!
 
Old 08-02-2004, 01:09 AM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
where are you changing the DNS IP information? there is a file that you need to edit with root privledges to make the change perm. you should set it to your ISPs DNS prime and secondary IPs.

also make sure the gateway IP in your linux box is set to your router IP (most use 192.168.1.1)
 
Old 08-02-2004, 02:08 AM   #3
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
I tried to do it through the gui configuration tool, but it changes back automatically, so I edited /etc/resolve.conf. But after I reboot it resets that one too. Also, are you sure that the gateway should be the router ip? On my windows box it sets the gateway to something external.
Thanks!
 
Old 08-02-2004, 03:21 AM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
don't worry about it resets /etc/resolv.conf after you reboot at this point, does it help after you put your ISP's dns servers in there?
 
Old 08-02-2004, 04:44 AM   #5
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Hrm,
Actually, not really by much, but a little bit. In particular, Mozilla still spends a lot of time saying 'resolving host' (8 seconds or so) which seems awfully long. So I guess that's not it. Do you have any suggestions?
Thanks!
 
Old 08-02-2004, 11:08 AM   #6
linuxlastslonge
Member
 
Registered: Jun 2002
Location: Franklin, IN
Distribution: Debian, CentOS, Mac OS X
Posts: 158

Rep: Reputation: 30
you should never have to reboot a linux system.

after making changes to your /etc/resolv.conf, restart your web browser. i have to do that at my work linux system because their dns is slow as all get-out. i simply reset the dns to a local dns service, and everything is fine. what you may want to do is setup a script in /etc/initrd so that your using the dns you want to use.


hope i could help!!!!!



 
Old 08-02-2004, 03:57 PM   #7
phlyersphan
Member
 
Registered: Jun 2004
Location: Chicago, IL USA
Distribution: Mandrake 10
Posts: 103

Rep: Reputation: 15
I'm using other DNS addresses as my primary and secondary, as my ISP's DNS servers crash constantly and are otherwise slow as dogs. Changing my DNS address completely fixed my sluggish connection.
 
Old 08-02-2004, 04:03 PM   #8
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you run dhcpcd with "-R" options you can make it ignore DNS settings so it won't update /etc/resolv.conf.

Anyway back to the original question, from what I've gathered this could be a browser issue(especially Mozilla) more than anything else. Try another browser such as links/lynx, see how long it takes for these browsers to resolve and connect to a website.
 
Old 08-02-2004, 04:49 PM   #9
velts
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
what is resolv.conf used for?
 
Old 08-02-2004, 11:00 PM   #10
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
what is resolv.conf used for?
As usual ask the man
 
Old 08-03-2004, 04:41 AM   #11
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
velts

Welcome to LinuxQuestions.org

Perhaps, we should point you to the LQ Wiki - fifth item down on the 'Main Menu' (upper right portion of your screen. Although, it is still a work in progress - you can type 'resolv.conf' into the search box there - and all will be revealed.

HTH
 
Old 08-04-2004, 05:56 AM   #12
johngcarlsson
Member
 
Registered: Jul 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Hi, it's me again. lynx, mozilla, and konqueror all spend a lot of time 'looking up' or 'resolving' a hostname. It's not unbearably slow, but it's kind of annoying. Any other suggestions?
Thanks!
 
Old 08-04-2004, 06:36 AM   #13
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
johngcarlsson

If you are using a standalone box, then I would suggest that the problem, if as you say it is across all browsers, lies with you ISP rather than your end. I myself have occasionally suffered from slow connections resolving long distance URLs whereas local and national (UK) URLs are still resolved in under 2 seconds. It only happens at about 6pm local time, and I am using a 'business' DSL service with a maximum 20:1 contention rate (i.e. 20 entities sharing one allocation of bandwidth). I assume that it all depends on the number of 'hops' (no - not as in beer) that trace route would show. Although it may be that the DNS server that my ISP links to is slow. If it was more prevalent, I believe that I could set up my own DNS server with my most used URLs and IP addresses and effectively bypass my ISP's lookup. Don't know if this helps. Do you have ethereal installed on your machine, if so you could capture all the network traffic (both LAN, if any, and internet) and the packets sent but unacknowledged would indicate where the problem is.
 
Old 09-03-2004, 12:28 PM   #14
rcnsd
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
how do we edit the resolv.conf........i am having the exact same problem.
 
Old 09-03-2004, 12:51 PM   #15
rcnsd
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Cool

I fixed it! wooohooo... now i gotta figure out how to slow down my mouse
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Router and Linux (Slow web browsing) Fixed! User_Program Yoper 10 12-24-2004 04:35 AM
Web browsing very slow (on 1.5M ADSL...) soofsoof Linux - Newbie 2 12-22-2004 02:33 AM
Slow web browsing problem Corallis Linux - Newbie 8 04-03-2004 01:01 PM
web browsing considerably slow sanjaya Linux - Software 0 02-15-2004 09:21 PM
slow web browsing via modem alizard Linux - Software 3 04-26-2003 04:46 AM


All times are GMT -5. The time now is 10:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration