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 21:09:05
Message-Id: 200611272204.33717.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 I apologize for my error.
18 However....
19
20 Case #1 - Cold boot, only wire enabled
21 --------------------------------------
22 (without CONFIG_NET_IPGRE)
23 net.eth0 in default runlevel.
24
25 sergio ~ # ifconfig -a
26 eth0 Link encap:Ethernet HWaddr 00:16:D3:09:2D:17
27 inet addr:XX.XXX.XXX.250 Bcast:255.255.255.255 Mask:255.255.248.0
28 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
29 RX packets:20 errors:0 dropped:0 overruns:0 frame:0
30 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
31 collisions:0 txqueuelen:1000
32 RX bytes:1578 (1.5 Kb) TX bytes:1669 (1.6 Kb)
33 Interrupt:16
34
35 lo Link encap:Local Loopback
36 inet addr:127.0.0.1 Mask:255.0.0.0
37 UP LOOPBACK RUNNING MTU:16436 Metric:1
38 RX packets:19 errors:0 dropped:0 overruns:0 frame:0
39 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
40 collisions:0 txqueuelen:0
41 RX bytes:1119 (1.0 Kb) TX bytes:1119 (1.0 Kb)
42
43 sergio ~ # route
44 Kernel IP routing table
45 Destination  Gateway      Genmask       Flags Metric Ref Use Iface
46 23.252.112.0 *            255.255.248.0 U     0      0     0 eth0
47 loopback     *            255.0.0.0     U     0      0     0 lo
48 default      23.252.112.1 0.0.0.0       UG    0      0     0 eth0
49
50 sergio ~ # cat /etc/resolv.conf
51 # Generated by dhcpcd for interface eth0
52 search fastwebnet.it
53 nameserver 213.156.54.80
54 nameserver 213.156.54.81
55
56 NB: route and ping www.google.com are fast.
57
58 Case #2 - Cold boot, only wireless enabled
59 ------------------------------------------
60 net.eth0 deleted from default runlevel.
61 After modprobe ndiswrapper and /etc/init.d/net.wlan0 start:
62
63 sergio ~ # ifconfig -a
64 eth0 Link encap:Ethernet HWaddr 00:16:D3:09:2D:17
65 UP BROADCAST MULTICAST MTU:1500 Metric:1
66 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
67 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
68 collisions:0 txqueuelen:1000
69 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
70 Interrupt:16
71
72 lo Link encap:Local Loopback
73 inet addr:127.0.0.1 Mask:255.0.0.0
74 UP LOOPBACK RUNNING MTU:16436 Metric:1
75 RX packets:19 errors:0 dropped:0 overruns:0 frame:0
76 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
77 collisions:0 txqueuelen:0
78 RX bytes:1119 (1.0 Kb) TX bytes:1119 (1.0 Kb)
79
80 wlan0 Link encap:Ethernet HWaddr 00:14:A5:E1:D2:B9
81 inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
82 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
83 RX packets:11 errors:0 dropped:0 overruns:0 frame:0
84 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
85 collisions:0 txqueuelen:1000
86 RX bytes:1483 (1.4 Kb) TX bytes:1922 (1.8 Kb)
87 Interrupt:20 Memory:c3000000-c3004000
88
89 sergio ~ # route
90 Kernel IP routing table
91 Destination Gateway Genmask Flags Metric Ref Use Iface
92 192.168.2.0 * 255.255.255.0 U 2000 0 0 wlan0
93 loopback * 255.0.0.0 U 0 0 0 lo
94 default 192.168.2.1 0.0.0.0 UG 2000 0 0 wlan0
95
96 sergio ~ # cat /etc/resolv.conf
97 # Generated by dhcpcd for interface wlan0
98 search Belkin
99 nameserver 192.168.2.1
100 nameserver 213.156.54.80
101 nameserver 213.156.54.81
102
103 NB: ping www.google.com is slow, ping 192.168.2.1 is either too much
104 slow or blocked ;-) But works under Windows.
105 route is slow, route -n is fast.
106
107 Case #3 - Cold boot, wire and wireless enabled
108 ----------------------------------------------
109 net.eth0 in default runlevel.
110 After modprobe ndiswrapper:
111
112 sergio ~ # ifconfig -a
113 eth0 Link encap:Ethernet HWaddr 00:16:D3:09:2D:17
114 inet addr:XX.XXX.XXX.250 Bcast:255.255.255.255 Mask:255.255.248.0
115 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
116 RX packets:18 errors:0 dropped:0 overruns:0 frame:0
117 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
118 collisions:0 txqueuelen:1000
119 RX bytes:1559 (1.5 Kb) TX bytes:1795 (1.7 Kb)
120 Interrupt:16
121
122 lo Link encap:Local Loopback
123 inet addr:127.0.0.1 Mask:255.0.0.0
124 UP LOOPBACK RUNNING MTU:16436 Metric:1
125 RX packets:19 errors:0 dropped:0 overruns:0 frame:0
126 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
127 collisions:0 txqueuelen:0
128 RX bytes:1119 (1.0 Kb) TX bytes:1119 (1.0 Kb)
129
130 wlan0 Link encap:Ethernet HWaddr 00:14:A5:E1:D2:B9
131 inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
132 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
133 RX packets:4 errors:0 dropped:0 overruns:0 frame:0
134 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
135 collisions:0 txqueuelen:1000
136 RX bytes:834 (834.0 b) TX bytes:1316 (1.2 Kb)
137 Interrupt:20 Memory:c3000000-c3004000
138
139 sergio ~ # route
140 Kernel IP routing table
141 Destination Gateway Genmask Flags Metric Ref Use Iface
142 192.168.2.0 * 255.255.255.0 U 2000 0 0 wlan0
143 23.252.112.0 * 255.255.248.0 U 0 0 0 eth0
144 loopback * 255.0.0.0 U 0 0 0 lo
145 default 23.252.112.1 0.0.0.0 UG 0 0 0 eth0
146 default 192.168.2.1 0.0.0.0 UG 2000 0 0 wlan0
147
148 sergio ~ # cat /etc/resolv.conf
149 # Generated by dhcpcd for interface wlan0
150 search Belkin
151 nameserver 192.168.2.1
152 nameserver 213.156.54.80
153 nameserver 213.156.54.81
154
155 NB: ping www.google.com is slow, ping 192.168.2.1 is either too much
156 slow or blocked.
157 route is slow, route -n is fast.
158
159 Thank for your patience.
160 Sergio
161 --
162 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT: wlan0 is sssloooow Hans de Hartog <dehartog@××××××.com>
Re: [gentoo-user] OT: wlan0 is sssloooow Richard Fish <bigfish@××××××××××.org>