shayne / go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address
1.65k stars 140 forks source link

Bad WSL IP #17

Closed yoshiyes closed 4 years ago

yoshiyes commented 4 years ago

New update prevents recovery of the correct ip address of the Linux VM

image

In Ubuntu (WSL2) image

shayne commented 4 years ago

Can you send me the output of cat /proc/net/fib_trie?

yoshiyes commented 4 years ago

Here's the result 😉 result.txt

shayne commented 4 years ago

Download v0.3.4 from the releases page. I implemented a more robust way of finding the WSL IP.

yoshiyes commented 4 years ago

I confirmed that the problem has been solved ! Thanks image