[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Internet loads too slow



Ok,

Here are what I have done though I really have lost track of things I've done as I just follow what I could find...



Comment them with a '#' sign:

Code: Select all
#udp6 tpi_clts v inet6 udp - -


I did this.

echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf

sed '/::/s/^/#/' /etc/hosts >/etc/dipv6-tmp;cp -a /etc/hosts /etc/hosts-backup && mv /etc/dipv6-tmp /etc/hosts

sed '/ipv6=yes/s/yes/no/' /etc/avahi/avahi-daemon.conf >/etc/avahi/dipv6-tmp;cp -a /etc/avahi/avahi-daemon.conf /etc/avahi/avahi-daemon.conf-backup && mv /etc/avahi/dipv6-tmp /etc/avahi/avahi-daemon.conf


and I did this.

#netstat -tunlp |grep p6 |wc -l

This returns 0.



Now,  I did following as you suggested,


 ping -c 5 google.com
PING google.com (173.194.38.64) 56(84) bytes of data.
64 bytes from nrt19s17-in-f0.1e100.net (173.194.38.64): icmp_req=1 ttl=54 time=17.2 ms
64 bytes from nrt19s17-in-f0.1e100.net (173.194.38.64): icmp_req=2 ttl=54 time=17.1 ms
64 bytes from nrt19s17-in-f0.1e100.net (173.194.38.64): icmp_req=3 ttl=54 time=16.9 ms
64 bytes from nrt19s17-in-f0.1e100.net (173.194.38.64): icmp_req=4 ttl=54 time=21.1 ms
64 bytes from nrt19s17-in-f0.1e100.net (173.194.38.64): icmp_req=5 ttl=54 time=17.2 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 16.955/17.942/21.102/1.583 ms


then,


ping -c 5 101.119.11.99
PING 101.119.11.99 (101.119.11.99) 56(84) bytes of data.
64 bytes from 101.119.11.99: icmp_req=1 ttl=48 time=138 ms
64 bytes from 101.119.11.99: icmp_req=2 ttl=48 time=130 ms
64 bytes from 101.119.11.99: icmp_req=3 ttl=48 time=132 ms
64 bytes from 101.119.11.99: icmp_req=4 ttl=48 time=133 ms
64 bytes from 101.119.11.99: icmp_req=5 ttl=48 time=135 ms

--- 101.119.11.99 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 130.803/134.260/138.205/2.539 ms



also,

cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.254

## 192.168.1.254 is the IP for the router.



route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
localnet        *               255.255.255.0   U     0      0        0 eth0



 ifconfig $dev
eth0      Link encap:Ethernet  HWaddr 00:1c:c0:19:ba:33 
          inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:325430 errors:0 dropped:23 overruns:0 frame:0
          TX packets:239942 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:273528223 (260.8 MiB)  TX bytes:41728298 (39.7 MiB)
          Interrupt:20 Memory:e0300000-e0320000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:400 (400.0 B)  TX bytes:400 (400.0 B)


ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1c:c0:19:ba:33 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.15/24 brd 192.168.1.255 scope global eth0


I could get up to here...
From "curl" thing, I get very long response tagged with <html>....

I am lost....


A.K.







On 12/28/2013 11:16 PM, Scott Ferguson wrote:
On 29/12/13 00:26, Man_Without_Clue wrote:
Hi all,

I have asked this question everywhere, but still haven't gotten clear
and solid solutions yet, so I thought I would send this to this list.
Perhaps because there are an unknown number of causes for the "problem"
and because you've provided no information about your network. :)

As title says, internet loads too slow on Debian Wheezy amd 64.

I have searched web and have done several methods to turn ipv6 off
including Iceweasel, but still websites load slow.

Any additional advise ?
See below.
*Important* please tell us what you have done to "disable IPV6" *and*
your home network configuration, ISP plan, etc (do you really not have
IPV6?).

Thanks in advance.

A.K.



What part of the internet loads slow?  e.g. DNS results, browser page,
slow internet etc.

Check the DNS by pinging a domain name then it's IP address and posting
your results e.g.:-
$ ping -c 5 google.com
PING google.com (101.119.11.99) 56(84) bytes of data.
64 bytes from google.com (101.119.11.99): icmp_req=1 ttl=60 time=77.5 ms
64 bytes from google.com (101.119.11.99): icmp_req=2 ttl=60 time=67.5 ms
64 bytes from google.com (101.119.11.99): icmp_req=3 ttl=60 time=68.0 ms
64 bytes from google.com (101.119.11.99): icmp_req=4 ttl=60 time=86.6 ms
64 bytes from google.com (101.119.11.99): icmp_req=5 ttl=60 time=63.2 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 63.284/72.615/86.673/8.442 ms
scott@vbserver:~/Downloads/kernel$ ping -c 5 101.119.11.99
PING 101.119.11.99 (101.119.11.99) 56(84) bytes of data.
64 bytes from 101.119.11.99: icmp_req=1 ttl=60 time=66.6 ms
64 bytes from 101.119.11.99: icmp_req=2 ttl=60 time=65.1 ms
64 bytes from 101.119.11.99: icmp_req=3 ttl=60 time=65.8 ms
64 bytes from 101.119.11.99: icmp_req=4 ttl=60 time=83.2 ms
64 bytes from 101.119.11.99: icmp_req=5 ttl=60 time=75.1 ms

--- 101.119.11.99 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 65.100/71.195/83.222/7.028 ms

NOTE: my system uses a wireless broadband connection so slow responses
are normal for this network.

Show us your nameserver settings by posting the output of:-
$ cat /etc/resolv.conf

Show us the routing by posting the output of:-
# route

See if you are dropping packets by substituting $dev with your internet
connection device:-
# ifconfig $dev
e.g eth1 is my internet connection and it's dropped no packets
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:20:ed:8f:ab:fd
          inet addr:192.168.0.6  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:89090 errors:0 dropped:0 overruns:0 frame:0
          TX packets:188186 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14993111 (14.2 MiB)  TX bytes:248603032 (237.0 MiB)
          Interrupt:22 Base address:0xe000

Show us your NICs by posting the output of:-
$ ip a

Test your download speed with curl ("# apt-get install curl" if you
don't have it). This will is to distiguish between network speed and
browser speed e.g.:-
$ curl http://www.debian.org -w
%{time_connect}:%{time_starttransfer}:%{time_total}:%{size_download}

NOTE: I get 0.930:1.787:2.016:13655

Lastly check dmesg and /var/log/syslog for pertinent errors, check top
and free for system resource restraints.

Kind regards




Reply to: