Hola,
Desde hace nada tengo el usb wireless Alfa AWUS051NH. RT2870 Wireless Lan Linux Driver
A pesar de que en el host lo reconoce sin necesidad de drivers ( uso mint)
en las vm tengo que compilar el driver
queria compilarlo para el s.o kali y parrot para pentest
lo que me gustaría conseguir es que al tener instalado el driver me reconociese las wireless extensions
y poder poner las vm en red interna y que se pudieran comunicar
me dijeron que lo soportaba el kernel y que ninguno da problema
pero me esta dando errores cuando pongo en el terminal make
el s.o esta actualizado , he instalado los headers, linux image , y el kernel source code 4.9
https://docs.kali.org/development/recompiling-the-kali-linux-kernel
=======================================================================
Build Instructions:
====================
1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your nyaeed.
3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
4> $make
# compile driver source code
# To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
6> load driver, go to "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up
7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta
el error que me da es:
root@kali (https://underc0de.org/foro/index.php?action=profile;u=42200):~/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022# make
make -C tools
make[1]: Entering directory '/root/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/root/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools'
/root/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools/bin2h
cp -f os/linux/Makefile.6 /root/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/Makefile
make -C /home/root/kernel/linux-source-4.9/ SUBDIRS=/root/Desktop/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux modules
make[1]: *** /home/root/kernel/linux-source-4.9/: No such file or directory. Stop.
Makefile:388: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
alguien tiene experiencia con este tipo de tarjetas ?
muchas gracias
Hola. pues como respuesta rápida podría decirte que te hagas de un paquete *.deb del driver estando en mint y lo instales en las virtuales.
Me avisas si funciona.
Saludos
You are not allowed to view links.
You are not allowed to view links.
Register or Login or You are not allowed to view links.
Register or Login
Hola. pues como respuesta rápida podría decirte que te hagas de un paquete *.deb del driver estando en mint y lo instales en las virtuales.
Me avisas si funciona.
Saludos
hola, al final me he decantado por seguir lo que decia aqui ( es un caso parecido solo que a el si le detectaba el usb wireless card y a mi no )
de todas formas he estado preguntando donde lo compre y me han dicho que es plug and play por lo que no es necesario instalar nada
https://www.wifi-libre.com/topic-798-problemas-con-adaptador-awus036ach.html
gracias
se puede dar el tema por solucionado
no se para que pregunto XD