-
Notifications
You must be signed in to change notification settings - Fork 824
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
Ping is not working #18
Comments
Have the same issue network doesn't work, running windows in parallels on a mac |
I got networking working on mine by disabling my AV's firewall, but it doesn't fix |
@fhelje @gdude2002 For me network is working, I can sucessfully download content from internet for example: wget google.com but what is not working is ping command and some other network related stuff. |
I confirm that requests out of a normal, SYN/SYN-ACK/ACK TCP connection (transport -UDP- and network -ICMP even locally- layers on ISO model) are not working. |
Same issue when using 14316 in latest Parallels on latest Mac OS X. Inside bash, network doesn't seem to work. DNS resolution fails, ping a fixed address doesn't work:
The same commands work inside cmd.exe. This means that I tried both "Shared Network" and "Bridged Network" networking modes of Parallels. It might be deficiency of (or incompatibility with) Parallel's network driver. Happy to provide more info from within bash (given that network stack is probably emulated in WSK I wouldn't know what behavior standard linux network debugging techniques is buggy but expected vs. unexpectedly buggy). |
@kjk It loos like there are two different issues, one is with DNS resolutions, and it is easily solved, just add a DNS server to
After that The second issue is with ping, i'm having the same problem here:
|
Traceroute is no better: |
ICMP is currently not supported, which is why "ping" fails. We realize that this makes it inconvenient to diagnose possible networking issues, and are working to address this. |
@SvenGroot Thanks for info! |
Why is this closed? |
..huh, I didn't get an email for this. Is it fixed? I still get the same behaviour. |
Yes, any network tools that rely on NETLINK or ICMP do not currently work and we are aware of this. We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. We appreciate your feedback and please make sure to provide it through the wpdev portal as well. Looks like there is already a post tracking this which you can up vote (or add a new one): |
Closing the issue is still a bad idea and also a bit rude. A nicer way is to tag it as 'wishlist', 'feature' or even 'backlog' |
Not only is closing the issue a bad idea, referencing a feedback post that has a description completely unrelated to this issue is really bad. No one viewing that feedback post will think it relates to this issue. |
@arjennienhuis, @fungus - Feedback taken regarding closing the issue. I will keep this in mind going forward. |
I have multiple networking tools that I cannot use due to this bug effecting ping, dig and anything raw socket related. Please address and prioritize this bug since Linux networking is a core feature of Linux and this bug probably spans thousands of Linux packages. |
Yes. Same here. But I don't understand why? |
@karpulix, @subhammridha - Which windows build are running? Please share output of the |
just run " Bash ubuntu for windows " as administrator and that's it he can get permission for using socket |
@sunilmut, yes I'm using anniversary update build of windows 10 and have not yet upgraded to creators update. I will though. Btw thanks for the info. |
@sunilmut i use version 1607 (OS build 14393.1066). I can't use "ping" in bash if run bash without administrator permission. Maybe it depends from region updates. I'm from Russia. p.s. sorry for my english |
no problem mate hope it helps you good luck |
@karpulix - No worries, thanks for using WSL. See if the |
@sunilmut Thank you! I'm update system and it problem resolved. |
No need to update. Login as an administrator not as a guest. |
WSL has been nothing but problems. |
ping has been working for several months, I think since the first creators update. WSL is still not perfect, but it's pretty impressive to me that compiled Linux binaries can use the Windows kernel in place of the Linux kernel and most of it works. You can always run a VM if WSL doesn't deliver what you need. I'm eager for when WSL support is complete - no bugs at all. Personally I already find it less frustrating than trying to build Linux tools to run natively on Mac OS X, and it's getting better with each release. |
I am trying to setup WSL but getting still errors on ping
resolv.conf:
|
Hi @spacemishka -- what version/build of Windows are you running? (Type This is a common issue with older releases of Windows 10, but a fix was released via Windows Update. |
Hi! Still cannot run ping even if run-as admin mode until sudo it: |
works fine as others have said when I run the Kali app as Administrator. |
for anyone still running into this issue, the below command fixed it for me: sudo chmod u+s `which ping` |
thank you, it worked for me |
Installed Ubuntu 20.04 on WSL 2, ran into the same issue. But that solution worked. 👍 |
Brand new windows 2004 kali wsl2 install, this fixed it for me as well, thanks! |
FWIW: according to the manual page, it is sufficient to set the CAP_NET_RAW capability. The following command worked for me:
Whether this method is safer than 'set-uid root' or not, I can't tell. |
That is a permission issue:
AFTER:
|
Ping is not working on WSL.
When used, returns:
# ping google.com
ping: icmp open socket: Socket type not supported
The text was updated successfully, but these errors were encountered: