Giter VIP home page Giter VIP logo

Comments (4)

albertony avatar albertony commented on July 22, 2024 2

No you are not missing something... unless I am missing something too! :)

But I did this: Located download links for individual package files on my host computer and downloaded them from a browser (or rather, a PowerShell script), then used the package tool in wsl in "offline-mode" to install the packages from file, by referencing them in the /mnt/c/etc. path back where they are on the host. Needs the package socat, but then it needs some dependencies that are also missing so there are a couple more.

Debian:

Ubuntu 20.04:

  • Only missing socat package. Download url can be retrieved by the folowing command in wsl: apt-get install socat --print-uris -qq. Then download this link on host etc, and install it just like with Debian.

Alpine:

  • Tested the official "Minimal root filesystem" distribution from alpinelinux.org, so not actually a WSL distribution at all, but works like a charm. Except, needs bash to run the wsl-vpnkit script.
  • Downloads from https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/
  • Packages needed: ncurses-terminfo-base, ncurses-libs, readline, socat, bash
  • Install with apk add --quiet --repositories-file /dev/null <packagefiles>....

Also download npiperelay and Docker Desktop on host. As for the vpnkit.exe and vpnkit-tap-vsockd I downloaded just downloaded the Docker installer and instracted it with 7-Zip, first the .exe then the iso, to just grap these two files.

from wsl-vpnkit.

ballardt avatar ballardt commented on July 22, 2024

@albertony This did indeed work for me, thank you!

from wsl-vpnkit.

sakai135 avatar sakai135 commented on July 22, 2024

Thanks for the detailed steps, @albertony. The steps in the README were intended for when you have access to the internet within WSL2 but no access when connected to the VPN, since that was the situation I had. I'll try to update the README sometime soon to incorporate this where you don't have internet access at all within WSL2.

from wsl-vpnkit.

andyneff avatar andyneff commented on July 22, 2024

Another option is to convert the WSL to WSL1, install packages, and convert it back to WSL2

  • wsl --set-version {distro_name} 1
  • wsl --set-version {distro_name} 2

from wsl-vpnkit.

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.