Wsl network settings for wifree3: הבדלים בין גרסאות בדף
(יצירת דף עם התוכן "When connected to the filter using the WiFree3 software, typically (with default WSL settings), internet access is unavailable in WSL. To try and resolve this i...") |
|||
| שורה 2: | שורה 2: | ||
To try and resolve this issue, you can configure the network mode in WSL to virtioproxy. | To try and resolve this issue, you can configure the network mode in WSL to virtioproxy. | ||
| − | See [ | + | See [https://wiki.netfree.link/index.php?title=%D7%AA%D7%A7%D7%9C%D7%95%D7%AA_%D7%95%D7%A4%D7%AA%D7%A8%D7%95%D7%A0%D7%9F#.D7.90.D7.99.D7.9F_.D7.92.D7.99.D7.A9.D7.94_.D7.9C.D7.90.D7.99.D7.A0.D7.98.D7.A8.D7.A0.D7.98_.D7.91_wsl_.2B_wifree3] how to do it using the WSL Settings tool. here] |
If you don’t have the WSL Settings software, here’s a manual guide (credit: grock) to configure it manually: | If you don’t have the WSL Settings software, here’s a manual guide (credit: grock) to configure it manually: | ||
גרסה מ־11:13, 5 ביוני 2025
When connected to the filter using the WiFree3 software, typically (with default WSL settings), internet access is unavailable in WSL.
To try and resolve this issue, you can configure the network mode in WSL to virtioproxy. See [1] how to do it using the WSL Settings tool. here]
If you don’t have the WSL Settings software, here’s a manual guide (credit: grock) to configure it manually:
Prerequisites Ensure you are using WSL 2, as virtioProxy is specific to WSL 2. You need administrative privileges to modify WSL configuration files. Verify your WSL version by running wsl --version in a Windows Command Prompt or PowerShell. Ensure you have a recent version (e.g., WSL 2.0.14 or higher). Back up any important data or configurations before making changes. Steps to Change Network Mode to virtioProxy Open or Create the .wslconfig File: The .wslconfig file is used to configure global WSL 2 settings and is located in your Windows user profile directory (%UserProfile%.wslconfig). Open a text editor (e.g., Notepad, VS Code) and navigate to C:\Users<YourUsername>.wslconfig. If the file does not exist, create a new file named .wslconfig. Edit the .wslconfig File: Add or modify the following section in the .wslconfig file to set the networking mode to virtioProxy:
[wsl2] networkingMode=virtioProxy Save the file and close the text editor. Shut Down WSL: To apply the changes, you need to stop all running WSL instances. Open a Command Prompt or PowerShell and run:
wsl --shutdown This ensures that the WSL engine fully stops and will respect the new configuration when restarted. Restart WSL: Start your WSL distribution (e.g., Ubuntu) by running: bash
wsl -d <DistributionName> Replace <DistributionName> with the name of your installed distribution (e.g., Ubuntu-22.04). You can list distributions with wsl --list. Verify the Network Mode: Inside your WSL distribution, check the network interfaces to confirm the change:
wslinfo --networking-mode