-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong ip result #37
Comments
The tool is all right. I provide with another simple solution below.
Run this script in ~/.bashrc can set hosts both in win and wsl. |
This line give me an error, about not being writeable.
|
@rnwolf right click to hosts file and reset your logging user to full authority in property-security-advanced. |
@derik007 Thanks that worked great. I use zsh, which automatically runs, ~/.zlogin script on login. Rather than Users as picture below, I ended up adding |
I'm pretty sure that I have done everything right to install the tool. However, the result of this tool seems to be incorrect.
In my wsl2, I run
then I got message below:
However, when I check hosts file, the result is
So obviously, 172.17.60.228 is not 172.17.60.225. I think this tool just gives a wrong answer.
my version of go-wsl2-host is v0.3.5.
The text was updated successfully, but these errors were encountered: