Sigo estos pasos:
MMP login: root
Password:
MMP[~]$ cd /DISK2/etc/Wireless/
MMP[Wireless]$ insmod zd1211b.ko
Using zd1211b.ko
MMP[Wireless]$ ifconfig eth1 192.168.100.144 netmask 255.255.255.0
MMP[Wireless]$ ifconfig eth1 up
MMP[Wireless]$ iwconfig eth1 mode managed
MMP[Wireless]$ iwconfig eth1 essid B@WiN
MMP[Wireless]$ route add default gw 192.168.100.1
MMP[Wireless]$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...
eth1 802.11b/g NIC ESSID:"B@WiN"
Mode:Managed Frequency=2.462 GHz Access Point: 00:1D:73:55:68:E6
Bit Rate:0 kb/s
Retry:off RTS thr=9999 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:69/100 Signal level:40/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:42 Missed beacon:0
MMP[Wireless]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:14:13:E7:88
inet addr:192.168.100.143 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:327 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22257 (21.7 KiB) TX bytes:17110 (16.7 KiB)
Interrupt:46
eth1 Link encap:Ethernet HWaddr 00:25:86:E9:37:12
inet addr:192.168.100.144 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21914 (21.4 KiB) TX bytes:108 (108.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:1671 errors:0 dropped:0 overruns:0 frame:0
TX packets:1671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:555501 (542.4 KiB) TX bytes:555501 (542.4 KiB)
MMP[Wireless]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
192.168.100.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
MMP[~]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
MMP[~]$ ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes
Y nada no ai ping al router.
En cambio me meto en el router y me dice que esta conecado el usbwifi que cosa rara.
Le ago ping desde el telnet de router al usb wifi para probar yu me dice que tampoco encambio esta conectado y no me da ping.
B@WiN login: root
Password:
==========================================================
____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|
DD-WRT v24-sp2
http://www.dd-wrt.com
==========================================================
BusyBox v1.13.4 (2009-07-21 02:20:35 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@B@WiN:~# ping 192.168.100.144
PING 192.168.100.144 (192.168.100.144): 56 data bytes
root@B@WiN:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 br0
217.217.64.0 * 255.255.240.0 U 0 0 0 vlan1
169.254.0.0 * 255.255.0.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 217.217.64.1.dy 0.0.0.0 UG 0 0 0 vlan1
default B@WiN 0.0.0.0 UG 0 0 0 br0
root@B@WiN:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
217.217.64.0 0.0.0.0 255.255.240.0 U 0 0 0 vlan1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 217.217.64.1 0.0.0.0 UG 0 0 0 vlan1
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 br0
root@B@WiN:~#