Creation of Wireshark Traces
What is Wireshark, and why is it useful?
Wireshark is a free program that makes it possible to record Ethernet frames. This can be helpful during troubleshooting.
Capture packets on a Revolution Pi or Linux based device
Install “tcpdump”
sudo apt install tcpdump
Create a capture - you have to stop it via [CTRL] + C
sudo tcpdump -i eth0 -w /tmp/mycapture.pcap
Copy the file to another host for examination via Wireshark
Capture packets elsewhere
You download and install the program https://www.wireshark.org/
You start a recording via an Ethernet interface connected to the field bus from the start of the installation until the error occurs.
Select the interface you want to capture.
You can see how Wireshark is capturing the Ethernet traffic live.
Then stop recording and save this recording as a file.
Stop recording
Select where you would like to save the file.
The resulting compressed capture file here is about 136 KB big.