Abnormally high packet loss when pinging router (leading to slow internet?)
I've been having problems with my wireless router. Recently we changed internet providers (from BT to Orange, if it makes any odds) which required a change of routers (BT Home Hub to a Netgear N150) and, although the internet was generally fast, it would occasionally become very slow (0-2 kB/s).
Over time, this has become more and more common, until nowadays I rarely get a download speed greater than 5 kb/s. For example, just now when loading the LQ homepage in Lynx, it claims the verage download speed was 232 B/s (bytes!). Similarly, when running "sudo pacman -Syu", I will normally get a speed of 1 MB/s initially, which then goes down rapidly over about 10 seconds until pacman says that less than 1kB has been downloaded in the last second and retries the download. However, I've noticed that when pinging my router at 192.168.0.1, I get a package loss between 35% and 50%, which I feel must be contributing to the problem. A friend suggested that my router might be conflicting with a nearby router, but “iwlist scan” reveals 3 other APs, all of which are on channel 1, with my router being on channel 6 so I don't think this is the problem. Does anyone have any suggestions as to why this might be happening, or a possible solution? Thanks, |
You really have the answer in your hands.
Are your packets routed correctly? I would imagine that, putting the 2 symptoms together, 1. slow internet 2. pinging issue that the problem is your modem can't reach you. Try another modem.Try another cable. Check your routing, and be aware that in most systems /etc/resolv.conf is overwritten as soon as you connect, so you may be sending to the wrong place. This is a favourite for screwing up dns, but it doesn't affect the ping issue if you use ips. check in the logs |
I've experimented a bit, but I can't seem to find a permanent fix. I'm just gonna hope that the current speed increase is a permanent one, and mark this thread as '[SOLVED]'. Thank you for your help :D
|
First: reset your router. Routers tend to get stuck and then you can only reset them.
Second: scan networks around and see if there's anything on channel 6-11. Try to move it from channel 6 to channel 9 (as there is virtually no overlap between channel 1 and 9). Channel 1 directly interfere with channel 2-5 and indirectly (by noise and other minor thing) with channel 6-8. Find your reception and noise levels and report it here. Unfortunately most routers do not provide such information for STATIONs (and even if they provide it is just percentage of signal ratio). Server's AP (Cloud7.org): Code:
marek@server:~$ sudo iw wlan0 station dump Code:
marek@laptop:~$ sudo iw wlan0 link Code:
marek@bridge:~$ sudo iw wlan0 station dump Code:
marek@laptop:~$ sudo iw wlan0 link |
All times are GMT -5. The time now is 12:33 AM. |