Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 638 Bytes

usb.md

File metadata and controls

36 lines (24 loc) · 638 Bytes

Connect USB device to WSL

For WiFI drivers, you may need to Recompile the Linux Kernel.

Install usbipd,

winget install --interactive --exact dorssel.usbipd-win

List USB devices,

usbpid list

Get the BUSID of the device you want to use and bind it as admin, then list again to make sure it is shared.

gsudo usbipd bind --busid 2-17
usbpid list

Now attach to the device,

usbipd attach --wsl --busid 2-17 --distribution kali

In WSL, you should now see the device with lsusb.

Once you are done with it, detach from the device,

usbipd detach --busid 2-17