Hello.
I buy D-Link DWA-125 Wireless 150 USB2.0 802.11n adapter, based on Ralink RT2870 chipset.
There are orange LED, they flash when it work.
Native Wirelles LAN is not working, and LED not flash.
I write script, when I run it, LED flash. There is script and STDOUT. STDERR is clear.
Why it dont work and how I can do it works?
In PC I run connectify with Open Ad-hoc. There are last firmware in caanoo.
That script shows next:
I buy D-Link DWA-125 Wireless 150 USB2.0 802.11n adapter, based on Ralink RT2870 chipset.
There are orange LED, they flash when it work.
Native Wirelles LAN is not working, and LED not flash.
I write script, when I run it, LED flash. There is script and STDOUT. STDERR is clear.
Why it dont work and how I can do it works?
In PC I run connectify with Open Ad-hoc. There are last firmware in caanoo.
Code:
#!/bin/sh
PATH=/lib/modules/2.6.24/kernel/net/packet/:$PATH
echo executing "insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko"
insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
echo executing "ifconfig ra0 down"
ifconfig ra0 down
echo executing "ifconfig ra0 inet 192.168.2.78 broadcast 192.168.2.255"
ifconfig ra0 inet 192.168.2.78 broadcast 192.168.2.255
echo executing "iwconfig essid"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwconfig ra0 essid "damirka"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwconfig ra0 mode Ad-Hoc
echo executing "ifconfig ra0 up"
ifconfig ra0 up
echo executing "iwconfig ra0"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwconfig ra0
echo executing "ifconfig -a"
ifconfig -a
ping 192.168.2.1 -c 3
echo done
That script shows next:
Code:
executing insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
executing ifconfig ra0 down
executing ifconfig ra0 inet 192.168.2.78 broadcast 192.168.2.255
executing iwconfig essid
executing ifconfig ra0 up
executing iwconfig ra0
ra0 Ralink STA ESSID:"" Nickname:"RT2870STA"
Mode:Auto Frequency=2.412 GHz Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:-115 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
executing ifconfig -a
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: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)
ra0 Link encap:Ethernet HWaddr 1C:AF:F7:7C:22:C9
inet addr:192.168.2.78 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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)
PING 192.168.2.1 (192.168.2.1): 56 data bytes
--- 192.168.2.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
done