Skip to content

Released WSL2 Kernel with Wireless Modules

Latest

Choose a tag to compare

@Calvindd2f Calvindd2f released this 13 Oct 07:36

Released WSL2 Kernel with Wireless Modules

For more context; if you give a fuck - please follow to the best of your abilities this shell script. It is to be initially ran from a windows host and configurations need to be made. and then switch to wsl when chaging the compiled kernel.

wsl2_usb_wireless.sh

It goes over the usbpcl setup on windows for wireless nic passthru

  1. Download bzImage or compile yourself
  2. Place bzImage in your windows $HOME
  3. Ensure that .wslconfig exists in $HOME | if(!test-path "$HOME\.wslconfig"){ni "$HOME\.wslconfig" }
  4. Add the following to your wslconfig:
echo @'
[boot]
systemd=true
'@ >> "$HOME\.wslconfig"
  1. Termiante wsl, do the 8 second rule, open wsl . | wsl --shutdown ; sleep 10 ; wsl
  2. Verify the custom kernel is loaded. | uname -a