Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find Crazy PA USB dongle - Pineapple Nano #40

Open
metalkey opened this issue Feb 4, 2018 · 10 comments
Open

Cannot find Crazy PA USB dongle - Pineapple Nano #40

metalkey opened this issue Feb 4, 2018 · 10 comments

Comments

@metalkey
Copy link

metalkey commented Feb 4, 2018

I have jackit running fine on my laptop but i thought i'd see if it was possible to get it up and running on a WiFi Pineapple Nano.

I've installed all of the correct dependencies on the Nano:

  • click
  • pyusb
  • six
  • tabulate

I've confirmed the Nano recognises the Crazy PA:

lsusb
Bus 001 Device 005: ID 1915:0102 Nordic Semiconductor ASA 

I've installed jackit correctly but when i attempt to run jackit, i receive the following:

[!] Cannot find Crazy PA USB dongle.
[!] Please make sure you have it preloaded with the mousejack firmware.

Is there anything that i'm missing?

@Sliim
Copy link
Contributor

Sliim commented Feb 4, 2018

I got similar issue installing jackit on pineapple nano, can you try with this patch: /pull/31. It will catch NoBackendError when searching for dungle and give you more info.

Also, you can try my workaround for libusb on openwrt: https://github.com/Sliim/jackit/tree/openwrt-libusb . This is the branch I use on my nano.

P.S. Works fine on pineapple nano: https://www.youtube.com/watch?v=Z7BBdgQPlgw :)

@metalkey
Copy link
Author

metalkey commented Feb 5, 2018

Thanks for the info. I tried the patch and your libusb workaround but unfortunately no luck.
I'm receiving:
usb.core.NoBackendError: No backend available

Do you happen to have a step-by-step process for the Pineapple NANO?

@Sliim
Copy link
Contributor

Sliim commented Feb 5, 2018

Do you have /usr/lib/libusb-1.0.so on your pineapple nano? I will search in my notes for a step-by-step process

@metalkey
Copy link
Author

metalkey commented Feb 5, 2018

Confirmed.

root@Pineapple:/usr/lib# ls libusb*
libusb-1.0.so        libusb-1.0.so.0      libusb-1.0.so.0.1.0

I'll try a factory reset and do some fiddling. If i can get it all going i'll also do up a full walkthrough that we can use as a reference for future use.

@infamy
Copy link
Collaborator

infamy commented Feb 5, 2018 via email

@Sliim
Copy link
Contributor

Sliim commented Feb 6, 2018

Retrieved my notes:

opkg update
opkg install -d sd python-pip libusb-1.0 libusb-compat
export PYTHONPATH=/sd/usr/lib/python2.7/site-packages/:/sd/usr/lib/python2.7:/sd/usr/lib/python2.7/lib-dynload
pip install click pyusb tabulate six
PYTHONPATH=$PYTHONPATH:. bin/jackit

This should work after a factory reset (PYTHONPATH may be ignored/changed..)
I use my branch available here: https://github.com/Sliim/jackit/tree/openwrt-libusb - This is only what I needed to change to have jackit working on the nano.

@Sliim
Copy link
Contributor

Sliim commented Feb 6, 2018

My wrapper script:

#!/bin/bash
pushd /sd/jackit
PYTHONPATH=/sd/usr/lib/python2.7/site-packages/:/sd/usr/lib/python2.7:/sd/usr/lib/python2.7/lib-dynload:. bin/jackit $@
popd

@metalkey
Copy link
Author

metalkey commented Feb 6, 2018

Thanks Sliim. I've made a step-by-step process that worked for me as follows:

@Droid-MAX
Copy link

Droid-MAX commented Sep 21, 2018

My Nexus5 mobile phone with NetHunter installed also encountered the same problem. The Crazy PA USB dongle could not be found. It is not recognized after the branch in the nrf24.py file has no backend modification, but the device information can be seen when dmesg is executed.

@Sliim
Copy link
Contributor

Sliim commented Nov 13, 2019

@Droid-MAX do you see your device with lsusb command? See also #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants