Richard Fish: > On 11/26/06, Sergio Polini <[EMAIL PROTECTED]> 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:16:D3: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:16:D3: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:E1:D2: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:16:D3: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:E1:D2: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-user@gentoo.org mailing list