Skip to content
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

I'd guess it's pretty much what the error message says: \"Operation not permitted.\"

\n

The stack uses raw sockets, which require cap_net_raw and cap_net_admin (iirc). Try running

\n

setcap cap_net_raw,cap_net_admin=eip target/release/examples/discover

\n

as root (e.g. using sudo) and please try again

","upvoteCount":2,"url":"https://github.com/ethercrab-rs/ethercrab/discussions/214#discussioncomment-9601682"}}}

Issue Running Examples #214

Discussion options

You must be logged in to vote

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

Comment options

You must be logged in to vote
1 reply
@keenanjohnson
Comment options

Answer selected by jamwaffles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants