10 Tips On How to Use Wireshark to Analyze Packets in Your Network

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

18 Responses

  1. Alex says:

    nice articles, could you put more intermediate or professional examples?

  2. Naresh says:

    I was expecting some instructions on monitor mode for capturing remote interface.

  3. Carlos says:

    Very nice post!

    I believe you are missing the .src in tip #4

  4. Tek says:

    Thank you for this post! Found it and resolved my problem immediately after reading! Awesome! :)

  5. When i type “yum install wireshark-gnome” , it says no package found. please resolve this issue . i tried to find out on google, but failed to get any specific solution. I also downloaded .rpm files of wireshark and wireshark-gnome, but they require dependencies.

    • Justin I. says:

      I just installed Wireshark on my Fedora 20 box. Try running “yum install wireshark” I found on one post that you need both packages. wireshark and wireshark-gnome.

    • Gabriel A. Cánepa says:

      Try doing yum search all wireshark. This should return the list of packages with wireshark in their name or description. What distribution are you using? Please note that the package name should be wireshark, not wireshark-gnome.

  6. roberson says:

    Hi everyone. I installed it here in my server CENTOS 5 and after run the wireshark, look for me ((wireshark:5941): Gtk-WARNING **: cannot open display:) what i can do for fix it ?


    Ps: I’ve try run with my user without be root. Just i try run nameuser$ wireshark but he doesn’t work fine.

  7. Niranjan says:


    Also besides the above observation, I just wanted to let you know that I have installed the gtk+, glib after installing wireshark.

  8. Niranjan says:

    Hi Thanks for very descriptive info on Wireshark. It was very helpfull.

    However, I am facing some issues while trying to open wireshark from command prompt.

    [[email protected] ~]# wireshark

    (wireshark:14036): Gtk-WARNING **: cannot open display:
    [[email protected] ~]# wireshark –display=:0

    (wireshark:14047): Gtk-WARNING **: cannot open display: :0
    [[email protected] ~]#


    • Ravi Saive says:

      It’s something related to X windows display. which is not properly set.

    • Gabriel A. Cánepa says:

      Why would you open wireshark from the command line in a GUI environment?

      • 01101001b says:

        You know why. You launch a GUI app from console when it doesn’t initiate from GUI interface, to get a lead of the problem. A GUI app that doesn’t initiate from console, doesn’t run from GUI environment either. Again, you know that :-)

  9. muthii says:

    Thanks for putting this up I needed to analyze some traffic on my box.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.