Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to write to standard output: The pipe is being closed.

Hello! Wireshark worked for me for a year or two but from a while I can't capture anything from my laptop. I'm using latest version of wireshark, I already tried to install latest version of my network card driver but with no result. I can capture from other PC but not from my laptop. When I try to capture traffic from remote EVE-NG/Unetlab node I receive following error (in cmd) and nothing capture

" Connecting to "root"@MYSERVERIP..." tcpdump: listening on vunl0_2_0, link-type EN10MB (Ethernet), capture size 262144 bytes Unable to write to standard output: The pipe is being closed.

The script who call wireshark is here:

**@ECHO OFF

SET USERNAME="root"

SET PASSWORD="password"

SET S=%1

SET S=%S:capture://=%

FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b

IF "%INT%" == "pnet0" SET FILTER=" not port 22"

ECHO "Connecting to %USERNAME%@%HOST%..."

"C:\Program Files\UNetLab\plink.exe" -ssh -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -**

Any ideea?

Unable to write to standard output: The pipe is being closed.

Hello! Wireshark worked for me for a year or two but from a while I can't capture anything from my laptop. I'm using latest version of wireshark, I already tried to install latest version of my network card driver but with no result. I can capture from other PC but not from my laptop. When I try to capture traffic from remote EVE-NG/Unetlab node I receive following error (in cmd) and nothing capture

"

Connecting to "root"@MYSERVERIP..."
tcpdump: listening on vunl0_2_0, link-type EN10MB (Ethernet), capture size 262144 bytes
Unable to write to standard output: The pipe is being closed.

closed.

The script who call wireshark is here:

**@ECHO OFF

SET USERNAME="root"

SET PASSWORD="password"

SET S=%1

SET S=%S:capture://=%

@ECHO OFF

SET USERNAME="root"

SET PASSWORD="password"

SET S=%1

SET S=%S:capture://=%

FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b

INT=%%b IF "%INT%" == "pnet0" SET FILTER=" not port 22"

22" ECHO "Connecting to %USERNAME%@%HOST%..."

%USERNAME%@%HOST%..." "C:\Program Files\UNetLab\plink.exe" -ssh -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -**

-

Any ideea?