Skip to content
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

df , ifconfig ,ping Error!! #239

Closed
litianZ opened this issue Apr 21, 2016 · 4 comments
Closed

df , ifconfig ,ping Error!! #239

litianZ opened this issue Apr 21, 2016 · 4 comments

Comments

@litianZ
Copy link

litianZ commented Apr 21, 2016

hi, I curl www.microsoft.com successful.
root@localhost:/mnt/c/Users/litian# curl www.microsoft.com
Microsoft Corporation

Your current User-Agent string appears to be from an automated process, if this is incorrect, please click this link:United States English Microsoft Homepage

but, I do these failed
root@localhost:/mnt/c/Users/litian# df
df: cannot read table of mounted file systems: No such file or directory
root@localhost:/mnt/c/Users/litian# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
root@localhost:/mnt/c/Users/litian# ping www.google.com
ping: icmp open socket: Socket type not supported
I had tried lxrun /uninstall and then lxrun /install, but it is still the same issue.
how can I do?

@sunilmut
Copy link
Member

@litianZ - Network tools such as ping\ifconfig not working is a known issue\limitation at the moment, unfortunately. The failure in these tools is not an indication of lack of network. See #66. If your network is working, you should be able to still apt-get packages and work with them. Please up vote the user voice page as indicated in #66. If network is working fine for you, I would suggest marking this as dupe of #66. And, thanks for trying out WSL and giving us feedback.

@EdoaLive
Copy link

About df, take a look at #150 for a workaround 😉

@benhillis
Copy link
Member

df and ping now work, I'm going to close this out as a duplicate of #66.

@bitcrazed
Copy link
Contributor

Small update: As of build 14926, ping can run in a non-elevated bash instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants