Capture Packets: Difference between revisions
From SambaWiki
No edit summary |
(No difference)
|
Revision as of 19:31, 8 February 2007
When diagnosing a problem, Samba developers are likely to request a packet capture (or trace).
The best way to do this depends on the tools available on your system. If you are using a GUI-based system, you will need to run a capture tool from the command-line.
In the table below, replace FILENAME with the descriptive file name.
Tool | Commandline |
---|---|
wireshark | tshark -p -w FILENAME port 445 or port 139 |
ethereal | tethereal -p -w FILENAME port 445 or port 139 |
tcpdump | tcpdump -p -s 512 -w FILENAME port 445 or port 139 |