Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL can't see an USB drive after attaching #803

Open
accrine opened this issue Dec 15, 2023 · 9 comments
Open

WSL can't see an USB drive after attaching #803

accrine opened this issue Dec 15, 2023 · 9 comments
Labels
WSL Applies to WSL only

Comments

@accrine
Copy link

accrine commented Dec 15, 2023

image
image
image

@dorssel
Copy link
Owner

dorssel commented Dec 15, 2023

Is there an error after the warning? Did you find the root cause of the warning?

@accrine
Copy link
Author

accrine commented Dec 15, 2023

nope, no errors whatsoever. Just wsl can't see anything either as any other usb device

@dorssel
Copy link
Owner

dorssel commented Dec 15, 2023

@dorssel dorssel added bug Something isn't working WSL Applies to WSL only and removed bug Something isn't working labels Dec 18, 2023
@soul667
Copy link

soul667 commented Feb 17, 2024

Do you solve it?I meet the same problems,and need help.I,m almost dead kepping working for servals hours to solve it.

@accrine
Copy link
Author

accrine commented Feb 17, 2024

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

@soul667
Copy link

soul667 commented Feb 24, 2024

Did you check the relevant logs? I really don't want to install another system

@marbaa
Copy link

marbaa commented Feb 27, 2024

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'.

@ValentinTwin1206
Copy link

ValentinTwin1206 commented Mar 21, 2024

@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.

@marbaa
Copy link

marbaa commented Mar 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WSL Applies to WSL only
Projects
None yet
Development

No branches or pull requests

5 participants