List Info

Thread: OT: wlan0 is sssloooow




OT: wlan0 is sssloooow
user name
2006-11-26 22:36:23
On 11/26/06, Sergio Polini <sp_rm_ityahoo.it> wrote:
> My pings (perhaps all DNS lookups) are slow even if
connect my PC to
> both the wireless router and the cable, i.e. when there
are both
> a "fast" (metric 0) and a "slow"
(metric 2000) interface.
>
> > What do "ifconfig wlan" and
"iwconfig wlan" report for the fast and
> > slow states?
>
> Fast (i.e. normal  state
happens only when net.wlan0 is stopped.
> When I start net.wlan0:

Are both wired and wireless enabled?  Your original posting
doesn't
show any records for eth0.  In the 'slow' state, what is the
output of
'ifconfig -a' and route?

-Richard
-- 
gentoo-usergentoo.org mailing list

OT: wlan0 is sssloooow
user name
2006-11-27 19:27:41
Richard Fish:
> On 11/26/06, Sergio Polini <sp_rm_ityahoo.it> wrote:
> > My pings (perhaps all DNS lookups) are slow even
if connect my PC
> > to both the wireless router and the cable, i.e.
when there are
> > both a "fast" (metric 0) and a
"slow" (metric 2000) interface.
> >
> > > What do "ifconfig wlan" and
"iwconfig wlan" report for the fast
> > > and slow states?
> >
> > Fast (i.e. normal  state
happens only when net.wlan0 is
> > stopped. When I start net.wlan0:
>
> Are both wired and wireless enabled?  Your original
posting doesn't
> show any records for eth0.  In the 'slow' state, what
is the output
> of 'ifconfig -a' and route?

Hi Richard!
Here are three cases.

Cases #1 - Cold boot, only wire enabled

sergio ~ # ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:163:09:2D:
17
   inet addr:XX.XXX.XXX.250  Bcast:255.255.255.255 
Mask:255.255.248.0
   UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
   RX packets:1728 errors:0 dropped:0 overruns:0 frame:0
   TX packets:1408 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:917612 (896.1 Kb)  TX bytes:165737 (161.8 Kb)
   Interrupt:16

gre0  Link encap:UNSPEC
   HWaddr 00-00-00-00-00-00-CF-A2-00-00-00-00-00-00-00-00
   NOARP  MTU:1476  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo    Link encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:19 errors:0 dropped:0 overruns:0 frame:0
   TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1119 (1.0 Kb)  TX bytes:1119 (1.0 Kb)

sergio ~ # route
Kernel IP routing table
Destination  Gateway      Genmask       Flags Metric Ref Use
Iface
23.252.112.0 *            255.255.248.0 U     0      0     0
eth0
loopback     *            255.0.0.0     U     0      0     0
lo
default      23.252.112.1 0.0.0.0       UG    0      0     0
eth0

NB: gre0 should be there because of an error in my kernel
.config:
CONFIG_NET_IPGRE=y

-- 
gentoo-usergentoo.org mailing list

OT: wlan0 is sssloooow
user name
2006-11-27 19:28:42
Richard Fish:
> On 11/26/06, Sergio Polini <sp_rm_ityahoo.it> wrote:
> > My pings (perhaps all DNS lookups) are slow even
if connect my PC
> > to both the wireless router and the cable, i.e.
when there are
> > both a "fast" (metric 0) and a
"slow" (metric 2000) interface.
> >
> > > What do "ifconfig wlan" and
"iwconfig wlan" report for the fast
> > > and slow states?
> >
> > Fast (i.e. normal  state
happens only when net.wlan0 is
> > stopped. When I start net.wlan0:
>
> Are both wired and wireless enabled?  Your original
posting doesn't
> show any records for eth0.  In the 'slow' state, what
is the output
> of 'ifconfig -a' and route?
>
> -Richard

Sorry, I pressed "Send Mail" instead of "Save
in Drafts Folder" 
-- 
gentoo-usergentoo.org mailing list

OT: wlan0 is sssloooow
user name
2006-11-27 21:04:33
Richard Fish:
> On 11/26/06, Sergio Polini <sp_rm_ityahoo.it> wrote:
> > My pings (perhaps all DNS lookups) are slow even
if connect my PC
> > to both the wireless router and the cable, i.e.
when there are
> > both a "fast" (metric 0) and a
"slow" (metric 2000) interface.
> >
> > > What do "ifconfig wlan" and
"iwconfig wlan" report for the fast
> > > and slow states?
> >
> > Fast (i.e. normal  state
happens only when net.wlan0 is
> > stopped. When I start net.wlan0:
>
> Are both wired and wireless enabled?  Your original
posting doesn't
> show any records for eth0.  In the 'slow' state, what
is the output
> of 'ifconfig -a' and route?

I apologize for my error.
However....

Case #1 - Cold boot, only wire enabled
--------------------------------------
(without CONFIG_NET_IPGRE)
net.eth0 in default runlevel.

sergio ~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:163:09:2D:
17
  inet addr:XX.XXX.XXX.250  Bcast:255.255.255.255 
Mask:255.255.248.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
  RX packets:20 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1578 (1.5 Kb)  TX bytes:1669 (1.6 Kb)
  Interrupt:16

lo        Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:19 errors:0 dropped:0 overruns:0 frame:0
  TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:1119 (1.0 Kb)  TX bytes:1119 (1.0 Kb)

sergio ~ # route
Kernel IP routing table
Destination  Gateway      Genmask       Flags Metric Ref Use
Iface
23.252.112.0 *            255.255.248.0 U     0      0     0
eth0
loopback     *            255.0.0.0     U     0      0     0
lo
default      23.252.112.1 0.0.0.0       UG    0      0     0
eth0

sergio ~ # cat /etc/resolv.conf
# Generated by dhcpcd for interface eth0
search fastwebnet.it
nameserver 213.156.54.80
nameserver 213.156.54.81

NB: route and ping www.google.com are fast.

Case #2 - Cold boot, only wireless enabled
------------------------------------------
net.eth0 deleted from default runlevel.
After modprobe ndiswrapper and /etc/init.d/net.wlan0 start:

sergio ~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:163:09:2D:
17
   UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
   Interrupt:16

lo        Link encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:19 errors:0 dropped:0 overruns:0 frame:0
   TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1119 (1.0 Kb)  TX bytes:1119 (1.0 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:14:A5:E12:B9
   inet addr:192.168.2.2  Bcast:192.168.2.255 
Mask:255.255.255.0
   UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
   RX packets:11 errors:0 dropped:0 overruns:0 frame:0
   TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:1483 (1.4 Kb)  TX bytes:1922 (1.8 Kb)
   Interrupt:20 Memory:c3000000-c3004000

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

sergio ~ # cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
search Belkin
nameserver 192.168.2.1
nameserver 213.156.54.80
nameserver 213.156.54.81

NB: ping www.google.com is slow, ping 192.168.2.1 is either
too much 
slow or blocked  But
works under Windows.
route is slow, route -n is fast.

Case #3 - Cold boot, wire and wireless enabled
----------------------------------------------
net.eth0 in default runlevel.
After modprobe ndiswrapper:

sergio ~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:163:09:2D:
17
  inet addr:XX.XXX.XXX.250  Bcast:255.255.255.255 
Mask:255.255.248.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
  RX packets:18 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1559 (1.5 Kb)  TX bytes:1795 (1.7 Kb)
  Interrupt:16

lo        Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:19 errors:0 dropped:0 overruns:0 frame:0
  TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:1119 (1.0 Kb)  TX bytes:1119 (1.0 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:14:A5:E12:B9
  inet addr:192.168.2.2  Bcast:192.168.2.255 
Mask:255.255.255.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500 
Metric:1
  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
  TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:834 (834.0 b)  TX bytes:1316 (1.2 Kb)
  Interrupt:20 Memory:c3000000-c3004000

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
23.252.112.0 *            255.255.248.0 U     0      0     0
eth0
loopback     *            255.0.0.0     U     0      0     0
lo
default      23.252.112.1 0.0.0.0       UG    0      0     0
eth0
default      192.168.2.1  0.0.0.0       UG    2000   0     0
wlan0

sergio ~ # cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
search Belkin
nameserver 192.168.2.1
nameserver 213.156.54.80
nameserver 213.156.54.81

NB: ping www.google.com is slow, ping 192.168.2.1 is either
too much 
slow or blocked.
route is slow, route -n is fast.

Thank for your patience.
Sergio
-- 
gentoo-usergentoo.org mailing list

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )