Pages

Rabu, 19 Maret 2014

[SOLVED] Tenda W311M || ubuntu 1204 || Compaq CQ40


root@nuha-PC:~# lspci | grep Broadcom
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
root@nuha-PC:~# 
root@nuha-PC:~# lsusb | grep Ralink
Bus 002 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
root@nuha-PC:~#


today i try to make MITM attack using aircrack-ng,
i installed it at HP Compaq CQ 40
after search in google , i know that my wireless NOT Supported as Monitor mode;


http://askubuntu.com/questions/155528/why-cant-i-set-monitor-mode-with-the-wl-sta-driver-on-a-broadcom-wireless-card
==The official Broadcom STA/wl driver DOES NOT support monitor mode==


so i plug USB wireless Tenda W311M
then i follow this tutorial 
http://ubuntuforums.org/showthread.php?t=1285828


1. Download the RT3070USB driver from Ralink.
http://www.mediatek.com/en/downloads/
insert your email address and their cacti


2. Unzip
$sudo su #tar jxvf DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz


3. Navigate to os/linux
root@nuha-PC:~# cd DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/
# gedit usb_main_dev.c
add: {USB_DEVICE(0x148F,0x2070)},   /* Ralink */ 
under     #ifdef RT_CFG80211_SUPPORT


So this source code become :
#ifdef RT_CFG80211_SUPPORT
    {USB_DEVICE(0x148F,0x2070)},
    RTMP_DRIVER_80211_UNREGISTER(pAd, net_dev);
#endif /* RT_CFG80211_SUPPORT */

 then  save and exit
root@nuha-PC:~/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux# cd ../..
root@nuha-PC:~/DPO_RT5572_LinuxSTA_2.6.1.3_20121022#  


4. Compile the module
#make


5. install the module
#make install 


6. Copy the .DAT file to /etc/Wireless. (the install script should do it but just in case). Also copy the rt2870.bin file to /lib/firmware. (just in case).
Code:
#mkdir -p /etc/Wireless/RT2870STA
#cp RT2870STA.dat /etc/Wireless/RT2870STA/
#apt-get install tofrodos
#dos2unix /etc/Wireless/RT2870STA/RT2870STA.dat
(please install dos2unix first ; by typing => apt-get install dos2unix )
#chmod +x /etc/Wireless/RT2870STA/RT2870STA.dat
#cp common/rt2870.bin /lib/firmware/

7. Start the module.
#modprobe rt5572sta


reboot
Note it will run when main wireless is enable

done
depok, 19 april 2014

0 komentar:

Posting Komentar