Closed sullyj3 closed 4 years ago
Could you provide some information about the issue? Like Windows 10 version? WSL1 or WSL2? What are the network interfaces in WSL? Did you add any network settings in WSL?
Windows 10 build 19041.21
PS C:\Users\James> wsl -l -v
NAME STATE VERSION
* Ubuntu Running 1
(confusingly, I think this means i have wsl 2 - https://askubuntu.com/questions/1177729/wsl-am-i-running-version-1-or-version-2)
james at SurfaceLaptop in ~
❯ ip link show 00:27
1: lo: <LOOPBACK,UP> mtu 1500 group default qlen 1
link/loopback 00:00:00:00:00:00
19: wifi0: <BROADCAST,MULTICAST,UP> mtu 1500 group default qlen 1
link/ieee802.11 c4:9d:ed:9a:26:3f
10: wifi1: <> mtu 1500 group default qlen 1
link/ieee802.11 c6:9d:ed:9a:27:3e
16: wifi2: <> mtu 1500 group default qlen 1
link/ieee802.11 c6:9d:ed:9a:22:3e
I haven't changed anything network related in WSL, as far as I can recall.
Ohh... It's my fault. wsltty uses wslbridge2. I added an environment variable WSL_GUEST_IP
in wslbridge2 backend with which users can access eth0
IP address. But that virtual network interface is available for WSL2 only. I forgot to add the check.
Workaround: Open the wslbridge2 repository, open the Appveyor build badge, download the artifact in Ubuntu build, place it in C:\Users\UserName\AppData\Local\wsltty\bin
path.
Cool, seems like it worked!
Is this still an issue or can we close it?
Yes, this can be closed.
Is printed above the shell prompt. Apologies if this isn't specifically a wsltty issue, I'm not sure where the message comes from or how to go about tracking it down.