LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-11-2014, 11:33 AM   #1
darkflow
LQ Newbie
 
Registered: May 2014
Posts: 8

Rep: Reputation: Disabled
slow browser on a new install


Hello,

New 14.1 install and both konqueror and firefox a slow at loading pages. Few years ago I had the sma eproblem, but now I cannot remeber what I've done to fix it.

Tried disabling IPv6 on the firefox, but didn't make any difference. How can I analyse what causes browsers/internet to be so slow?

thank you
 
Old 05-11-2014, 07:36 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468

Rep: Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799
The problem you describe is often due to incorrect DNS settings in /etc/resolv.conf
To help more please describe how you connect to the internet e.g. is this a home computer connected to a modem/router?
Are you using a connection manager (NetworkManager or wicd) or making settings in /etc/rc.d/rc.inet1.conf?

Perhaps this SlackDocs page will help. http://docs.slackware.com/slackware:...e_your_network
 
Old 05-12-2014, 11:36 AM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by darkflow View Post
Hello,

New 14.1 install and both konqueror and firefox a slow at loading pages. Few years ago I had the sma eproblem, but now I cannot remeber what I've done to fix it.

Tried disabling IPv6 on the firefox, but didn't make any difference. How can I analyse what causes browsers/internet to be so slow?

thank you

As default, on Slackware, the BIND daemon is configured for DNS caching. This is right what can help you.

Just do:

Code:
chmod +x /etc/rc.d/rc.bind

/etc/rc.d/rc.bind start
You should see the difference, specially on Konqueror.
 
Old 05-12-2014, 12:03 PM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
Lots of threads on disabling IPv6 in this forum - one recent one. I would suggest disabling it globally and see if that helps.

Your next step should be to open a terminal and try pinging the hostnames of the slow websites.

Then ping the IPv4 addresses of those hosts and look for any significant difference. If pinging IP addresses is fast and pinging the hostname is much slower, then the problem lies somewhere in DNS resolution.

Then ping your access point/router.
 
1 members found this post helpful.
Old 05-15-2014, 02:03 PM   #5
darkflow
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
@allend

home computer connected to the router

using /etc/rc.d/rc.inet1.conf



@Darth Vader

i do not have the /etc/rc.d/rc.bind file in the directory.



@cynwolf

pinging IP addresses and hostnames is the same - 121/122 ms
 
Old 05-15-2014, 07:05 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468

Rep: Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799
Please post the output of the following commands run as root in a terminal window.
Code:
grep -v "^#\|^[[:space:]]" /etc/rc.d/rc.inet1.conf
route
cat /etc/resolv.conf
 
Old 05-17-2014, 08:25 AM   #7
darkflow
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
allend, thank you for your responces, here are the outputs:

Quote:
grep -v "^#\|^[[:space:]]" /etc/rc.d/rc.inet1.conf
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

GATEWAY=""

DEBUG_ETH_UP="no"


Quote:
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default SkyRouter.Home 0.0.0.0 UG 202 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
192.168.0.0 * 255.255.255.0 U 202 0 0 eth0
sirius localhost 255.255.255.255 UGH 202 0 0 lo


Quote:
cat /etc/resolv.conf
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain Home
nameserver 192.168.0.1
# /etc/resolv.conf.tail can replace this line
 
Old 05-17-2014, 01:45 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468

Rep: Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799
All those settings look perfectly OK, so I do not think the problem is in your Slackware setup. I suggest looking at the DNS server settings in your router. As a test, try changing the primary DNS server to a public DNS service like that provided by Google at 8.8.8.8 rather than that supplied by your ISP.
 
Old 05-25-2014, 06:31 AM   #9
darkflow
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
allend, I will take a look at the DNS server settings in my router, but in windows browsing is not slow, no problems there - I use Firefox in windows as well.

Also, I installed BIND and it is a fair bit faster now, but still not as fast as in windows. Why does BIND make it faster and is there a faster alternative?
 
Old 05-25-2014, 08:33 AM   #10
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
BIND is doing local DNS cacheing so if that is improving things a lot, then DNS configuration may still be at the root of your problems, if it's just improving things a little, as it should, then DNS may not be the issue.

Your nameserver in /etc/resolv.conf points to the gateway, so if the gateway is configured properly and other workstations don't have DNS problems, then that also points to this not being DNS related.

If you haven't diabled IPv6 globally, then try that first. I don't see any problems with IPv6 being left enabled these days, but then I'm not you nor connecting to your ISP. However, I still disable it out of habit until such a time as my ISP implements it...

Use this method:

https://www.linuxquestions.org/quest...8/#post5168803

Find the "append" line at the top of /etc/lilo.conf

e.g. if your append line looks like this:

Code:
append=" vt.default_utf8=1"
add this part
Code:
append="ipv6.disable=1 vt.default_utf8=1"
Run lilo and reboot

If that makes no difference then I'd start to suspect something with the network hardware. Post the output:
Code:
$ /sbin/lspci -k|egrep -iA5 'ether|netw'
 
  


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
Why is my browser so slow? ostendna Linux - Newbie 7 06-25-2010 04:40 PM
Qt browser is slow shariefbe Linux - Software 4 02-02-2010 12:28 AM
Slow Browser leighroy Linux - Newbie 3 04-20-2009 01:17 PM
Why is my browser slow? sharky Fedora 12 10-12-2008 08:02 AM
browser loading very very slow robinmckenzie Linux - Software 3 01-25-2007 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration