i've downloaded latest kali linux (amd64) and installed it on vmware workstation 10.
after installation i upgraded kali's kernel headers to the latest version.(now i have v3.16)
now i want to install my Alfa-AWUS036H wireless usb device to kali.apt-get update && apt-get install build-essential linux-headers-$(uname -r)
my device chipset is : rt3070. -> ralink (mediatek) company
i went to this site for download latest ver of this chip :
http://www.mediatek.com/en/downloads...t5572-usb-usb/
when you check extracted files of downloded driver you see many conditions for kernel 2.4 or 2.6 versions (mean it's an old driver and i think should change some codes in that project).
please help me step by step to install my wireless usb device on kali.
i also found this thread with no help :
http://askubuntu.com/questions/14876...ireless-driver
when should i run this command (and why rt5370sta instead of rt3070):
modprobe rt5370sta
EDIT 1 :
What did i do?
1-
2-apt-get update && apt-get install build-essential linux-headers-$(uname -r)
go to this path /os/linux/config.mk and change these lines:
3-HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
go to this file /os/linux/rt_linux.c and change these :
i did these changes because of some errors during make command. did i do that right?/* pOSFSInfo->fsuid = current_fsuid(); */
/* pOSFSInfo->fsgid = current_fsgid(); */
pOSFSInfo->fsuid = *(int *) & current_fsuid();
pOSFSInfo->fsgid = *(int *) & current_fsgid();
4-
and it's result : http://textuploader.com/o49ymake
5-
and it's result : http://textuploader.com/o49bmake install
EDIT 2 :
My Problems :
1-after update kali's kernel headers and connect usb device to kali i have ERROR for 802.11g WLAN usb wireless driver and nothing happens.
2-
after these commands
a file is copied to /etc/Wireless/RT2870STA/RT2870STA.datmake && make install
why RT2870 instead of RT3070?
also i had many warnings about unsigned variable and some errors during installation(before step 3) and because of those warnings and errors i did step 3 and after reboot and connect usb device to kali i still have ERROR for 802.11g WLAN usb wireless driver and nothing happens.
which parts of driver's project should i change and how can i load driver?
should i load driver manually or after connect it loads auto?
should i use X86 OS and change my OS?
thanks in advane