-
Notifications
You must be signed in to change notification settings - Fork 59
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
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header #9
Comments
Possible solution: I noticed that this repository https://github.com/Matheus-Garbelini/braktooth_esp32_bluetooth_classic_attacks referenced /dev/ttyUSB1 rather than /dev/ttyUSB0, even though presumably the custom firmware is flashed the same for both repos. I was able to flash the firmware from that repo, but only after holding the boot button, as mentioned on that repo (+ sudo, which again isn't mentioned). So I then returned to the flash command from this repository with sudo, and /dev/ttyUSB1, and holding the button, and it seemed to succeed. I then did
(I assume the "Raw" is for a packet type that the software doesn't currently parse?) The instructions say "# Change ttyUSB0 to match your port name" but they don't say how to determine what the correct device is (and it would be natural to think that if I have no other /dev/ttyUSB* devices on my system until I plug in the dev board, and if you're using USB0, then probably I should be using USB0.) Because basically an update to the instructions to specify how to find the right device + a mention of the holding down the boot button + sudo, is probably in order. |
I have a similar error : Matheus-Garbelini/braktooth_esp32_bluetooth_classic_attacks#15 |
Hi @mr-slonn @jsmif indeed the instructions for this repo assumes that one is using a simple esp32doit,ESP32-DevKitC or similar board that only has 1 serial port. As braktooth project that you referenced requires wrover kit that has 2 serial ports the serial port is /dev/ttyUSB1 as you described. I'll add some note on this repo about this and the sudo addition.
Yes, the RAW is probably new LMP opcodes that the scapy layer does not implement (layers_bredr.py) |
Thank you for clarifying. When you're updating the documentation, it'd be great if you could also add a couple words about how to compile and install the wireshark dissector. It just references InternalBlue's, but I think the paths and steps are not exactly the same. After guessing and testing, I think the correct procedure is
(But there's no make install?) |
@jsmif yes, I'll add some notes later. There might by a mismatch on your wireshark version (higher than 3.6) which can be adjusted here: https://github.com/Matheus-Garbelini/esp32_bluetooth_classic_sniffer/blob/master/dissectors/build.sh#L5 However, at the end logs should report the following: This was tested on Ubuntu18.04, so your version of wireshark should be higher. |
Sorry, I should have been clear. It wasn't that Wireshark wasn't working for me (it was), it was just that I wanted to know how it was installed (since the documentation didn't mention it. I didn't realize the only reason I could read the pcapng logs created by this tool and Braktooth was because the custom wireshark was already installed.) |
I bought a new ESP-WROVER-KIT. I am on a freshly upgrade Ubuntu 22.04 install, and all the build process worked fine, and the kit shows up as /dev/ttyUSB0 and /dev/ttyUSB1 fine too when I plug it in and power it on.
I got the following initial error, during flashing (presumably because sudo was needed but not mentioend in the instructions):
However, even once I add sudo, I still can't seem to flash the board, due to a timeout error:
The text was updated successfully, but these errors were encountered: