Git Product home page Git Product logo

Comments (6)

inosus avatar inosus commented on August 17, 2024 3

I finally got apt-get to work with the above steps. However i needed to change 'etc/resolv.conf` to

nameserver 8.8.8.8
nameserver 8.8.4.4

ping still does not work :-(

root@localhost:~# ping www.google.com
ping: icmp open socket: Socket type not supported

Thanks for the help!

from wsl.

EdoaLive avatar EdoaLive commented on August 17, 2024 1

@mjansen1028

ping still does not work :-(

This is another issue, please open it separately. Thanks 😄

from wsl.

Aneurin avatar Aneurin commented on August 17, 2024

(I posted a longer version of this in issue #5. I hope the repetition isn't considered abusive, but I thought a summary here might be useful to someone.)

This problem is compounded by the fact that common DNS tools that you might use in diagnosing this, like host or dig, don't work even once you have got your DNS set up correctly.

In fact, all the BIND DNS tools that are installed by default don't currently seem to function here, but the equivalent Knot DNS tools do, and you can install them once you have working DNS, using apt-get install knot-dnsutils knot-host.

from wsl.

dhalbert avatar dhalbert commented on August 17, 2024

Assuming you are behind a router that serves as a DNS proxy, you can also add the router's IPv4 IP address, usually 192.168.0.1 or 192.168.1.1. Do an nslookup example.org in Windows CMD, and you'll see the server address it's using.

from wsl.

russalex avatar russalex commented on August 17, 2024

@DenzoNL, are you still getting this error on 14334? We did a lot of work in this build to make the resolv.conf more reliable.

from wsl.

DenzoNL avatar DenzoNL commented on August 17, 2024

@russalex Did a fresh install on 14334 using lxrun /uninstall /full and lxrun /install, and /etc/resolv.conf is properly set by default now. Issue resolved!

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.