Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
05-11-2014, 11:33 AM
|
#1
|
LQ Newbie
Registered: May 2014
Posts: 8
Rep:
|
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
|
|
|
05-11-2014, 07:36 PM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468
|
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
|
|
|
05-12-2014, 11:36 AM
|
#3
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Quote:
Originally Posted by darkflow
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.
|
|
|
05-12-2014, 12:03 PM
|
#4
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
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.
|
05-15-2014, 02:03 PM
|
#5
|
LQ Newbie
Registered: May 2014
Posts: 8
Original Poster
Rep:
|
@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
|
|
|
05-15-2014, 07:05 PM
|
#6
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468
|
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
|
|
|
05-17-2014, 08:25 AM
|
#7
|
LQ Newbie
Registered: May 2014
Posts: 8
Original Poster
Rep:
|
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"
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
# 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
|
|
|
05-17-2014, 01:45 PM
|
#8
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468
|
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.
|
|
|
05-25-2014, 06:31 AM
|
#9
|
LQ Newbie
Registered: May 2014
Posts: 8
Original Poster
Rep:
|
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?
|
|
|
05-25-2014, 08:33 AM
|
#10
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
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'
|
|
|
All times are GMT -5. The time now is 03:59 AM.
|
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
|
|