1
1
I'm running Ubuntu 10.04.1 and am trying to get packet capturing working for my Bluetooth dongle using hcidump
.
From what I've read, libpcap must be compiled to enable Bluetooth sniffing and given that hcidump isn't finding a single packet, I'm guessing the version Ubuntu has installed for me isn't compiled with bluetooth support.
So I downloaded a newer version of libpcap and installed the bluez header files. Configured libpcap and it gave a "Yes" for bluetooth support. It is now installed and sitting in /usr/local/lib/
.
Now I'm trying to compile hcidump to use this lib rather than the system default but I can't figure out how...
I've read that GCC can be passed the -lpcap
flag to set the path but I haven't figured out how to do this.
Any ideas?