public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergio Polini <sp_rm_it@yahoo.it>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] OT: wlan0 is sssloooow
Date: Sun, 26 Nov 2006 16:48:02 +0100	[thread overview]
Message-ID: <200611261648.03512.sp_rm_it@yahoo.it> (raw)

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



             reply	other threads:[~2006-11-26 15:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26 15:48 Sergio Polini [this message]
2006-11-26 19:59 ` [gentoo-user] OT: wlan0 is sssloooow 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611261648.03512.sp_rm_it@yahoo.it \
    --to=sp_rm_it@yahoo.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox