Install Wireshark or Ethereal on CentOS 6.3 or Redhat RHEL

Install Wireshark or Ethereal on CentOS 6.3 or Redhat RHEL

 

 

 

1. Wireshark Installation

[root@localhost ~]# yum install wireshark
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* epel: ftp.jaist.ac.jp
* extras: centos-hcm.viettelidc.com.vn
* updates: mirror.neu.edu.cn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package wireshark.x86_64 0:1.2.15-2.el6_2.1 will be installed
–> Processing Dependency: libsmi.so.2()(64bit) for package: wireshark-1.2.15-2.el6_2.1.x86_64
–> Running transaction check
—> Package libsmi.x86_64 0:0.4.8-4.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
wireshark x86_64 1.2.15-2.el6_2.1 base 11 M
Installing for dependencies:
libsmi x86_64 0.4.8-4.el6 base 2.4 MTransaction Summary
=====================================================================================================================================================================================================
Install 2 Package(s)Total download size: 13 M
Installed size: 74 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libsmi-0.4.8-4.el6.x86_64.rpm | 2.4 MB 00:15
(2/2): wireshark-1.2.15-2.el6_2.1.x86_64.rpm | 11 MB 01:23
—————————————————————————————————————————————————————————————————–
Total 137 kB/s | 13 MB 01:40
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libsmi-0.4.8-4.el6.x86_64 1/2
Installing : wireshark-1.2.15-2.el6_2.1.x86_64 2/2
Verifying : libsmi-0.4.8-4.el6.x86_64 1/2
Verifying : wireshark-1.2.15-2.el6_2.1.x86_64 2/2

Installed:
wireshark.x86_64 0:1.2.15-2.el6_2.1

Dependency Installed:
libsmi.x86_64 0:0.4.8-4.el6

Complete!
[root@localhost ~]#

2. Run Wireshark to capture traffic

[root@localhost ~]# tethereal -i eth0 -w /tmp/packets.pcap
Running as user “root” and group “root”. This could be dangerous.
Capturing on eth0…………………

That’s all. Thanks for using IThelpblog.com

 

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>