{"id":2089,"date":"2013-05-02T18:51:13","date_gmt":"2013-05-02T17:51:13","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=2089"},"modified":"2015-03-06T10:44:28","modified_gmt":"2015-03-06T10:44:28","slug":"installing-wireshark-on-ubuntu-linux","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=2089","title":{"rendered":"Installing Wireshark on Ubuntu Linux"},"content":{"rendered":"<p>Another aide-memoir:<\/p>\n<p>daren@Shimla:~$ sudo apt-get install wireshark<\/p>\n<p>[sudo] password for daren:<br \/>\nReading package lists&#8230; Done<!--more--><br \/>\n[snip]<br \/>\nAfter this operation, 55.7 MB of additional disk space will be used.<br \/>\nDo you want to continue? [Y\/n] y<br \/>\nGet:1 http:\/\/gb.archive.ubuntu.com\/ubuntu\/ trusty\/universe libsmi2ldbl i386 0.4.8+dfsg2-8ubuntu2 [95.0 kB]<br \/>\n[snip]<br \/>\nSetting up wireshark (1.10.6-1) &#8230;<br \/>\nProcessing triggers for libc-bin (2.19-0ubuntu6) &#8230;<\/p>\n<p><strong>ADD WIRESHARK GROUP:<\/strong><br \/>\ndaren@Shimla:~$ sudo groupadd wireshark<\/p>\n<p><strong>ADD USER TO GROUP:<\/strong><\/p>\n<p>daren@Shimla:~$ sudo usermod -a -G wireshark daren<\/p>\n<p>daren@Shimla:~$ sudo chgrp wireshark \/usr\/bin\/dumpcap<\/p>\n<p>daren@Shimla:~$ sudo chmod 750 \/usr\/bin\/dumpcap<\/p>\n<p>daren@Shimla:~$ sudo setcap cap_net_raw,cap_net_admin=eip \/usr\/bin\/dumpcap<\/p>\n<p>daren@Shimla:~$ sudo getcap \/usr\/bin\/dumpcap<br \/>\n\/usr\/bin\/dumpcap = cap_net_admin,cap_net_raw+eip<br \/>\n<strong>ANOTHER METHOD:<\/strong><br \/>\ndaren@Shimla:~$ sudo dpkg-reconfigure wireshark-common<\/p>\n<p>Executing &#8220;addgroup &#8211;quiet &#8211;system wireshark&#8221; failed.<br \/>\nMost probably the wireshark group exists, but is not a system group.<br \/>\nPlease delete the existing group or re-create it as a system group and try configuring wireshark-common again.<\/p>\n<p>oops!<\/p>\n<p>daren@Shimla:~$ sudo groupdel wireshark<br \/>\n[sudo] password for daren:<br \/>\ndaren@Shimla:~$ sudo dpkg-reconfigure wireshark-common<br \/>\ndaren@Shimla:~$<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another aide-memoir: daren@Shimla:~$ sudo apt-get install wireshark [sudo] password for daren: Reading package lists&#8230; Done<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[84,53],"tags":[37],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2089"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2089"}],"version-history":[{"count":1,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2089\/revisions"}],"predecessor-version":[{"id":2090,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2089\/revisions\/2090"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2089"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}