wsl2 debian 几个问题记录

wsl2 bookworm

  1. ping: socket: Operation not permitted

    sudo setcap cap_net_raw+p /bin/ping

ref: https://github.com/microsoft/WSL/issues/5109

  1. libcuda.so.1 is not a symbolic link

    //cmd
    C:
    cd \Windows\System32\lxss\lib
    del libcuda.so
    del libcuda.so.1
    mklink libcuda.so libcuda.so.1.1
    mklink libcuda.so.1 libcuda.so.1.1
    wsl -e /bin/bash
    sudo ldconfig
  2. ${hostname}.local

use ${hostname}.mshome.net

此处评论已关闭