Skip to content

🐞 Issue Title: usbipd attach fails with "Unable to determine host address" in NAT mode (WSL 2) #1210

@woque

Description

@woque

Describe the bug
When trying to attach a USB device to WSL 2 using usbipd attach --wsl --busid 3-4, the command fails with the following error:

usbipd: info: Using WSL distribution 'Ubuntu-20.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: info: Detected networking mode 'nat'.
usbipd: error: Unable to determine host address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions