@samitouri / QOSAMI-WSL / commits / 2efcffea

wip

Catalin-Emil Fetoiu committed Aug 24, 2023 at 17:02 UTC 2efcffea88e10c1e4a688400cd7e53d33474b3f9
1 file changed +9 -17
CONTRIBUTING.md
+9 -17
@@ -127,32 +127,24 @@ Note: This might not work if WSL has Internet connectivity issues.
127 # sudo apt-get -y install tcpdump
128 ```
129
130 -Run [networking_diagnostics.bat](https://github.com/Microsoft/WSL/blob/master/diagnostics/networking_diagnostics.bat) in an administrative command prompt:
130 +Run networking_diagnostics.bat in an administrative Powershell window:
131
132 ```
133 -$ git clone https://github.com/microsoft/WSL --depth=1 %tmp%\WSL
134 -$ cd %tmp%\WSL\diagnostics
135 -$ networking_diagnostics.bat
133 +$ Invoke-WebRequest 'https://github.com/microsoft/WSL/archive/refs/heads/master.zip' -OutFile .\wsl.zip
134 +$ Expand-Archive .\wsl.zip .\
135 +$ Remove-Item .\wsl.zip
136 +$ cd .\WSL-master\diagnostics
137 +$ .\networking_diagnostics.bat
138 ```
139
140 Note:
139 -If tcpdump is installed, the script will open 2 more shells, one of which will ask for your sudo password.
141 +If tcpdump is installed, the script will open 2 more shells.
142 If tcpdump is not installed, only 1 additional shell will be opened
143 Wait for those shells to be opened before reproducing the issue
144
143 -After reproducing the issue, in the shell that asked for your sudo password, hit Ctrl + C. In the other shells, press any key.
145 +After reproducing the issue, in the shell with tcpdump, hit Ctrl + C. In the other shells, press any key.
146
145 -Collect `WslNetworkingLogs.zip`
146 -
147 -Run [networking.bat](https://github.com/Microsoft/WSL/blob/master/diagnostics/networking.bat) in an administrative command prompt:
148 -
149 -```
150 -$ git clone https://github.com/microsoft/WSL --depth=1 %tmp%\WSL
151 -$ cd %tmp%\WSL\diagnostics
152 -$ networking.bat
153 -```
154 -
155 -Once the script execution is completed, include **both** its output and the generated log file, `wsl.etl` on the issue.
147 +The script will output the path to a zip archive with the diagnostics when done. Collect the zip and attach it to the issue.
148
149 <!-- Preserving anchors -->
150 <div id="8-detailed-logs"></div>