aadmr55 / rfcat

Automatically exported from code.google.com/p/rfcat
Other
0 stars 0 forks source link

Mac OS X and Rfcat #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to get rfcat up and running on a CC1111EMK dongle. Here are the steps I 
took. Looks like for whatever reason, my macbook isnt seeing the dongle after 
its been flashed. 

1. Unpacked and flashed dongle with 

#goodfet.cc flash RfCatDonsCCBootloader-130515.hex
SmartRF not found for chip 0x1103.
Flashing RfCat.hex
Buffering 1400 toward 001400
Buffering 1500 toward 001400
Buffering 1600 toward 001400
Buffering 1700 toward 001400
Flashing buffer to 0x001400
Flashed page at 001400
<..SNIPPED..>
Flashed page at 004800
Buffering 4c00 toward 004c00
Buffering 4d00 toward 004c00
Flashing buffer to 0x004c00
Flashed final page at 004c00

2. Verified and everything looked good. So unplugged dongle and connected to 
USB. Nothing reported in the dmesg to indicate the dongle was grabbed. In fact, 
if I try to push it down to a VM using VMWare, its not even seen at all. 

3. Fired up rfcat

# sudo ./rfcat -r
Error in resetup():ValueError('No backend available',)
Error in resetup():AttributeError('dlsym(RTLD_DEFAULT, usb_find_busses): symbol 
not found',)
Error in resetup():AttributeError('dlsym(RTLD_DEFAULT, usb_find_busses): symbol 
not found',)
Error in resetup():AttributeError('dlsym(RTLD_DEFAULT, usb_find_busses): symbol 
not found',)
<... REPEATS ...>

Using Mac OS X 10.8, rfcat recent release, python 2.7.2 and pyusb 1.0.0a3

python
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.get_distribution("pyusb").version
'1.0.0a3'
>>> 

Any recommendations? Thanks. 

Original issue reported on code.google.com by violentp...@gmail.com on 30 Jul 2013 at 1:37

GoogleCodeExporter commented 8 years ago
Ok. Rfcat is now starting properly. (Forgot to install libusb) But it doesnt 
detect the dongle. 

sudo rfcat -r
Error in resetup():Exception('No Dongle Found.  Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found.  Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found.  Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found.  Please insert a RFCAT dongle.',)

Original comment by violentp...@gmail.com on 30 Jul 2013 at 1:43

GoogleCodeExporter commented 8 years ago
You're flashing the Bootloader-enabled image using a GoodFET (meaning, there's 
no bootloader).  Chances are it's not booting.  I realize this is my fault in 
communicating.  How could I have made this clearer?

Original comment by 0a71a5 on 4 Sep 2014 at 7:51

GoogleCodeExporter commented 8 years ago
I'm in the same boat... I think this could have been made clearer due to the 
use of the word "pythonic" to describe the RFcat interface... Python is 
installed by default on Mac... maybe we assumed, incorrectly, it would "just 
work" lol

Original comment by tghasti...@gmail.com on 24 Oct 2014 at 9:14

GoogleCodeExporter commented 8 years ago
you're in the same boat...  you flashed a bootloader-enabled image onto a 
dongle that doesn't have a bootloader on it and expected it to work?
or what? 
would you care to elaborate?

Original comment by m...@grimm-co.com on 25 Oct 2014 at 1:22