Question regarding "eth0: socket"

Hey folks,

I followed the installation instructions on wiki page, however, I still
met
“Operation not permitted” problem shown below even though I added the
USRP
group and obtained the permission to access USRP. So far,
benchmark_tx.py
works correctly, but I was wondering if this message is a critical one.
Can
I ignore this message? It seems that running as sudo will solve it.

socket(PF_PACKET, SOCK_RAW, htons(0xBEEF)): Operation not permitted
eth0: socket: No such file or directory

Best,

Michael

On Tue, Jan 26, 2010 at 11:20, Milo W. [email protected]
wrote:

socket(PF_PACKET, SOCK_RAW, htons(0xBEEF)): Operation not permitted
eth0: socket: No such file or directory

There are three things needed to use the USRP2 as a non-root user:

  1. The group ‘usrp’ must exist and the non-root user must be a member of
    it.

  2. The file $(prefix)/bin/usrp2_socket_opener must be owned by root:usrp

  3. The same file must have mode 04750 set on it.

Johnathan

Thank you for your fast response. If I only use USRP( not USRP2), this
should not be a problem, right? Since USRP has nothing to do with
eth0:socket

On Tue, Jan 26, 2010 at 11:32 AM, Johnathan C. <

On Tue, Jan 26, 2010 at 12:25, Milo W. [email protected]
wrote:

Thank you for your fast response. If I only use USRP( not USRP2), this
should not be a problem, right? Since USRP has nothing to do with
eth0:socket

Yes, this is an artifact of the automatic probing for which USRP is
installed when using the digital example. You can use --usrp=usrp1 to
avoid the probe, or you can set your permissions correctly and not get
the error message.

Johnathan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs