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 |
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.
|
 |
|
08-01-2004, 08:48 PM
|
#1
|
Member
Registered: Jul 2004
Posts: 58
Rep:
|
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!
|
|
|
08-02-2004, 12:09 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
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)
|
|
|
08-02-2004, 01:08 AM
|
#3
|
Member
Registered: Jul 2004
Posts: 58
Original Poster
Rep:
|
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!
|
|
|
08-02-2004, 02:21 AM
|
#4
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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?
|
|
|
08-02-2004, 03:44 AM
|
#5
|
Member
Registered: Jul 2004
Posts: 58
Original Poster
Rep:
|
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!
|
|
|
08-02-2004, 10:08 AM
|
#6
|
Member
Registered: Jun 2002
Location: Franklin, IN
Distribution: Debian, CentOS, Mac OS X
Posts: 158
Rep:
|
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!!!!!

|
|
|
08-02-2004, 02:57 PM
|
#7
|
Member
Registered: Jun 2004
Location: Chicago, IL USA
Distribution: Mandrake 10
Posts: 103
Rep:
|
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.
|
|
|
08-02-2004, 03:03 PM
|
#8
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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.
|
|
|
08-02-2004, 03:49 PM
|
#9
|
LQ Newbie
Registered: Aug 2004
Posts: 1
Rep:
|
what is resolv.conf used for?
|
|
|
08-02-2004, 10:00 PM
|
#10
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
Quote:
what is resolv.conf used for?
|
As usual ask the man
|
|
|
08-03-2004, 03:41 AM
|
#11
|
Member
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548
Rep:
|
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
|
|
|
08-04-2004, 04:56 AM
|
#12
|
Member
Registered: Jul 2004
Posts: 58
Original Poster
Rep:
|
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!
|
|
|
08-04-2004, 05:36 AM
|
#13
|
Member
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548
Rep:
|
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.
|
|
|
09-03-2004, 11:28 AM
|
#14
|
LQ Newbie
Registered: Sep 2004
Posts: 10
Rep:
|
how do we edit the resolv.conf........i am having the exact same problem.
|
|
|
09-03-2004, 11:51 AM
|
#15
|
LQ Newbie
Registered: Sep 2004
Posts: 10
Rep:
|
I fixed it! wooohooo... now i gotta figure out how to slow down my mouse
|
|
|
All times are GMT -5. The time now is 02:56 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
|
|