Wednesday, March 13, 2019

How to add usb wifi nics to eve-ng for wireless testing

Here's some quick info I learned recently from a eve-ng founder. Before this I was just using guest VMs in ESXI and bridging them to the same vlan as eve-ng VMs, was quite a hassle. Now I just pass the usb devices to guests.

Plus in the USB devices to your server (I use a USB hub and it works fine).

Add a USB controller and the usb host devices to the EVE-NG VM.

run "lsusb" while SSH'd into EVE and get the host bus and address for the device.

Then create a VM/node in EVE and change the following QEMU parameters:

Before “-usbdevice tablet” add “-device usb-ehci,id=ehci” and then at the end after “if=floppy,readonly” add “,if=virtio -usb -device usb-host,hostbus=1,hostaddr=8”

i posted a more detail how to add wifi nics to eve-ng on my blog here but the gist of the information and all you need is above to get this to work properly.

Mods, let me know if I need to remove the source info link to my blog.

If you don't know what eve-ng is you're living under a rock http://www.eve-ng.net/



No comments:

Post a Comment