Wifi for Alfa Network Alfa USB Adapter AWUS036AXML

thank you for sharing. but the file is not available anymore. any change you can share it in antother way

@RoBe can you share the file again?

Here you have all the commands together for convenience, just copy and paste them into your terminal:

wget -O /tmp/WIFI_MT7961_patch_mcu_1_2_hdr.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
wget -O /tmp/WIFI_RAM_CODE_MT7922_1.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_RAM_CODE_MT7961_1.bin
wget -O /tmp/BT_RAM_CODE_MT7961_1_2_hdr.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
sudo cp /tmp/WIFI_MT7961_patch_mcu_1_2_hdr.bin /lib/firmware/mediatek/
sudo cp /tmp/WIFI_RAM_CODE_MT7922_1.bin /lib/firmware/mediatek/
sudo cp /tmp/BT_RAM_CODE_MT7961_1_2_hdr.bin /lib/firmware/mediatek/
echo ā€œinstall btusb /bin/falseā€ | sudo tee /etc/modprobe.d/local-dontload.conf
echo -e ā€œblacklist btmtk\nblacklist btusbā€ | sudo tee /etc/modprobe.d/blacklist.conf
sudo reboot

2 Likes

I just wanted to thank @boomel for starting this thread. I was running into the same issues.

For those who may be struggling with this issue, I was able to downgrade to 2024.1, as @Fred stated above. I still had issues with the Windows host capturing the WiFi adapter before the Guest OS was able to take control. I believe what ended up fixing the issue was manually adding the adapter to the VirtualBox filter for the Kali VM.

VBoxManage usbfilter add 0 --target ā€œkali_2024.1ā€ --name ā€œAlfa AWUS036AXMLā€ --vendorid 0x0e8d --productid 0x7961

Note that kali_2024.1 is the name of my VM.

Hope this helps someone in the future.

1 Like

1. Configure USB Compatibility in VMware

Before starting the virtual machine, ensure the USB controller is set to USB 3.1. This is essential for the adapter to function correctly.

  • Go to VM > Settings > Hardware > USB Controller.
  • Set USB Compatibility to USB 3.1.
  • Save and close the settings.

I’ve read (though I can’t recall the source) that if you experience frequent disconnections with the adapter, using a physical USB 2.0 hub or USB 2.0 Extender between your computer and the adapter can help resolve the issue. This might stabilize the connection in some setups.

2. Connect the USB Adapter

Once the virtual machine is running, connect the USB WiFi adapter via VMware’s removable devices menu:

  • Navigate to VM > Removable Devices.
  • Locate MediaTek Wireless_Device and select Connect (Disconnect from Host).

Ok, today I finally got this antenna working.

  1. Install a new fresh kali 2024.1 from the official kali page.
  2. Enable USB 3.1 from vmware’s virtual machine settings.

It works! You do not need any drivers.

1 Like

Do this

sudo rm -r /lib/firmware/mediatek/*

wget -O /tmp/WIFI_MT7961_patch_mcu_1_2_hdr.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
wget -O /tmp/WIFI_RAM_CODE_MT7961_1.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_RAM_CODE_MT7961_1.bin

sudo cp /tmp/WIFI_MT7961_patch_mcu_1_2_hdr.bin /lib/firmware/mediatek/
sudo cp /tmp/WIFI_RAM_CODE_MT7961_1.bin /lib/firmware/mediatek/

sudo chmod 777 /lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
sudo chmod 777 /lib/firmware/mediatek/WIFI_RAM_CODE_MT7961_1.bin

sudo nano /etc/modprobe.d/blacklist-bluetooth.conf

Add the following lines:
# Blacklist the Bluetooth Part of mt7921u
blacklist btmtk
blacklist btusb
blacklist btrtl

sudo reboot	
1 Like

Sorry I am so late commenting in this thread, however I am new here and I am trying to catch up by reading all the posts. Many of which, be they old or new, offer great insight into relatively new problems I am only now facing. That being said, I am interested in your comment about, ā€œpassive monitor modeā€.

If I ā€˜sudo airmon-ng start wlan0’
and performing any of the commands like ifconfig, It tells me I am in monitor mode, however my wlan0 does not indicate wlan0mon.
Is this the passive monitor mode for which you are referring here?

break down bank asia servilence do it fast

Does ALFA AWUS036AXM and ALFA AWUS036AXML supports packet injection & monitor mode in Kali Linux? if not any please suggest me some best and latest adapters for kali. i urgently need buy a new one.