Closed GoogleCodeExporter closed 9 years ago
I'm now able to reproduce on 12.04. Can people contribute to the dataset? Who
is on an earlier version of Ubuntu still that doesn't have this issue? Python
version and libusb version (libusb-config --version) would be helpful to see if
it's a change there. We haven't changed the code related to this in KillerBee
for a long time.
For me:
$ libusb-config --version
0.1.12
$ python --version
Python 2.7.3
Original comment by rmspe...@gmail.com
on 16 Jun 2012 at 11:06
I have a possibly related problem. Have tried on Ubuntu 12.04, Backtrack 5R2
and Mint 13. I have also tried Mint 13 within VirtualBox on a different
machine. Errors are the same across all. I have setup with:
sudo apt-get update
sudo apt-get install subversion
sudo apt-get install python-gtk2 python-cairo python-usb python-crypto
python-serial sudo apt-get install python-dev libgcrypt-dev svn checkout
http://killerbee.googlecode.com/svn/trunk/ killerbee-read-only
sudo python setup.py install
My versions are:
mint@mint ~/Downloads/killerbee-read-only/killerbee $ libusb-config --version
0.1.12
mint@mint ~/Downloads/killerbee-read-only/killerbee $ python --version
Python 2.7.3
The errors are:
james $ sudo zbid
Dev Product String Serial Number
006:002 RZUSBSTICK 00DEADBEEF00
Found 1 devices.
james $ sudo zbdump -f 26 -w dump
Traceback (most recent call last):
File "/usr/local/bin/zbdump", line 94, in <module>
kb.set_channel(arg_channel)
File "/usr/local/lib/python2.7/dist-packages/killerbee/__init__.py", line 231, in set_channel
self.driver.set_channel(channel)
File "/usr/local/lib/python2.7/dist-packages/killerbee/dev_rzusbstick.py", line 328, in set_channel
self._set_mode(RZ_CMD_MODE_AC)
File "/usr/local/lib/python2.7/dist-packages/killerbee/dev_rzusbstick.py", line 244, in _set_mode
self.__usb_write(RZ_USB_COMMAND_EP, [RZ_CMD_SET_MODE, RZ_CMD_MODE_AC])
File "/usr/local/lib/python2.7/dist-packages/killerbee/dev_rzusbstick.py", line 205, in __usb_write
raise e
usb.USBError: Connection timed out
james $ sudo zbstumbler
zbstumbler: Transmitting and receiving on interface '006:002'
ERROR: Failed to set channel to 11
Connection timed out
Thanks
James
james $ sudo zbfind
Error initializing KillerBee Sniffer
Original comment by cyclohex...@gmail.com
on 18 Jun 2012 at 9:39
I have also just tried on Mint 12 within VirtualBox. The errors are similar
apart from an additional line at the end of zbdump and zbstumbler saying: local
variable 'response' referenced before assignment.
Original comment by cyclohex...@gmail.com
on 18 Jun 2012 at 10:27
Revision 39 has an attempted (simple) patch. Please let me know how it works.
Basically, the usb.USBError is ignored if e.args[0] != "Connection timed out".
Strange, but it works in my testing so far and was suggested and verified by
Tom S.
Requesting QA testing help. Please post errors ASAP if issues still exist.
Original comment by rmspe...@gmail.com
on 2 Aug 2012 at 3:33
Original issue reported on code.google.com by
david.d....@gmail.com
on 31 May 2012 at 2:40