Gentoo Archives: gentoo-user

From: Sergio Polini <sp_rm_it@×××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: wlan0 is sssloooow
Date: Mon, 27 Nov 2006 19:34:44
Message-Id: 200611272027.41292.sp_rm_it@yahoo.it
In Reply to: Re: [gentoo-user] OT: wlan0 is sssloooow by Richard Fish
1 Richard Fish:
2 > On 11/26/06, Sergio Polini <sp_rm_it@×××××.it> wrote:
3 > > My pings (perhaps all DNS lookups) are slow even if connect my PC
4 > > to both the wireless router and the cable, i.e. when there are
5 > > both a "fast" (metric 0) and a "slow" (metric 2000) interface.
6 > >
7 > > > What do "ifconfig wlan" and "iwconfig wlan" report for the fast
8 > > > and slow states?
9 > >
10 > > Fast (i.e. normal ;-) state happens only when net.wlan0 is
11 > > stopped. When I start net.wlan0:
12 >
13 > Are both wired and wireless enabled? Your original posting doesn't
14 > show any records for eth0. In the 'slow' state, what is the output
15 > of 'ifconfig -a' and route?
16
17 Hi Richard!
18 Here are three cases.
19
20 Cases #1 - Cold boot, only wire enabled
21
22 sergio ~ # ifconfig -a
23 eth0 Link encap:Ethernet HWaddr 00:16:D3:09:2D:17
24 inet addr:XX.XXX.XXX.250 Bcast:255.255.255.255 Mask:255.255.248.0
25 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
26 RX packets:1728 errors:0 dropped:0 overruns:0 frame:0
27 TX packets:1408 errors:0 dropped:0 overruns:0 carrier:0
28 collisions:0 txqueuelen:1000
29 RX bytes:917612 (896.1 Kb) TX bytes:165737 (161.8 Kb)
30 Interrupt:16
31
32 gre0 Link encap:UNSPEC
33 HWaddr 00-00-00-00-00-00-CF-A2-00-00-00-00-00-00-00-00
34 NOARP MTU:1476 Metric:1
35 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
36 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
37 collisions:0 txqueuelen:0
38 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
39
40 lo Link encap:Local Loopback
41 inet addr:127.0.0.1 Mask:255.0.0.0
42 UP LOOPBACK RUNNING MTU:16436 Metric:1
43 RX packets:19 errors:0 dropped:0 overruns:0 frame:0
44 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
45 collisions:0 txqueuelen:0
46 RX bytes:1119 (1.0 Kb) TX bytes:1119 (1.0 Kb)
47
48 sergio ~ # route
49 Kernel IP routing table
50 Destination Gateway Genmask Flags Metric Ref Use Iface
51 23.252.112.0 * 255.255.248.0 U 0 0 0 eth0
52 loopback * 255.0.0.0 U 0 0 0 lo
53 default 23.252.112.1 0.0.0.0 UG 0 0 0 eth0
54
55 NB: gre0 should be there because of an error in my kernel .config:
56 CONFIG_NET_IPGRE=y
57 ;-)
58 --
59 gentoo-user@g.o mailing list