Backtrack: Kismet Siapkan Kernel untuk RT8270 Linksys WUSB600N

From OnnoWiki
Jump to: navigation, search


Open with gedit the file named, that is placed in the subfolder os/linux. Replace the lines "HAS_WPA_SUPPLICANT=n" and "HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n", with the lines "HAS_WPA_SUPPLICANT=y" and "HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y" (without the quotes). Save and close.

Now open the file named rt2870.h that is placed in the subfolder include. Insert a new line after "{USB_DEVICE(0x157E,0x300E)}, /* U-Media */ \", it is line 126, and place in the new line exactly this string "{USB_DEVICE(0x1737,0x0071)}, /* WUSB600N */ \" (again without the quotes). Save and close.

We are ready to compile, so bring up a terminal, point it to the directory "2008_0718_RT2870_Linux_STA_v1.3.1.0" and type "sudo make". It may take some minutes. If no error is reported (for me it worked) then you have your driver compiled.

Now we have to copy the file named RT2870STA.dat to the folder /etc/Wireless/RT2870STA/. You may have to create it, for example type in the terminal:

sudo mkdir /etc/Wireless
sudo mkdir /etc/Wireless/RT2870STA
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

Almost done, we have to load the driver kernel module. Select again the terminal, navigate to the subfolder os/lnux, and then load the module with:

sudo insmod rt2870sta.ko

To get it running always at startup, we have to edit a file. Open it by typing in the terminal "sudo gedit /etc/modules", then at the end of file add the line "rt2870sta" (without the quotes). Save and close.

Reboot your pc, it should then work.


Pranala Menarik