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.
It goes over the usbpcl setup on windows for wireless nic passthru
- Download bzImage or compile yourself
- Place bzImage in your windows
$HOME - Ensure that .wslconfig exists in $HOME |
if(!test-path "$HOME\.wslconfig"){ni "$HOME\.wslconfig" } - Add the following to your wslconfig:
echo @'
[boot]
systemd=true
'@ >> "$HOME\.wslconfig"- Termiante wsl, do the 8 second rule, open wsl . |
wsl --shutdown ; sleep 10 ; wsl - Verify the custom kernel is loaded. |
uname -a