Proxmark3 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.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2013-10-04 21:27:46

adam@algroup.co.uk
Contributor
From: UK
Registered: 2009-05-01
Posts: 203
Website

Flashing under linux (fighting modem manager resolved!)

It's been a long standing issue that we have problems flashing under linux (as well as simply using the device if you try too quickly after plugging in), but it's got much worse with recent releases of Ubuntu, and may do so with other distributions...

The suggested fix of disabling modem manager doesn't seem to work any more. I've just spent the best part of an hour trying to flash a couple of proxmarks, and the problem is that even with modem manager disabled, it still seems to grab the serial port, and since the bootloader times out before modem manager does, it's never there for long enough for the update to start. sad

However, there is a reasonably simple solution:

edit '/lib/udev/rules.d/77-mm-usb-device-blacklist.rules' and add the following lines:

# proxmark3
ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1"

then run: 'sudo udevadm control --reload-rules'

you will no longer need to disable modem manager (if that was still working for you), and your proxmark will now be available as soon as you plug it in, and flashing should work.

enjoy!
Adam

Offline

#2 2013-10-05 07:17:31

rule
Member
Registered: 2008-05-21
Posts: 417

Re: Flashing under linux (fighting modem manager resolved!)

Thanks a lot for this very useful contribution! We should update the wiki and manuals, it surely sounds like a much more elegant solution than purging the modem-manager wink

Offline

#3 2013-10-05 10:14:12

adam@algroup.co.uk
Contributor
From: UK
Registered: 2009-05-01
Posts: 203
Website

Re: Flashing under linux (fighting modem manager resolved!)

Yes we should - the linux section is pretty out of date anyway... I've updated it.

Linux installation page

Last edited by adam@algroup.co.uk (2013-10-05 11:07:07)

Offline

#4 2013-10-07 07:34:29

holiman
Contributor
Registered: 2013-05-03
Posts: 566

Re: Flashing under linux (fighting modem manager resolved!)

Great, now it's *a lot* better. Thanks!

One minor thing though: starting the client using the command "./client/proxmark3 /dev/ttyACM" is less than optimal, better with "cd client/; ./proxmark3 dev/ttyACM". Otherwise, dumpfiles, emulatorfiles and scriptfiles may not be found correctly.

Offline

#5 2013-10-11 10:04:34

adam@algroup.co.uk
Contributor
From: UK
Registered: 2009-05-01
Posts: 203
Website

Re: Flashing under linux (fighting modem manager resolved!)

Good point - changed!

I've also moved the modem-manager config to /etc so we don't need to worry about updates... Having spoken to ubuntu-dev about getting it permanently added, it seems that, ironically, unless you're a commercial vendor there is no interest in supporting you in this, ermmm... FOSS linux distribution... tongue

Offline

Board footer

Powered by FluxBB