This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

There are no interfaces on which a capture can be done.

1

I've made all steps described in wiki.wireshark.org/CaptureSetup/CapturePrivileges, but I still get next error message

There are no interfaces on which a capture can be done.

Where I've made a mistake?

$ groups dima
lp wheel games video audio optical storage power wireshark users
$ ls -l /usr/bin/dumpcap 
-rwxr-xr-- 1 root wireshark 77000 Jul 29 12:07 /usr/bin/dumpcap
$ getcap /usr/bin/dumpcap 
/usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip

asked 15 Aug '12, 03:11

Jofsey's gravatar image

Jofsey
21115
accept rate: 0%


2 Answers:

2

The capabilities and group seems in order. You may have to login again to make it effective.

answered 15 Aug '12, 04:15

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

1

I have no idea if this helps but the wiki page states the capabilities required are:

CAP_NET_RAW+eip CAP_NET_ADMIN+eip

You seem to be missing the +eip from CAP_NET_ADMIN.

answered 15 Aug '12, 03:21

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

I can't.

$ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
$ getcap /usr/bin/dumpcap 
/usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip
(15 Aug '12, 03:23) Jofsey

OK, what OS are you using?

(15 Aug '12, 04:07) grahamb ♦