Hi everyone. I'm trying to capture Bluetooth as per a college assignment. I started following the instructions here: http://wiki.wireshark.org/CaptureSetup/Bluetooth The highest to get Wireshark to use the newest The specified data link type "BLUETOOTH_HCI_H4_WITH_P" isn't valid Since I couldn't find a thing on Google, I looked around the repos and installed I have Is it possible to capture Bluetooth in Debian Wheezy? What do I need to do to do that? Thanks in advance. This question is marked "community wiki". asked 27 Oct '14, 05:00 GuiRitter edited 27 Oct '14, 06:20 |
One Answer:
The version number in the Debian libpcap package name is a bit mysterious. There was an "0.7" before the "0.8", so maybe there was a time when the version number in the package tracked the actual libpcap version number; however, perhaps they realized, when libpcap 0.9 came out, that I was ensuring binary compatibility between libpcap releases and that they didn't need to come out with a new "libpcap-x.y" package for every new version. So they stopped updating the version number in the package name to match the libpcap version number. In Wheezy, the libpcap-0.8 package is based on libpcap 1.3.0. libpcap 1.3.0 does include Bluetooth capture support for Linux; however, it's only built if the system on which libpcap is compiled has the I.e., do not assume, just because Debian chooses to call their libpcap package "libpcap-0.8", that the libpcap on Wheezy doesn't support Bluetooth. Try using the standard libpcap first (uninstall the libpcap you built, and, if you built Wireshark from source with that library, do a If that still doesn't work, what version of Wireshark are you using? The data link type "BLUETOOTH_HCI_H4_WITH_P" isn't, in fact, valid, because the correct type is "BLUETOOTH_HCI_H4_WITH_PHDR", so that seems to be a problem between Wireshark and dumpcap. answered 27 Oct '14, 14:46 Guy Harris ♦♦ |
Thanks for your answer and sorry for my late answer, I've been busy. Too bad the name is misleading and I did't paid attention to that. I didn't built Wireshark manually, I just installed it from the repo. It's expected it would not work then, because the Debian repo programs are always outdated. I'll try to build Wireshark manually following your instructions soon and post the results here.
As I said, I'm using the latest stable version from the Wheezy repo (1.8.2-5wheezy12): https://packages.debian.org/wheezy/wireshark
The changelog of the Debian package says:
I uninstalled Wireshark from the repo and tried to install the latest Wireshark from the website. In the installation instructions,
gtk-config --version
failed. So I downloaded the latest GTK+ from it's website. To install it, I'll have to install the latest version of 4 more packages I already have. Is this the only way?