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

ubertooth-btle hangs after working for 5-15 mins #530

Open
sakura-3 opened this issue Mar 14, 2024 · 8 comments
Open

ubertooth-btle hangs after working for 5-15 mins #530

sakura-3 opened this issue Mar 14, 2024 · 8 comments

Comments

@sakura-3
Copy link

Steps to reproduce

1.nohup ubertooth-btle -n -c sniff.pcap &

Expected behaviour

keep capturing until I kill the process

Actual behaviour

firmware hangs after working for 5-15 mins,with process still alive but the RXLED off.

Version information

Operating system:
host:Windows 11
VM:ubuntu 20.04

Ubertooth tools version (ubertooth-rx -V):
libubertooth 1.1 (2020-12-R1), libbtbb 1.0 (2018-06-R1)

libbtbb version:
1.0

Ubertooth firmware version (ubertooth-util -v):
Firmware version: 2020-12-R1 (API:1.07)

There is no output indicating that the capture has stopped.This problem seems to have been reported in #326 (comment) and fixed in the commit 53f44b5

@Lpd738
Copy link

Lpd738 commented Mar 14, 2024

I had similar issues when I got my Ubertooth One. It was on firmware version 2020-12-R1 and libbtbb was the 2018-12-R1 if I recall correctly. I tried like heck to build and install on a up to date Kali tablet but it failed with something about a version not reporting in the stack trace dump. Well after about 8 hours of debugging I realized it was setuptools! So I lowered the version to 65.0 and boom. It installed libbtbb 2020-12-R1 from source and everything is working now, including Mirage. So sudo pip3 install setuptools==65.0, make and install per the instructions and the reinstall setuptools to the latest version. Apt only has 2018 and lower and since it's 2024 I'm not thinking it'll make it into that. Hope this helps a few people!

@sakura-3
Copy link
Author

I followed this build guide from a raw vm.Seems that it has already installed libbtbb 2020-12-R1 from source.I'm not sure about the exact version since ubertooth-rx -V gives libubertooth 1.1 (2020-12-R1), libbtbb 1.0 (2018-06-R1).

Meanwhile,following your guide,I execute sudo pip3 install setuptools==65.0,reinstall libbtbb and Ubertooth Tools after remove previous versions following this.And it seems that nothing has changed.

So how did you make and install per the instructions.I‘m a newbie in Ubertooth One.Any further guidance would be appreciated.

@Lpd738
Copy link

Lpd738 commented Mar 15, 2024

Happy to try and help. Can I get which OS your VM is based on? I'm only intimately familiar with Ubuntu/Kali based. If you use one of those I should be able to start a new VM and copy every command for you to follow.

Also if you have any errors/trace logs you can share, it may be something simple?

@sakura-3
Copy link
Author

The VM is exactly built from ubuntu-20.04.6-desktop-amd64.iso.As for the logs,I only maintain the packets captured by ubertooth-btle -n -c sniff.pcap.I'd like to share it if it's helpful.Besides,if you do need some logs,just teach me how to get them,like tell me the commands or give me a script.

@Lpd738
Copy link

Lpd738 commented Mar 15, 2024

OK. That's plenty for me to debug/figure out. I'll work on it this weekend and report back in a few days. Hopefully this helps a lot of people!

@Lpd738
Copy link

Lpd738 commented Mar 15, 2024

Oddly I can't get it to install from source and show the correct version with the -V... But it did install. Anyone else have any ideas?

@sakura-3
Copy link
Author

I have some ideas for this.This issue pointed a text error.Related fix has not been included into the lastest release.

Maybe this indicates that my problem has already been solved.I will start sniffing again and observe how long it can work normally this time.

@sakura-3
Copy link
Author

The capture lasted more than a hour this time but still hung without any signal.I guess that's because it's early morning here and the traffic is quite light.

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

2 participants