Re: running wireshark-gtk on Mageia

Shlomo Solomon <[email protected]>
Newsgroups gmane.linux.region.israel
Message-ID <[email protected]>
OK - that solved the setcap problem, but after running:
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

I still get the same error message from wireshark:

"No interface can be used for capturing in this sytem with the current
configuration. 
(couldn't run /usr/bin/dumpcap in child process Permission denied)"



I also tried the following (based on the same help page at
https://wiki.wireshark.org/CaptureSetup/CapturePrivileges 
but still no luck:

[solomon@shlomo1 /]$ sudo chown root /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chmod u+s /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chgrp wireshark /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chmod o-rx /usr/bin/dumpcap





On Mon, 13 Jun 2016 20:55:31 +0300
Shlomi Fish <[email protected]> wrote:

> Hi Shlomo,
> 
> On Mon, Jun 13, 2016 at 7:30 PM, Shlomo Solomon
> <[email protected]> wrote:
> 
> > Yes - I did add my user is in the wireshark group but that didn't
> > help.
> >
> > As I wrote, the help screen suggests running:
> > setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
> >
> > but that results in:
> > sudo: setcap: command not found
> >
> >
> urpmf on Mageia 5 x86-64 indicates that setcap is part of the
> libcap-utils package, which you can install using urpmi or whatever.
> As usual on Mageia, using "urpmf" (urpm-find) can be very helpful.
> 
> Regards,
> 
> -- Shlomi
> 
> _______________________________________________
> Linux-il mailing list
> [email protected]
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> 
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.