Issue Running Examples #214
Answered
by
dickenhobelix
keenanjohnson
asked this question in
Q&A
-
Hey all! I love this project so great work. I am getting started with one of the examples and hitting this error when I run it. Any ideas? I am trying this on a Thinkpad running ubuntu.
|
Beta Was this translation helpful? Give feedback.
Answered by
dickenhobelix
May 30, 2024
Replies: 1 comment 1 reply
-
I'd guess it's pretty much what the error message says: "Operation not permitted." The stack uses raw sockets, which require cap_net_raw and cap_net_admin (iirc). Try running setcap cap_net_raw,cap_net_admin=eip target/release/examples/discover as root (e.g. using sudo) and please try again |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jamwaffles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd guess it's pretty much what the error message says: "Operation not permitted."
The stack uses raw sockets, which require cap_net_raw and cap_net_admin (iirc). Try running
setcap cap_net_raw,cap_net_admin=eip target/release/examples/discover
as root (e.g. using sudo) and please try again