usbipd-win
usbipd-win copied to clipboard
WSL can't see an USB drive after attaching
Is there an error after the warning? Did you find the root cause of the warning?
nope, no errors whatsoever. Just wsl can't see anything either as any other usb device
Follow the steps in https://github.com/dorssel/usbipd-win/wiki/Troubleshooting
Do you solve it?I meet the same problems,and need help.I,m almost dead kepping working for servals hours to solve it.
Do you solve it?I meet the same problems,and need help.I,m almost dead kepping working for servals hours to solve it.
No, that was a dealbreaker for me so I’ve switched from windows + well to Ubuntu
Did you check the relevant logs? I really don't want to install another system
I tried pass through wifi dongle. Not working, same as above, WSL2 doesn't see any new usb device.
> usbipd.exe attach -w -b 7-4
usbipd: info: Using WSL distribution 'Debian' to attach; the device will be available in all WSL 2 distributions.
usbipd: info: Using IP address 172.29.112.1 to reach the host.
usbipd: warning: A third-party firewall may be blocking the connection; ensure TCP port 3240 is allowed.
WSL usbip: error: tcp connect
usbipd: error: Failed to attach device with busid '7-4'.
@marbaa does your WSL guest itself faciliates an own firewall with ufw
or iptables
?
My company applies a Group Policy which prevented local changes to the Windows firewall to be applied correctly..
Now it works out of the box.
No, don't have any firewall in WSL distro. The problem is mentioned here and in following posts. Windows Defender is treating WSL internal network as Public network.
I tried pass through wifi dongle. Not working, same as above, WSL2 doesn't see any new usb device.
> usbipd.exe attach -w -b 7-4 usbipd: info: Using WSL distribution 'Debian' to attach; the device will be available in all WSL 2 distributions. usbipd: info: Using IP address 172.29.112.1 to reach the host. usbipd: warning: A third-party firewall may be blocking the connection; ensure TCP port 3240 is allowed. WSL usbip: error: tcp connect usbipd: error: Failed to attach device with busid '7-4'.
Same error here, however tried all the attempted solutions in other threads including #657, #794 and even this thread regarding firewall access prevention to WSL2, nothing has worked, even fully disabling firewall for a lil time as a test, with and without my VPN, same results. Testing with usbip attach -r <localip> -b 1-5
gives usbip: error: could not connect to <ip>: System error
as well, which seems to make sense.
Any ideas on this problem yet?
Here's a potential solution which worked for me: https://github.com/dorssel/usbipd-win/issues/794#issuecomment-2252615745