LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet connection slow (https://www.linuxquestions.org/questions/linux-networking-3/internet-connection-slow-869632/)

nomikos 03-19-2011 11:46 AM

Internet connection slow
 
Suddenly my internet connection has been decreased a lot. Please advice over some config tweaks to play.

Quote:

$ ping google.com
PING google.com (209.85.195.104) 56(84) bytes of data.
64 bytes from eze03s01-in-f104.1e100.net (209.85.195.104): icmp_seq=1 ttl=54 time=49.0 ms
64 bytes from eze03s01-in-f104.1e100.net (209.85.195.104): icmp_seq=2 ttl=54 time=39.0 ms
64 bytes from eze03s01-in-f104.1e100.net (209.85.195.104): icmp_seq=3 ttl=54 time=55.1 ms
Linux mint (ubuntu) 9
ADSL 6MB thought cable modem.

Slackyman 03-19-2011 11:55 AM

It doesn't seem to me that connection is too slow from your pinging.
Can you show us the content of your /etc/resolv.conf?

nomikos 03-19-2011 12:22 PM

THX.

# Generated by NetworkManager
nameserver 200.74.121.11
nameserver 200.83.1.5
nameserver 190.160.0.11

upload/download decreased!

nomikos 03-19-2011 12:25 PM

Regarding ping: the lapsus between each line appears is 4 secs.!

repo 03-19-2011 01:13 PM

Perhaps you have reached your limit, and did the ISP put you on small band.
Try to reboot the router
If you have a wireless connection, verify if no one else is using it.


Kind regards

nomikos 03-20-2011 04:56 PM

I discovered that if I connect from live distros, the speed is OK as used to be.

Other important thing is that:
I am web developer so I refresh browser's pages a lot (in localhost). Well, these actions are slow too. So the problem is not due to internet connection. There is a bottle neck in some part.

Can you please advice over some config tweaks to play?

Thanks.-

Slackyman 03-20-2011 04:58 PM

Check if you have SELinux enabled then check iptables than check your network configuration.
Can you show us these informations?

nomikos 03-20-2011 05:28 PM

I did not know that selinux is included in ubuntu, but yes, here it is. And... is disabled.
I am not using any firewall.
And network configuration?

Quote:

$ ifconfig
eth0 Link encap:Ethernet HWaddr e0:cb:4e:d4:e0:10
inet addr:x.x.x.x Bcast:201.239.118.255 Mask:255.255.255.0
inet6 addr: fe80::e2cb:4eff:fed4:e010/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1896213 errors:0 dropped:0 overruns:0 frame:0
TX packets:134837 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:330379568 (330.3 MB) TX bytes:10143257 (10.1 MB)
Interrupt:27 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:26:5a:84:bb:47
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11 Base address:0x6c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.255.255.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12774 errors:0 dropped:0 overruns:0 frame:0
TX packets:12774 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16216174 (16.2 MB) TX bytes:16216174 (16.2 MB)

Slackyman 03-21-2011 01:37 AM

I have a doubt nut I can easily be wrong...
Can you please show me the ifconfig results from a Live distro too?

nomikos 03-21-2011 08:40 PM

from mint-kde10 live distro>

mint ~ # ifconfig
eth0 Link encap:Ethernet HWaddr e0:cb:4e:d4:e0:10
inet addr:x.x.x.x Bcast:201.239.118.255 Mask:255.255.255.0
inet6 addr: fe80::e2cb:4eff:fed4:e010/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6550 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:420044 (420.0 KB) TX bytes:17340 (17.3 KB)
Interrupt:43 Base address:0x4000

eth1 Link encap:Ethernet HWaddr 00:26:5a:84:bb:47
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Base address:0xac00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3136 (3.1 KB) TX bytes:3136 (3.1 KB)

----------------

Look: with this live distro when I click (GET): fast. But if I refresh the same page with [f5]: slooooooow. Make that sense?

Slackyman 03-22-2011 02:37 AM

I cannot see nothing strange or defective or different from the two ifconf so I can only just suppose that it's some other kind of problem.
It could be a hardware issue (ethernet cable, router etc.) or an ISP issue.
What kind of ADSL modem/router have you (Vendor/model)?
I could even try to add different DNS in /etc/resolv.conf. You can try the OpenDNS ones that are 208.67.220.220 and 208.67.222.222 or the Google Public DNS that are 8.8.8.8 and 8.8.4.4.

nomikos 03-23-2011 10:11 AM

Thanks Slackyman for follow this issue so closely.
I'll try your advises ASAP.
Meanwhile I have overwrited totally the .mozilla (mv .moxilla .moxilla.old) directory (I work mostly in FF for the development tools). That has returned normal speed to the localhost. (very important to me)
Other think that I have noted today is that the bottleneck is in the request (looking up ...) not in the download (transferring ...) of pages.
I'll do some test with firebug::net and YSlow addon ASAP.
Thanks!

nomikos 03-24-2011 09:02 PM

Solved
 
You was right, was an ISP issue. The company is upgrading network to offer 120MB and has been screwed up the current customers.
But today all returned to normality. Thanks for your help.-


All times are GMT -5. The time now is 04:18 AM.