Merge pull request #2905 from dhuuthang/patch-1

Update Windows-WSL2-Installation-Instructions.md
This commit is contained in:
Iceman 2025-06-16 10:14:02 +02:00 committed by GitHub
commit 63392baa40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,7 +467,7 @@ You must have Windows Terminal installed to use this script.
3. Make sure your Proxmark3 is plugged in, and it is detected in the Device Manager as a COM port. 3. Make sure your Proxmark3 is plugged in, and it is detected in the Device Manager as a COM port.
4. Run **pm3_quick_startup_wsl2.bat** and accept the UAC prompt. The script auto detects and asks for admin privileges, so you don't have to right-click and select Run As Administrator. 4. Run **pm3_quick_startup_wsl2.bat** and accept the UAC prompt. The script auto detects and asks for admin privileges, so you don't have to right-click and select Run As Administrator.
5. It will open up 2 windows. The first one is Command Prompt where initializing commands will run, and you need to keep this window open. The second one is Windows Terminal, where your pm3 client will run. 5. It will open up 2 windows. The first one is Command Prompt where initializing commands will run, and you need to keep this window open. The second one is Windows Terminal, where your pm3 client will run.
6. On some systems, you will occasionally see this error popping up: `usbipd: error: WSL kernel is not USBIP capable`. Use command `service udev restart` to suppress that error.
```batch ```batch
@echo off @echo off
@ -514,6 +514,9 @@ REM -- Replace the following hardware IDs with your actual Proxmark3 ID. You can
usbipd bind --hardware-id 9ac4:4b8f usbipd bind --hardware-id 9ac4:4b8f
usbipd attach --auto-attach --hardware-id 9ac4:4b8f --wsl usbipd attach --auto-attach --hardware-id 9ac4:4b8f --wsl
REM -- Activate below line by removing the "REM --" prefix if you encounter this error: "usbipd: error: WSL kernel is not USBIP capable"
REM -- wsl -u root "modprobe vhci_hcd"
wsl -u root "service udev restart" wsl -u root "service udev restart"
wsl -u root "udevadm trigger --action=change" wsl -u root "udevadm trigger --action=change"