| Description | we plugged in the Alfa AWUS036NH 2000mW using the following link :
http://www.aircrack-ng.org/doku.php?id=compatibility_drivers#drivers
we did not find the drivers for this model as such for the chipset RT3070.
In the OS it states that drivers are available and when we checked to set the unit into monitor mode it did not work.
we checked the following link but it does not work
http://www.aircrack-ng.org/doku.php?id=compatible_cards&DokuWiki=bf92ee39d26436a416673333abe7af1e
then we tried to activate the card based on this link:
http://www.cyberciti.biz/tips/linux-install-rt2870-chipset-based-usb-wireless-adapter.html
when i do the make these are the errors I get
root@netmon:~/2010_0709_RT2870_Linux_STA_v2.4.0.1# make
make -C tools
make[1]: Entering directory /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory/root/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
/root/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/3.12-kali1-amd64/build SUBDIRS=/root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux modules
make[1]: Entering directory /usr/src/linux-headers-3.12-kali1-amd64' CC [M] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:477:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default] In file included from /usr/src/linux-headers-3.12-kali1-common/arch/x86/include/asm/string.h:4:0, from /usr/src/linux-headers-3.12-kali1-common/include/linux/string.h:17, from /usr/src/linux-headers-3.12-kali1-common/include/linux/dynamic_debug.h:111, from /usr/src/linux-headers-3.12-kali1-common/include/linux/kernel.h:14, from /usr/src/linux-headers-3.12-kali1-common/include/linux/cache.h:4, from /usr/src/linux-headers-3.12-kali1-common/include/linux/time.h:4, from /usr/src/linux-headers-3.12-kali1-common/include/linux/stat.h:18, from /usr/src/linux-headers-3.12-kali1-common/include/linux/module.h:10, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/os/rt_linux.h:40, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rtmp_os.h:42, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rt_config.h:72, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:28: /usr/src/linux-headers-3.12-kali1-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:479:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default] In file included from /usr/src/linux-headers-3.12-kali1-common/arch/x86/include/asm/string.h:4:0, from /usr/src/linux-headers-3.12-kali1-common/include/linux/string.h:17, from /usr/src/linux-headers-3.12-kali1-common/include/linux/dynamic_debug.h:111, from /usr/src/linux-headers-3.12-kali1-common/include/linux/kernel.h:14, from /usr/src/linux-headers-3.12-kali1-common/include/linux/cache.h:4, from /usr/src/linux-headers-3.12-kali1-common/include/linux/time.h:4, from /usr/src/linux-headers-3.12-kali1-common/include/linux/stat.h:18, from /usr/src/linux-headers-3.12-kali1-common/include/linux/module.h:10, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/os/rt_linux.h:40, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rtmp_os.h:42, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/include/rt_config.h:72, from /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:28: /usr/src/linux-headers-3.12-kali1-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:629:23: warning: assignment makes integer from pointer without a cast [enabled by default] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:651:15: warning: assignment makes integer from pointer without a cast [enabled by default] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:672:15: warning: assignment makes integer from pointer without a cast [enabled by default] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:945:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSFSInfoChange’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1228:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’ /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1229:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’ /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1694:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’: /root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1731:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] make[4]: *** [/root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o] Error 1 make[3]: *** [_module_/root/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.12-kali1-amd64'
make: *** [LINUX] Error 2
Please advice
anirudha |
|---|