Jump to content

Toorcon 14 badge error


skeet

Recommended Posts

Hello all, long time lurker first time poster :)

With all the yardstick1 stuff happening, I dug through a box and started to play with the <1Ghz ToorCon14 badge and am running into an issue.

I am running Kali 2.0 natively on a IBM X230 laptop and recieving the error "AttributeError: RfCat instance has no attribute 'chipnum'"

I have googled this but not come up with anything substantial, honestly I am not where to focus my troubleshooting efforts.

I have tried both from the package included in the Kali repo and from the source pulled from bitbucket with the same results.

I have included what information I think might be relevant, but I am at a loss as to what is causing this error.

Any help or advice you could provide would be awesome, and thanks in advance!

-------------------------------------------------------------------------------------------------

# uname -a

Linux icebreaker 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux

# cat /etc/debian_version

Kali Linux 2.0

# dpkg -l libusb* python-usb ipython

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name Version Architecture Description

+++-====================================-=======================-=======================-==============================================================================

ii ipython 2.3.0-2 all enhanced interactive Python shell

ii libusb-0.1-4:amd64 2:0.1.12-25 amd64 userspace USB programming library

ii libusb-1.0-0:amd64 2:1.0.19-1 amd64 userspace USB programming library

un libusb-dev <none> <none> (no description available)

un libusbmuxd-tools <none> <none> (no description available)

ii libusbmuxd2:amd64 1.0.9-1 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library

ii python-usb 1.0.0a3-1kali0 amd64 USB interface for Python

dmesg:

[184565.232422] usb 2-1.3.1: new full-speed USB device number 12 using ehci-pci

[184565.325277] usb 2-1.3.1: not running at top speed; connect to a high speed hub

[184565.328574] usb 2-1.3.1: New USB device found, idVendor=1d50, idProduct=6048

[184565.328588] usb 2-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[184565.328597] usb 2-1.3.1: Product: ToorCon 14 Badge

[184565.328603] usb 2-1.3.1: Manufacturer: Great Scott Gadgets

[184565.328607] usb 2-1.3.1: SerialNumber: 0008

# 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.',)

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

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

SETUP Failed. Timeout waiting for USB response.

Error in resetup():TypeError('ord() expected string of length 1, but NoneType found',)

Traceback (most recent call last):

File "/usr/bin/rfcat", line 56, in <module>

interactive(ifo.index, DongleClass=RfCat, intro=intro)

File "/usr/lib/python2.7/dist-packages/rflib/__init__.py", line 190, in interactive

d = DongleClass(idx=idx)

File "/usr/lib/python2.7/dist-packages/rflib/chipcon_nic.py", line 298, in __init__

self.mhz = CHIPmhz.get(self.chipnum)

AttributeError: RfCat instance has no attribute 'chipnum'

# rfcat --bootloader --force

Entering RfCat Bootloader mode, ready for new image...

SETUP Failed. Timeout waiting for USB response.

Error in resetup():TypeError('ord() expected string of length 1, but NoneType found',)

Traceback (most recent call last):

File "/usr/bin/rfcat", line 49, in <module>

RfCat(ifo.index).bootloader()

File "/usr/lib/python2.7/dist-packages/rflib/chipcon_nic.py", line 298, in __init__

self.mhz = CHIPmhz.get(self.chipnum)

AttributeError: RfCat instance has no attribute 'chipnum'

Link to comment
Share on other sites

  • 2 weeks later...

So I got this badge going after some banging my head against the wall and some help from someone on #rfcat.

Basically I had to re-flash the firmware, but was holding me up is I could not put it into boot loader mode via software.

So I did this:

Pulled the latest rfcat repository from github

Jumpered P2 and GND to get the badge into boot loader mode (verified by a solid LED light)

Ran "make clean installRfCatDonsDongleCCBootloader" (as this badge was biased off Don's Dongle)

Ran rfcat -r

Bam! RF fun awaits..

Hopefully this can help someone if they are stuck where I was..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...