Skip to content

No internet connection in linux subsystem #241

@AsukaLangleyfag

Description

@AsukaLangleyfag

Okay, so I used bash on windows before and it worked. But after one update and some trobleshooting my internet connection (DHCP settings was wrong) I got this:

root@localhost:/# ip
Cannot open netlink socket: Invalid argument
root@localhost:/# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
root@localhost:/# lspci -v
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
root@localhost:/# ping
Usage: ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]
[-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos]
[-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]
[-w deadline] [-W timeout] [hop1 ...] destination
root@localhost:/# ping localhost
ping: icmp open socket: Socket type not supported

And I cannot fix it. I tried completely reinstall with lxrun /uninstall /full and it didn't fixed it. I tried to turn off and on linux subsystem and it didn't fixed it. Any ideas why? Also, it obviously means I don't have internet connection inside linux subsystem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions