"The capture session could not be initiated on interface 'p2p0' (You don't have permission to capture on that device)." That's what it says every time I try to start Wireshark. How do I fix this problem? |
Have a look at this question's answers, and come back with more details about your system and steps you've already done if they don't help. |
That sounds like a macOS interface. If so, when you installed Wireshark, did you install all the components? If not, try re-installing and doing so; one of the components should make it possible for non-root users to capture traffic. I've tried every possible way, uninstalling Wireshark, restarting, changing connections ect.. yet no results
(26 Jun '17, 00:07)
Ramiz
What does
(26 Jun '17, 00:18)
Guy Harris ♦♦
(26 Jun '17, 00:28)
Ramiz
That's not what he asked for. Open a Terminal, and in that window type
(26 Jun '17, 02:12)
Jaap ♦
Which is what "Please check to make sure you have sufficient permissions" means on macOS and *BSD.
(26 Jun '17, 02:22)
Guy Harris ♦♦
(26 Jun '17, 03:01)
Ramiz
What happens if you run the command
(26 Jun '17, 11:17)
Guy Harris ♦♦
I posted the same screenshot accidentally twice, but when i try sudo chgrp access_bpf /dev/bpf* it asks me for Password after it's done it says ''error has occurred try again''
(26 Jun '17, 23:31)
Ramiz
At which point you should type your password.
"It" meaning sudo? If what it said was "Sorry, try again.", it means you typed the wrong password.
(27 Jun '17, 00:46)
Guy Harris ♦♦
Oh i see, it just says MacBook-Pro:~ newaccountholder$ Which is my Macbook account username
(27 Jun '17, 02:13)
Ramiz
This is what the result was after typing password
(27 Jun '17, 02:15)
Ramiz
OK, and now again use
(27 Jun '17, 02:28)
sindy
Obviously, you don't want the extensive help folks are offering for free along with the world's foremost packet analyzer, also for free. Hopefully you'll edit your "answer" to be more appropriate (and at the same time convert it to a comment to the answer by @Guy Harris as that's what it is)
(28 Jun '17, 21:30)
grahamb ♦
showing 5 of 13
show 8 more comments
|
|