Hello there

I've setup Wireshark using 'apt-get install wireshark' and followed the setup-configuration for non-root user (see Wireshark doesn't see my interface).

What I finally did, was following:

sudo groupadd wireshark
sudo usermod -a -G wireshark dionysius
sudo dpkg-reconfigure wireshark-common (and said there YES)

But after that i still cannot see any interface. What am I missing?

edit: if it does matter i'm using linux mint 12

asked 14 Dec '11, 10:19

Dionysius's gravatar image

Dionysius
21115
accept rate: 0%

edited 14 Dec '11, 10:56

multipleinterfaces's gravatar image

multipleinte...
1.2k81533


See the answer from a duplicate post.

You don't need to manually add the "wireshark" group; dpkg-reconfigure does it for you. Try removing the group (and your user from the group), run dpkg-reconfigure, add your user back to the group, and then, re-login. I verified these steps in Mint 12:

$ sudo apt-get install wireshark
$ sudo dpkg-reconfigure wireshark-common 
$ sudo usermod -a -G wireshark $USER
$ gnome-session-quit --logout --no-prompt
link

answered 16 Dec '11, 07:54

helloworld's gravatar image

helloworld
2.7k21740
accept rate: 27%

Perfectly, that was the trick. I suggest to follow the linked post for more details.

(10 Jan '12, 17:34) Dionysius

I have tried the suggested four lines of code above. However at the same time i have "wireshark" group manually added without the "wireshark" user and the code did not work for me. After that i tried to remove the group "wireshark" with "sudo groupdel wireshark" command. Finally the code above is worked for me thank you very much. Best Regards.

(10 Aug '13, 13:37) gokhankelle

Log out and log in again. Adding a currently logged in user to a group using groupadd does not take effect until the user has logged out.

link

answered 14 Dec '11, 10:55

multipleinterfaces's gravatar image

multipleinte...
1.2k81533
accept rate: 12%

did that already multiple times (and tested now again). I don't get interfaces without sudo :(

to be sure everything i did is correct?!

dionysius@nb-dionysius ~ $ grep "wireshark" /etc/group
wireshark:x:1001:dionysius
(16 Dec '11, 07:33) Dionysius
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

Tags:

×71
×61
×10

Asked: 14 Dec '11, 10:19

Seen: 30,344 times

Last updated: 10 Aug '13, 13:37

powered by OSQA