Proxmark3 developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2009-08-31 22:55:32

crd
Member
Registered: 2009-07-31
Posts: 9

Problem running proxmark3 as a non-root user

I am having problem connecting to a proxmark3 using a Linux client. The firmware version is         20090713 and I compile the Linux client from the latest version of code available at http://code.google.com/p/proxmark3/downloads. I can connect to the client as root; however when I tried connecting as a non-root user, I get the following message:

"detach kernel driver failed: (-1) could not detach kernel driver from interface 0: Operation not permitted!
claim failed: could not claim interface 0: Operation not permitted!
PROXMARK3: NOT FOUND!"

I get this message even though I added the following line to /etc/udev/rules.d/026-proxmark.rules
SYSFS{idVendor}=="9ac4", SYSFS{idProduct}=="4b8f", MODE="0660", GROUP="dgi"

Any idea as to what I can do to resolve this problem?

Best regards,

-crd

Offline

#2 2010-01-31 18:09:45

Ground Loop
Member
Registered: 2010-01-25
Posts: 15

Re: Problem running proxmark3 as a non-root user

I have a similar problem.  I have this rule:

ATTRS{idVendor}=="9ac4", ATTRS{idProduct}=="4b8f", MODE="0666", GROUP="me", SYMLINK+="proxmark"

Which correctly sets the device node permissions:

$ ls -l /dev/hid*
crw-rw---- 1 root root  252, 0 2010-01-30 16:13 /dev/hidraw0
crw-rw---- 1 root root  252, 1 2010-01-30 16:13 /dev/hidraw1
crw-rw---- 1 root root  252, 2 2010-01-30 16:13 /dev/hidraw2
crw-rw-rw- 1 root me    252, 3 2010-01-31 08:24 /dev/hidraw3

And yet the device is undetected unless I run as root.  Ideas?

Offline

Board footer

Powered by FluxBB