USRP install instructions

The FC5 USRP install instructions reference this page on the wiki:

http://gnuradio.org/trac/wiki/UdevConfig

Unfortunately, this page uses some (apparently) debian specific commands
to
set up the group file. Should I figure out how to do this using more
generic
group commands, or create a separate page specifically for udev with
Fedora
Core?

Thanks,

Philip

Philip B. wrote:

Unfortunately, this page uses some (apparently) debian specific commands
to set up the group file. Should I figure out how to do this using more
generic group commands, or create a separate page specifically for udev
with Fedora Core?

If you’re referring to using ‘addgroup’ to create and populate the usrp
group, can you just add an alternative line to the existing entry
showing the command to accomplish the same?

-Johnathan

On Thu, Sep 14, 2006 at 01:03:16PM -0400, Philip B. wrote:

The FC5 USRP install instructions reference this page on the wiki:

http://gnuradio.org/trac/wiki/UdevConfig

Unfortunately, this page uses some (apparently) debian specific commands to
set up the group file. Should I figure out how to do this using more generic
group commands, or create a separate page specifically for udev with Fedora
Core?

Don’t make a separate page. Please edit the existing page so that it
ends up saying something like “If you’re system has the addgroup
command use it, otherwise edit /etc/group using your favorite text
editor”

To edit the page login as “guest”, password “gnuradio”

Eric

Actually it looks like you can use /usr/bin/groupadd and
/usr/sbin/usermod
-G usrp username to set up the group file.

udev is seriously pissing me off at the moment because it still doesn’t
work
on the machine I am trying this on, I have some other schemes that sort
of
work. I’m going to enable serious loggin on udev in a bit and see if I
can
figure out why it isn’t working for me.

I think groupadd and usermod are more widespread in Linux distros. Can
anyone confirm this for me? I use Fedora almost exclusively.

Philip

Hmm, I have some stuff that makes /dev/bus/usb … change to 666 perms.
It
doesn’t fix the group.

I guess that is progress. Any FC5 udev gurus have any thoughts?

Philip

On Thu, Sep 14, 2006 at 05:30:11PM -0400, Philip B. wrote:

anyone confirm this for me? I use Fedora almost exclusively.
SuSE and Mandriva both have groupadd and usermod

Eric

On Thu, Sep 14, 2006 at 06:04:38PM -0400, Philip B. wrote:

Hmm, I have some stuff that makes /dev/bus/usb … change to 666 perms. It
doesn’t fix the group.

I guess that is progress. Any FC5 udev gurus have any thoughts?

When you tried the original recipe, did you use the := form on the
assignment?
On SuSE without that it was getting overwritten by a later rule.

Eric

OK, I have updated the page for FC5 and other distros without addgroup.
I
also added := to the GROUP setting. I see to have messed up the list
structure on the page and am not quite sure how to fix it.

Philip

On Thu, Sep 14, 2006 at 07:33:08PM -0400, Philip B. wrote:

OK, I have updated the page for FC5 and other distros without addgroup. I
also added := to the GROUP setting. I see to have messed up the list
structure on the page and am not quite sure how to fix it.

Philip

Thanks.

Somebody will straighten out the formatting.

Looks like usermod is a bit of a loser since you can’t just
incrementally add the user to the usrp group. If you know enough to
figure out what groups the user is already a member of, you probably
know enough to edit /etc/group directly.

Perhaps we should be recommending # vi /etc/group
It seems much less likely to cause unintended consequences.

Eric