running wireshark-gtk on Mageia

running wireshark-gtk on Mageia

Shlomo Solomon shlomo.solomon at gmail.com
Mon Jun 13 22:10:21 IDT 2016


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 at shlomo1 /]$ sudo chown root /usr/bin/dumpcap
[solomon at shlomo1 /]$ sudo chmod u+s /usr/bin/dumpcap
[solomon at shlomo1 /]$ sudo chgrp wireshark /usr/bin/dumpcap
[solomon at shlomo1 /]$ sudo chmod o-rx /usr/bin/dumpcap





On Mon, 13 Jun 2016 20:55:31 +0300
Shlomi Fish <shlomif at gmail.com> wrote:

> Hi Shlomo,
> 
> On Mon, Jun 13, 2016 at 7:30 PM, Shlomo Solomon
> <shlomo.solomon at gmail.com> 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
> Linux-il at cs.huji.ac.il
> 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




More information about the Linux-il mailing list