wsl2-hacks icon indicating copy to clipboard operation
wsl2-hacks copied to clipboard

Put Windows IP in the hosts

Open mrebello opened this issue 3 years ago • 0 comments

in wsl2hack, add

chmod u+w /etc/hosts && echo ip r | grep default | cut -d' ' -f3 windows >> /etc/hosts

to put windows IP in the /etc/hosts with IP of Windows

mrebello avatar Mar 30 '22 12:03 mrebello