Open dontholdmyhand opened 6 months ago
Hi @dontholdmyhand
Ive keep getting this error from inserting my usb adapter into my VM.
I may not be much help as I don't use usb wifi adapters with a VM. Hopefully someone with more knowledge will stop by this week. I have probably seen more reported issues regarding VM's over the last few years than any other single issue. The problem is almost never with the driver or adapter. It is almost always a problem with how the VM is configured.
have tried plugging it into different usb ports on my pc and tried plugging it without its extension cord.
There are things you have to configure in the VM for an adapter to work.
I have updated the drivers on widowns through the link provided on alfa networks site on Windows[Host] and Kali[VM]
How did you update the driver for the Alfa ACM in Kali... given that it is an in-kernel driver?
Does this mean the adapter itself is broken?
Unlikely. I have both the Alfa ACM and ACHM here. They are well made and the Linux drivers are solid.
or is there an issue on my part that i cant find?
My thoughts are that it is almost certainly a problem with the configuration of the VM. I have no problems with either adapter but I run on bare metal... with many distros.
ive yet to try this on a distro other than debian based.
Works fine here on other distros. Try them on bare metal.
I also have a awus036ACHM that works perfectly fine, minus having the set reg every time i connect it, and that fact that depreciated iwconfig on linux breaks the driver when switching to monitor mode but i got to fix that with the help of Zerbea @hcxdumptools
Then don't use the depreciated iwconfig. Use iw
and ip
. I know @zerbea. He knows a lot more about monitor mode than I do. I more of a specialist in AP mode. Here is a link on the Rokland website:
https://store.rokland.com/pages/alfa-awus036acm-kali-virtual-box-instructions
Let me know if it helps and I will put the link here on this site.
Cheers,
@morrownr
I have updated the drivers on widowns through the link provided on alfa networks site on Windows[Host] and Kali[VM]
How did you update the driver for the Alfa ACM in Kali... given that it is an in-kernel driver?
I didnt update them per say, i removed them from the mediatek driver dir, and downloaded mt7662u.bin and rom-patch.bin and replaced them just in case the ones on my kali vm were out of date
Does this mean the adapter itself is broken?
Unlikely. I have both the Alfa ACM and ACHM here. They are well made and the Linux drivers are solid.
I meant could it be possible that the piece that i bought could be malfunctioning
My thoughts are that it is almost certainly a problem with the configuration of the VM. I have no problems with either adapter but I run on bare metal... with many distros.
ive heard this so much too but i currently cant bare metal any other os on my host cause its my only machine sadly, soon though hopefully thats the plan
I also have a awus036ACHM that works perfectly fine, minus having the set reg every time i connect it, and that fact that depreciated iwconfig on linux breaks the driver when switching to monitor mode but i got to fix that with the help of Zerbea @hcxdumptools
Then don't use the depreciated iwconfig. Use
iw
andip
. I know @ZerBea. He knows a lot more about monitor mode than I do. I more of a specialist in AP mode. Here is a link on the Rokland website:oh for sure i dont anymore at all, im still new to linux ive been a windows non technical person my entire life but im pivoting into it now, @ZerBea shun alot of lights on so many things for me, and sent me down many amazing rabbit hole(thank you)
https://store.rokland.com/pages/alfa-awus036acm-kali-virtual-box-instructions
Let me know if it helps and I will put the link here on this site.
definitely will do, thank you so much, and ive also found https://forums.kali.org/showthread.php?128646-SOLVED-Alfa-AWUS036ACM-amp-Kali-2022-4-on-VB (turned out to be the same article) from https://github.com/morrownr/7612u , but i hope its this cause the same issue was with vmware too so, hopefully its just a virtual machine issue.
i bought these adapters based on alot of research i did that led me here and i have to say you highlighting how good the achm (and it is in fact very amazing) probably sold me into it the most out of everything i read + the fact that you have an entire repo about adapters so you probably know your shit lol
thank you so much for your time and help
just coming to update that, https://store.rokland.com/pages/alfa-awus036acm-kali-virtual-box-instructions, did not work for me, ill try with bare metal soon hopefully and update back.
plugging into a usb 2 port on my pc (just trying),with the usb controller on vb configured to usb3, doesnt yield back anything at all.
plugging into the usb 3 port on my pc shows the device in with lsusb in linux but no wlan device comes up:
the dmesg:
after deselecting the adapter from my vm and it tries to return to the host i get this message and i cant use it on the host anymore until i replug it in
same as the device not recognized error from before(but without expanding it)
Have you investigated using multi-boot instead of a VM? I use multi-boot on all of my systems. I don't use Windows but rather I do it to have multiple distros available on each system for testing or for a backup. Tht would allow you to keep Windows and have one or more partitions of Linux. A menu on boot allows you to decide what os to boot.
Correction: In the above message I used the term multi-boot. I should have used dual boot
. If you do a search on linux dual boot
, you will find a lot of information.
I use dual boot on every system I have. Dual does not mean only 2 OS's installed as I have 4 on two test systems. Dual boot allows you to keep any existing OS in tack but allows to boot to other OS's based on a menu that comes up at boot time. Dual boot allows all installed OS's to work on bare metal so VM's and their problems are eliminiated.
Correction: In the above message I used the term multi-boot. I should have used
dual boot
. If you do a search onlinux dual boot
, you will find a lot of information.I use dual boot on every system I have. Dual does not mean only 2 OS's installed as I have 4 on two test systems. Dual boot allows you to keep any existing OS in tack but allows to boot to other OS's based on a menu that comes up at boot time. Dual boot allows all installed OS's to work on bare metal so VM's and their problems are eliminiated.
i originally wanted to try a usb boot on my host instead of a vm, but my computer is very old and sensitive, im afraid i might break something to the point of no return.
i will be borrowing a laptop in a couple of days that i can test all sorts of boots for baremetalling and ill report back
Looking forward to your report.
I've been using Linux since '94 and setting up dual boot is just second nature for me but if you have no experience doing it, it would be best to practice first on a system where is does not matter if you mess things up.
if you have no experience doing it, it would be best to practice first on a system where is does not matter if you mess things up.
exactly how i feel about it considering i cant replace the stuff i break lol, thats what drove me to use a vm, but vms arent the way i see, not that theyre really bad or anything but if you wanna do something do it properly right?
I've been using Linux since '94 and setting up dual boot is just second nature for me
thats amazing actually i was barely 3 years old in 94 lol, but its never too early to start learning, i wish i knew i had a passion for this at an earlier age, ive basically been pcs and networks daily since i was a kid but never thought to delve deeper into them, instead i have thousands of hours on random video games lol
Just a quick little update, i managed to get the adapter to work by plugging it into a USB 3.1 instead of the 3.0 i was previously plugging it in (i did try the front 3.1 port but it never worked), either my mobo is really weird with it or something is up, all i did was change my computer case and the front panel usb 3.1 decided it wanted to work this time.
for more context my mobo has 4 usb 3 ports in the back that i was trying to use too but kept getting error'd
still going to be testing on bare metal too soon
either my mobo is really weird with it or something is up, all i did was change my computer case and the front panel usb 3.1 decided it wanted to work this time.
I have one desktop system where I experienced some USB3 issues so I got a card. The link below shows the card:
https://www.amazon.com/dp/B0BJPMVJ92
Ieft the USB2 ports working with the MB but but now USB3 support comes from this card. Very stable and compatible. USB3 is not mankind's greatest invention.
You would need to research whether that card would work with your MB.
@morrownr
either my mobo is really weird with it or something is up, all i did was change my computer case and the front panel usb 3.1 decided it wanted to work this time.
I have one desktop system where I experienced some USB3 issues so I got a card. The link below shows the card:
https://www.amazon.com/dp/B0BJPMVJ92
Ieft the USB2 ports working with the MB but but now USB3 support comes from this card. Very stable and compatible. USB3 is not mankind's greatest invention.
You would need to research whether that card would work with your MB.
@morrownr
a card is pretty sweet lol but thankfully i didnt need to change anything other than the case and use the frontal 3.1 socket.
i just finished trying the ACM on a usb version of kali on a laptop i borrowed and it works perfectly, i can only assume itll work just fine as well on a partitioned normal build, thank you so much for the help, i was worried i bought a dud but it was just my weird ass computer/virtual machines.
should i mark as closed or idk (im still new to github)
This is good news. I think you are headed in the right direction.
Please leave this issue open as it contains a lot of good information. I checked the numbers a couple of days ago. This site up to around 22,500 hits per week. I lot of people come by to read the info and news in these issues so I like to leave any issue that has good information open.
Good luck and stop by anytime.
@morrownr
This is good news. I think you are headed in the right direction.
Please leave this issue open as it contains a lot of good information. I checked the numbers a couple of days ago. This site up to around 22,500 hits per week. I lot of people come by to read the info and news in these issues so I like to leave any issue that has good information open.
Good luck and stop by anytime.
@morrownr
I really appreciate it, and i hope my post will help someone out.
last quick update, I tried it on bare metal and it works perfectly fine too.
have a good one
Ive keep getting this error from inserting my usb adapter into my VM. I cant get any wifi and the device wont even show in "ip link" or "iwconfig", but does appear in lsusb. I have tried plugging it into different usb ports on my pc and tried plugging it without its extension cord.
Im currently using virtualbox running 6.5.0-kali3 (i have also tried parrot and i couldnt get it to work)
I have also tried vmware and was met with similar results
the device DOES work properly on my windows HOST, except for after being used by vm and it tries to connect back to host i get this error message:
from windows device manager:
![mmc_3jNXLbnOzY](https://github.com/morrownr/USB-WiFi/assets/151450778/2cc6d612-885b-43f4-8d3c-af54ff67feef)
I have updated the drivers on widowns through the link provided on alfa networks site on Windows[Host] and Kali[VM] also sometimes my computer wont turn on if the adapter is plugged into the pc before boot
On VMs if i use usb 2 controller it wont appear in my "lsusb" but with usb 3 it does but it still wont bring wlan up
The error i keep getting on kali:
journal:
![VirtualBoxVM_4lvpeeLbmK](https://github.com/morrownr/USB-WiFi/assets/151450778/3045b9d9-beb2-4cfc-a49d-3cd00b24371b)
parrot:![VirtualBoxVM_1LCt92LSok](https://github.com/morrownr/USB-WiFi/assets/151450778/baced838-5b66-4e65-a9fd-a209e53f4b13)
Does this mean the adapter itself is broken? or is there an issue on my part that i cant find? could it be the xhci_hcd module being annoying? ive yet to try this on a distro other than debian based.
I also have a awus036ACHM that works perfectly fine, minus having the set reg every time i connect it, and that fact that depreciated iwconfig on linux breaks the driver when switching to monitor mode but i got to fix that with the help of Zerbea @hcxdumptools