GithubHelp home page GithubHelp logo

Comments (9)

yuk7 avatar yuk7 commented on July 30, 2024

Does the nameservers work?
Have you launched Arch.exe while connected to the Internet?
WSL instances generates resolv.conf at them startup.

Please tell me cat /etc/resolv.conf output.

Thanks.

from archwsl.

mdwhitis avatar mdwhitis commented on July 30, 2024

from archwsl.

yuk7 avatar yuk7 commented on July 30, 2024

Ok. It seems that resolv.conf was generated correctly.
Is the computer connected to the internet?
Please excute these line in Arch shell:

ping 8.8.8.8 -c 4
ping www.google.com -c 4

from archwsl.

mdwhitis avatar mdwhitis commented on July 30, 2024

from archwsl.

mdwhitis avatar mdwhitis commented on July 30, 2024

I fixed it. Here's what I did, as root.

mkdir /mnt/c/ProgramData/ssh
cp /mnt/c/Windows/System32/OpenSSH/sshd_config_default /mnt/c/ProgramData/ssh/sshd_config
sshd.exe

from archwsl.

yuk7 avatar yuk7 commented on July 30, 2024

ok.

from archwsl.

wim07101993 avatar wim07101993 commented on July 30, 2024

Hello, I have the same problem. I copied the sshd config as stated in the solution, but now i get a "Privilege separation user sshd does not exist" from sshd.exe...
Still an empty response from server with pacman.

from archwsl.

wim07101993 avatar wim07101993 commented on July 30, 2024

Never mind, Kaspersky is not happy with WSL

from archwsl.

Sicks3c avatar Sicks3c commented on July 30, 2024

Had the same issue
Solved it with
sudo pacman -Syu i3
Putting that here in case someone needs it

from archwsl.

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.