WSLHostPatcher
WSL
WSLHostPatcher | WSL | |
---|---|---|
6 | 406 | |
646 | 16,676 | |
- | 0.7% | |
3.2 | 8.6 | |
29 days ago | 2 days ago | |
C++ | PowerShell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WSLHostPatcher
-
How to connect my EXPO GO app in IOS to my django server? (both running on wsl)
I had the same problem actually, you need this https://github.com/CzBiX/WSLHostPatcher and just run it under windows, the you need to tell metro to listen to you pc/laptop’s network address
-
Expose-WSL
WSL provides a great environment for web developers working on Windows. However, it's not always easy to access the applications running in WSL from the local network. Whether you're working on a web app, a React-Native application, REST API, or have a database residing in a Docker container, you'll need to access it from a real mobile phone or simply from a different device. While there are ways to achieve this, they are not always easy to implement. Some of them require tackling with an NIC Bridge mode or manually downloading and applying a WSLHostPatcher. Which are things you probably don't want to deal with when you're just trying to get your work done. Here's where Expose-WSL comes into play.
-
Cant see proper visitor ip in logs?
So, then your options are: 1) a real HTTP (reverse) proxy like Apache or nginx on Windows, 2) changing your VM network to bridge mode and manually configuring an address every time you start WSL2 (https://stackoverflow.com/a/62438375 , see "option 2"), or maybe 3) https://github.com/CzBiX/WSLHostPatcher this thing
- Dynamic patch WSL2 to listen port on any interface
-
For Windows 11, wslg, what's the recommended way to ssh into a WSL2 Ubuntu instance from another machine on the lan?
Try this app: https://github.com/CzBiX/WSLHostPatcher. I've checked the code and it isn't harmful at all, it just checks for any wslhost.exe's created connections after the .EXE is run (by just using hooks) and makes it so they listen on all interfaces instead of just localhost, so this effectively makes your WSL2 and Windows listening connections to be merged together in the same network stack, to say it that way. Or in other words, dynamic port forwarding.
-
Can't connect to docker container over LAN, only localhost
This looks good https://github.com/CzBiX/WSLHostPatcher but that’s for tomorrow!
WSL
-
GoboLinux
It absolutely 100% can be true.
As an example: Windows Services for Linux 2 used a special init daemon to interact with the host OS.
That meant no systemd. That meant that the `systemctl` program wasn't there.
This baffled legions, armies, of wannabe sysadmins.
https://stackoverflow.com/questions/55579342/why-systemd-is-...
https://superuser.com/questions/1785697/systemd-in-wsl-on-wi...
https://github.com/microsoft/WSL/issues/9477
https://askubuntu.com/questions/1132230/unable-to-run-any-sy...
People on the whole have no idea how this stuff works, and they just copy magic incantations from StackOverflow to get stuff to happen. If that doesn't work, then this OS is broken. The end.
For these guys, WSL was broken.
Result:
MS hired Lennart Poettering.
https://www.theregister.com/2022/07/07/lennart_poettering_re...
He "fixed" it. Systemd now works in WSL2. All those guides for noobs now work. Everyone is happy.
In a world where tools like Flatpak and Snap are proliferating and it's driving deep divisions between Linux distros, if you think the average person struggling with Linux is going to use `ldd` to work out where the dependencies for something live, I'm afraid you are a deep guru who lives on a different plane of existence.
We now have widely-used packaging systems which simply embed an apps entire dependency tree into a package to avoid people having to work out the difference between `apt` and `rpm`. Thousands of terabytes of disk are being burned to make this stuff go away.
Yes, this is too hard. Way too hard.
-
Why Linux utilities tend to run poorly on Windows
Better source: https://github.com/Microsoft/WSL/issues/873#issuecomment-425...
- Weird graphical glitch/problem in Ubuntu WSLg (OpenGL)
-
RamRamRamEveryoneSleepingOnDocker
One of the bugs where on the Docker side. As I have said, there have been several since release with a lot of impact period overlap. The latest and greatest is not resolved.
-
Laravel dev in Windows - Laragon vs Docker?
It's the issue of abysmal I/O performance in communication between the mounted WSL2 virtual hard disk and Windows mounts inside the WSL2 distro.
- WSL freeze seems fixed in 2.0.12
-
What's the right way to open files in the system's default program from Ubuntu 22.04 in WSL 2 please?
I found this github page and I was able to reproduce this from the answer
-
Ask HN: Best Docker open source alternative?
* Docker engine and not Docker Desktop in a VM. WSL2 works well after some configuration: https://github.com/microsoft/WSL/issues/6655#issuecomment-11...
-
Broadcom to Cut Almost 1,300 VMware Jobs in California After Takeover
Seems to more of a Defender issue than a WSL one, see https://github.com/microsoft/WSL/issues/8995
After adding exclusions for the fsnotifier-wsl process and and both variants of the WSL distro path my disk performance was improved.
Adding the idea64.exe process also helped since I was trying to run IntelliJ against projects inside WSL.
- Bricked WSL 2 after 2.0.9 / Windows 10
What are some alternatives?
WSLackware - Slackware for WSL!
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
WSL-Context-Menu-Manager - Manages the context menu for your Linux tools in WSL/WSL2 for Windows.
genie - A quick way into a systemd "bottle" for WSL
wsl-windows-toolbar-launcher - Adds linux GUI application menu to a windows toolbar
Scoop - A command-line installer for Windows.
FluentDocker - Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Single-GPU-Passthrough
GWSL-Source - The actual code for GWSL. And some prebuilt releases.
setup-msys2 - GitHub Action to setup MSYS2
mantine-datatable - The table component for your Mantine data-rich applications, supporting asynchronous data loading, column sorting, custom cell data rendering, context menus, nesting, Gmail-style batch row selection, dark theme, and more.
mkcert - A simple zero-config tool to make locally trusted development certificates with any names you'd like.