First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

I cant capture packets when running Wireshark on a Raspberry pi

image description

Curly Chaos's avatar
1
Curly Chaos
asked 2019-02-23 20:47:09 +0000
Guy Harris's avatar
19.9k
Guy Harris
updated 2019-03-01 03:06:23 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Are you running Wireshark on the Raspberry Pi?

Guy Harris's avatar Guy Harris (2019-02-23 20:58:39 +0000) edit

Yes is that a bad idea

Curly Chaos's avatar Curly Chaos (2019-02-27 20:47:50 +0000) edit

No, but there's a difference between "I'm trying to run Wireshark on a Raspberry pi and I can't capture packets" and, for example, "I have a network with a Raspberry pi on it, and I'm running Wireshark on some other machine and it's not capturing traffic from the Raspberry pi", so I wanted to make it clearer what the precise problem was.

Are you getting an error if you try to capture packets, or is it just running but not capturing any packets?

Guy Harris's avatar Guy Harris (2019-03-01 03:08:10 +0000) edit
add a comment see more comments

1 Answer

0

Hi,

You probably need elevated privileges to see the interfaces in "Raspbian".

I suggest you read this article.

https://wiki.wireshark.org/CaptureSetup/CapturePrivileges

By installing Wireshark packages non-root users won't gain rights automatically to capture packets. To allow non-root users to capture packets follow the procedure described in the Wireshark debian/README.Debian file.

You should be able to follow Debian instructions.

Cheers,

JF

Spooky's avatar
191
Spooky
answered 2019-02-28 21:24:32 +0000
Jaap's avatar
13.7k
Jaap
updated 2019-03-01 07:26:52 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer