Pass USB WiFi adapter into Proxmox VM
Using TP-Link TL-WN722N
The GUI way of adding a USB device to a Proxmox VM didn’t work for me when using a USB network adapter (the device id was not showing up when trying to add to the VM via the GUI), so here is a simple manual workaround.
-
Plug in your desired USB device into the physical machine you’re running Proxmox on.
-
Using the CLI on the Proxmox host machine (recommended to use ssh/webGUI CLI), list all connected USB devices with
lsusb:
-
Note the ID of the desired device. In this case the
TP-Link TL-WN722, with ID:2357:010c -
Ensure the desired Proxmox VM that you want to pass the USB device to is powered off, and take note of its number (
104in the below image):
-
Still on the Proxmox host machine, run the following command to pass the USB device through to one or more of your virtual machines:
qm set [VM#] -usb0 host=[host-id]e.g. for VM
#104& host id2357:010c, I would run:qm set 104 -usb0 host=2357:010cSource: Proxmox documentation
-
Boot up your Proxmox VM (in my case, VM
#104) and runlsusbin using the CLI. You should now see the USB device that you just passed through (2357:010cfor me) in there!