-
Notifications
You must be signed in to change notification settings - Fork 198
Install Rayhunter from Windows with WSL
Below are unsupported installation instructions that have proven successful.
-
Install Windows Subsystem for Linux (WSL)
wsl --install
-
Follow the Microsoft instructions on how to install USBIPD-WIN, which allows WSL to communicate with USB devices
-
In an administrator powershell prompt, run
usbipd list
. Locate the device, like in the example below. Note the BUSID, you will need this.PS C:\> usbipd list Connected: BUSID VID:PID DEVICE STATE 2-8 <GUID> Remote NDIS based Internet Sharing Device Not shared
-
Bind the USB device and then attach it to WSL with the commands below. Be sure to replace
BUSID
with the one you captured from the previous step.PS C:\> usbipd bind --busid BUSID PS C:\> usbipd attach --wsl --busid BUSID
If successful, you should see an output like below
usbipd: info: Using WSL distribution 'Ubuntu' to attach; the device will be available in all WSL 2 distributions. usbipd: info: Detected networking mode 'nat'. usbipd: info: Using IP address 172.25.48.1 to reach the host.
Keep this command prompt open for later steps.
-
Open up your WSL prompt, by searching for
wsl
in Windows start menu. -
Navigate to the location of the
install.sh
script. -
Run
sudo ./install.sh
. -
Every time the device restarts, run the
usbipd attach --wsl --busid BUSID
in the administrator powershell command prompt
Thank you @governmentSponsored for contributing these instructions.