Open Kosterio opened 4 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please 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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I've tried to install one more repo (Debian), but on WSL 1, and it works - besides eth
interfaces the wifi
interfaces are appeared and wifi2
is hotspot interface with 192.168.137.1
address.\
So, it means that this is the bug of WSL 2 - in mirrored
mode the wifi interfaces should be the same as on WSL 1, and in NAT
mode the hotspot network should be accessible from the WSL. Hopefully Microsoft will fix it.
For now I cannot change WSL version for my distro and still looking for the workaround for this issue.
Well, I have the same issue!
thanks for reporting the issue can you please collect networking logs using https://github.com/microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1
please do the following steps: run collect-networking-logs.ps1 run net.exe stop WslService start WSL and reproduce the issue stop collect-networking-logs.ps1
the script should create a zip with name starting with WslNetworkingLogs
Windows Version
Microsoft Windows [Version 10.0.22631.3593]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
I have a running UDP server in the WSL Ubuntu instance.\ I need to make it public for the network of the WiFi hotspot on Windows side.\ But when I activated the hotspot there is no access even to its local ip address from WSL (
ping 192.168.137.1
is not responding).I tried to use the
networkingMode=mirrored
in the .wslconfig, but the behavior is the same. Hotspot interface is not presented in theifconfig
, only interface with WiFi MAC (for using as client):my
.wslconfig
:How is it possible that I have an interface on Windows and it cannot be pinged from WSL?
Expected Behavior
ping 192.168.137.1
from WSL should be successful.Actual Behavior
ping 192.168.137.1
is not responding.Diagnostic Logs
No response