On Tue, Dec 2, 2008 at 7:49 PM, Chris Albertson
<[EMAIL PROTECTED]> wrote:
[snip]
> A compromise I've seen is a "hack". We call it "blindly blasted UDP".
> You write a special case network stack that only works on a point to
> point Ethernet. You don't even check for collisions at the Ethernet
>
[EMAIL PROTECTED] wrote:
Update-
making sudo chmod u+s /usr/local/bin/usrp2_socket_opener
allows usrp2_fft.py to work (also as suid) by a normal user.
thanks!
I would be interested in trying the sudo approach, but as I mentioned
in my previous post there are some issues perhaps with sudo not
Update-
making sudo chmod u+s /usr/local/bin/usrp2_socket_opener
allows usrp2_fft.py to work (also as suid) by a normal user.
thanks!
I would be interested in trying the sudo approach, but as I mentioned in
my previous post there are some issues perhaps with sudo not knowing about
the path o
In terms of using sudo, there is some issue with the environment variables
not being passed:
[EMAIL PROTECTED] ~]$ sudo usrp2_fft.py
[sudo] password for matlis:
sudo: usrp2_fft.py: command not found
[EMAIL PROTECTED] ~]$ sudo /usr/local/bin/usrp2_fft.py
execlp: couldn't exec usrp2_socket_opener
Michael-
I found that setting usrp2_fft.py suid doesn't work:
[EMAIL PROTECTED] z.research]$ ls -l /usr/local/bin/usrp2_fft.py
-rwsr-xr-x 1 root root 9915 2008-12-02 19:03 /usr/local/bin/usrp2_fft.py
This is the same permissions as ping, so I thought it would work:
[EMAIL PROTECTED] ~]$ ls -l
If I want to run the example program usrp2_fft.py, which routines (python
and/or c++) need to be made suid?
thanks,
eric
On Tue, 2 Dec 2008, Michael Ossmann wrote:
find_usrps and any other front-end programs would need to be suid
(have the suid bit set and be owned by root).
On Tue, Dec 02,
>> For the foreseeable future, all USRP2 access must run as root. You
>> could use suid (dangerous) or sudo (maybe a little less dangerous)
>> to allow non-root users to execute stuff as root, but it is always a
>> security risk to allow non-root users to execute
>> unstable/development code as ro
Thank you very much for your response. If I wanted to provide access
through suid, which file should be set suid?
On Tue, 2 Dec 2008, Michael Ossmann wrote:
On Tue, Dec 02, 2008 at 03:41:35PM -0500, [EMAIL PROTECTED] wrote:
Hi all, I looked over the wiki and the mailing list but could not
Hi all, I looked over the wiki and the mailing list but could not find
mention of how to access the usrp2 as a non-root user on Fedora 10.
As root, I get the following response from "find_usrps":
00:50:c2:85:30:68 hw_rev = 0x0300
but as a user, I get:
socket(PF_PACKET, SOCK_RAW, htons(0xBEEF)