I'd guess it's pretty much what the error message says: \"Operation not permitted.\"
\nThe stack uses raw sockets, which require cap_net_raw and cap_net_admin (iirc). Try running
\nsetcap cap_net_raw,cap_net_admin=eip target/release/examples/discover
\nas root (e.g. using sudo) and please try again
","upvoteCount":2,"url":"https://github.com/ethercrab-rs/ethercrab/discussions/214#discussioncomment-9601682"}}}-
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.
-
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.
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