Wsl network settings for wifree3: הבדלים בין גרסאות בדף
| (גרסת ביניים אחת של אותו משתמש אינה מוצגת) | |||
| שורה 6: | שורה 6: | ||
To try and resolve this issue, you can configure the network mode in WSL to virtioproxy.<br> | To try and resolve this issue, you can configure the network mode in WSL to virtioproxy.<br> | ||
| − | See [https://wiki.netfree.link/ | + | See [https://wiki.netfree.link/wiki/Bugs_and_their_solutions#No_Internet_Access_in_WSL_.2B_WiFree3 here] how to do it using the WSL Settings tool.<br> |
If you don’t have the WSL Settings software, here’s a manual guide (credit: grock) to configure it manually:<br> | If you don’t have the WSL Settings software, here’s a manual guide (credit: grock) to configure it manually:<br> | ||
| שורה 34: | שורה 34: | ||
Restart WSL and check if the issue is resolved.<br> | Restart WSL and check if the issue is resolved.<br> | ||
| − | To verify that the setting has taken effect, | + | To verify that the setting has taken effect, rrun the following command '''inside WSL'''<br> |
wsl wslinfo --networking-mode | wsl wslinfo --networking-mode | ||
If the configuration was applied successfully, you should see virtioproxy as the result. | If the configuration was applied successfully, you should see virtioproxy as the result. | ||
גרסה אחרונה מ־11:48, 5 ביוני 2025
לעברית לחצו כאן
To switch from edit view to read view
To search in the Wiki
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 here how to do it using the WSL Settings tool.
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.
Restarting WSL:
Restart WSL and check if the issue is resolved.
To verify that the setting has taken effect, rrun the following command inside WSL
wsl wslinfo --networking-mode
If the configuration was applied successfully, you should see virtioproxy as the result.