Bus 0, device 11, function 0: Network controller: PCI device 1814:0301 (RaLink) (rev 0). IRQ 10. Master Capable. Latency=32. Non-prefetchable 32 bit memory at 0xe6000000 [0xe6007fff]. |
root@fw:/usr/local/src# wget http://www.ralinktech.com/drivers/Linux/2005_1230_RT61_ Linux_STA_Drv1.0.3.0.tar.gz root@fw:/usr/local/src# tar -zxf 2005_1230_RT61_Linux_STA_Drv1.0.3.0.tar.gz root@fw:/usr/local/src# |
#!/bin/bash # load the module cd /usr/local/src/RT61/Module insmod rt61.ko # bring up the interface ifconfig ra0 192.168.100.1 # set wireless stuff iwpriv ra0 set NetworkType=Adhoc iwpriv ra0 set AuthMode=WPANONE iwpriv ra0 set EncrypType=TKIP iwpriv ra0 set SSID="MYLINK" iwpriv ra0 set WPAPSK="12345678" iwpriv ra0 set SSID="MYLINK" # print some stats iwpriv ra0 get_site_survey iwconfig ra0 # add required routes: # we assume that 192.168.200.0/24 sits on the other side # and that the other side's IP is 192.168.100.2 route add -net 192.168.200.0/24 gw 192.168.100.2 |