none
WSL2 Ubuntu20.04 無法顯示實體網卡資訊 RRS feed

  • 问题

  • 我安裝了 WSL2.0 以及  Ubuntu20.04 版本之後發現沒辦法顯示實體網卡

    只有這張 Hyper-V Virtual Ethernet Adapter 

    請問有辦法顯示並且可以設定嗎 ?

    accuser@DESKTOP-JCU2A68:/mnt/d/ATLAS_Project/src$ ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.21.169.174  netmask 255.255.240.0  broadcast 172.21.175.255
            inet6 fe80::215:5dff:fecf:8b0  prefixlen 64  scopeid 0x20<link>
            ether 00:15:5d:cf:08:b0  txqueuelen 1000  (Ethernet)
            RX packets 7152  bytes 1342033 (1.3 MB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 7032  bytes 589169 (589.1 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    accuser@DESKTOP-JCU2A68:/mnt/d/ATLAS_Project/src$

    2020年4月30日 18:26