Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork50
Issue Running Examples#214
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
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
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 |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you! I'll try that and report back. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1