Ask Your Question
0

I cant capture packets when running Wireshark on a Raspberry pi

asked 2019-02-23 20:47:09 +0000

Curly Chaos gravatar image

updated 2019-03-01 03:06:23 +0000

Guy Harris gravatar image

image description

edit retag flag offensive close merge delete

Comments

Are you running Wireshark on the Raspberry Pi?

Guy Harris gravatar imageGuy Harris ( 2019-02-23 20:58:39 +0000 )edit

Yes is that a bad idea

Curly Chaos gravatar imageCurly 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 gravatar imageGuy Harris ( 2019-03-01 03:08:10 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-28 21:24:32 +0000

updated 2019-03-01 07:26:52 +0000

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

edit flag offensive delete link more

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: 2019-02-23 20:47:09 +0000

Seen: 6,609 times

Last updated: Mar 01 '19