First time here? Check out the FAQ!

Ask Your Question
0

I cant capture packets when running Wireshark on a Raspberry pi

asked Feb 23 '19

Curly Chaos gravatar image

updated Mar 1 '19

Guy Harris gravatar image

image description

Preview: (hide)

Comments

Are you running Wireshark on the Raspberry Pi?

Guy Harris gravatar imageGuy Harris ( Feb 23 '19 )

Yes is that a bad idea

Curly Chaos gravatar imageCurly Chaos ( Feb 27 '19 )

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 gravatar imageGuy Harris ( Mar 1 '19 )

1 Answer

Sort by » oldest newest most voted
0

answered Feb 28 '19

updated Mar 1 '19

Jaap gravatar image

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

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: Feb 23 '19

Seen: 6,709 times

Last updated: Mar 01 '19