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

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%


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

permanent link

answered 15 Aug '12, 04:15

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

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.

permanent link

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 ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×193
×8

question asked: 15 Aug '12, 03:11

question was seen: 5,469 times

last updated: 15 Aug '12, 04:15

p​o​w​e​r​e​d by O​S​Q​A