This command capture on eth0 interface where host IP address is 192.168.10.50. If you want capture on specific host here’s another example for you, # tethereal -i eth0 -f "host 192.168.10.50" This command captures on eth0 interface for port 200 and writes output to file as name specified. Hence a command to capture packets may be like this, # tethereal -i eth0 port 200 -w filename.txt ![]() The terminal version of wireshark is called tethereal. To install tethereal in fedora core and CentOS you have to follow the same procedure which is running a simple yum command. You can the suitable package for your system from pbone. I guess just the dependency package will be different. You may also install wireshark in RHEL 5. You can even use ssh (secured shell) to capture packets and display them from remote server using tethereal. (sorry about that) Let’s install ethereal, # wget \ You have to find some other ways to get that rpm. Project/op/opennms/OldFiles/libsmi/libsmi-0.4." ![]() You need to login as root first and then need to apply the commands. Let’s install libsmi using a console (gnome-terminal or any command prompt). To install ethereal in RHEL 4 we need 2 files: ![]() Some companies/people still use older RHEL version.
0 Comments
Leave a Reply. |