public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT: wlan0 is sssloooow
@ 2006-11-26 15:48 Sergio Polini
  2006-11-26 19:59 ` Richard Fish
  0 siblings, 1 reply; 17+ messages in thread
From: Sergio Polini @ 2006-11-26 15:48 UTC (permalink / raw
  To: gentoo-user

Scenario:
- I have a HAG (Home Access Gateway, which embodies an ADSL modem) 
installed by my provider;
- the HAG has three RJ45 ports; when a PC is connected to one of 
theese ports, it gets an IP address via DHCP;
- I have connected a Belkin wireless rooter to one of theese ports;
- I connect my PC to another port, and/or to the wireless router (by 
running modprobe ndiswrapper; then /etc/init.d/net.wlan0 is ran by 
ifplugs - at least, this is what I can guess ;-).

When I run Windows, my wireless connection is "normal", but when I run 
Gentoo there are strange delays. For example, a simple ping is fast 
under Windows, very slow under Gentoo. I have to stop net.wlan0 to 
get "normal" pings again.

As far as I can understand, it is a matter of metric.
When I only connect my PC to the wireless router, I can see:

a) under Windows (the output is in Italian, but I'm sure you can read 
it - using a fixed font may help ;-):

> route PRINT
============================================================
Elenco interfacce
0x1 ........................... MS TCP Loopback interface
0x2 ...00 16 d3 09 2d 17 ...... NVIDIA nForce Networking
0x3 ...00 14 a5 e1 d2 b9 ...... WLAN Broadcom 802.11a/b/g
============================================================
============================================================
Route attive:
Indirizzo rete           Mask     Gateway   Interfac. Metric
        0.0.0.0         0.0.0.0 192.168.2.1 192.168.2.2 25
      127.0.0.0       255.0.0.0   127.0.0.1   127.0.0.1  1
    192.168.2.0   255.255.255.0 192.168.2.2 192.168.2.2 25
    192.168.2.2 255.255.255.255   127.0.0.1   127.0.0.1 25
  192.168.2.255 255.255.255.255 192.168.2.2 192.168.2.2 25
      224.0.0.0       240.0.0.0 192.168.2.2 192.168.2.2 25
255.255.255.255 255.255.255.255 192.168.2.2           2  1
255.255.255.255 255.255.255.255 192.168.2.2 192.168.2.2  1
Gateway predefinito:       192.168.2.1
============================================================
Route permanenti:
  Nessuno

b) under Gentoo:

b.1) fast:

sergio ~ # route -n
Kernel IP routing table
Destination Gateway     Genmask       Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0     255.255.255.0 U     2000   0     0 wlan0
127.0.0.0   0.0.0.0     255.0.0.0     U     0      0     0 lo
0.0.0.0     192.168.2.1 0.0.0.0       UG    2000   0     0 wlan0

b.1) very slow:

sergio ~ # route
Kernel IP routing table
Destination Gateway     Genmask       Flags Metric Ref Use Iface
192.168.2.0 *           255.255.255.0 U     2000   0     0 wlan0
loopback    *           255.0.0.0     U     0      0     0 lo
default     192.168.2.1 0.0.0.0       UG    2000   0     0 wlan0

I can just notice an astonishing difference between metrics: 25 under 
Windows, 2000 (!) under Linux.

I've tried "route del default" and then "route add default gw 
192.168.2.1 metric 0", but the wireless connection was still slow.
"Slow" means, for example, that if I use my browser and go 
to "www.google.com", "Looking for www.google.com" lasts too mach.

Any hints?
Thanks
Sergio
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-12-12 21:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-26 15:48 [gentoo-user] OT: wlan0 is sssloooow Sergio Polini
2006-11-26 19:59 ` Richard Fish
2006-11-26 21:35   ` Sergio Polini
2006-11-26 22:08     ` [gentoo-user] Screen(s) found, but none have a usable configuration burmata
2006-11-26 22:31       ` Richard Fish
2006-11-27  5:32         ` burmata
2006-11-26 22:36     ` [gentoo-user] OT: wlan0 is sssloooow Richard Fish
2006-11-27 19:27       ` Sergio Polini
2006-11-27 19:28       ` Sergio Polini
2006-11-27 21:04       ` Sergio Polini
2006-11-27 21:48         ` Hans de Hartog
2006-11-27 22:54         ` Richard Fish
2006-11-28 21:53           ` [gentoo-user] OT: wlan0 is sssloooow [99% SOLVED] Sergio Polini
2006-12-11 20:56             ` [gentoo-user] OT: wlan0 is sssloooow [100% SOLVED] Sergio Polini
2006-12-12  8:15               ` Mick
2006-12-12 21:03                 ` Sergio Polini
2006-12-12  9:08               ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox