-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installing KB5036893, WSL now logs an event regarding "Invalid networking mode 'mirrored' in C:\Users\<username>\.wslconfig" #11568
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
@ZenInTexas if you're using
The feature was promoted in a later wsl release. |
@zcobol, thanks I moved it to under [experimental] tag, and it no longer creates an Windows Event under WSL for "Invalid networking mode 'mirrored'" I am going to try upgrading, with "wsl --update --web-download", which it looks like will get me to wsl 2.1.5 |
Closed |
In some cases it happens because /etc/resolv.conf overridden. To fix that execute following commands
|
Windows Version
Microsoft Windows [Version 10.0.22631.3447]
WSL Version
2.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.123.1-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
.wslconfig
#Entry networkingMode require Windows 11 version 22H2(or higher)
networkingMode=mirrored
Expected Behavior
.wslconfig, networkingMode=mirrored should run
Actual Behavior
After installation of KB, WSL now emits an event regarding mirrored
Diagnostic Logs
Log Name: Application
Source: WSL
Date: 5/7/2024 7:59:07 AM
Event ID: 0
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: CPU2
Description:
The description for Event ID 0 from source WSL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Invalid networking mode 'mirrored' in C:\Users<username>.wslconfig
The message resource is present but the message was not found in the message table
Event Xml:
0
0
3
0
0
0x80000000000000
50723
Application
CPU2
Invalid networking mode 'mirrored' in C:\Users<username>.wslconfig
The text was updated successfully, but these errors were encountered: