commit 91dc86c07216737ef4c59b0c1deeec6c493e5f21 Author: Paul Walko Date: Tue Sep 20 18:55:14 2016 -0400 ubertooth script diff --git a/ubertooth_ubuntu160401.sh b/ubertooth_ubuntu160401.sh new file mode 100755 index 0000000..60152f6 --- /dev/null +++ b/ubertooth_ubuntu160401.sh @@ -0,0 +1,49 @@ +#!/bin/bash +echo 'This script was only tested in Ubuntu 16.04.1. Your mileage may vary' +echo 'This script also assumes you have sudo access, as you will be prompted for your password' + +sudo apt-get install git cmake libusb-1.0-0-dev make gcc g++ libbluetooth-dev pkg-config libpcap-dev python-numpy python-pyside python-qt4 wireshark git + +git clone https://github.com/greatscottgadgets/libbtbb.git +cd libbtbb +mkdir build +cd build +cmake .. +make +sudo make install +sudo ldconfig +cd ../.. + +git clone https://github.com/greatscottgadgets/ubertooth.git +cd ubertooth/host +mkdir build +cd build +cmake .. +make +sudo make install +sudo ldconfig +cd ../../.. + +sudo apt-get install wireshark wireshark-dev libwireshark-dev cmake +cd libbtbb/wireshark/plugins/btbb +mkdir build +cd build +cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu/wireshark/libwireshark3/plugins .. +make +sudo make install +cd ../../../../.. + +sudo apt-get install wireshark wireshark-dev libwireshark-dev cmake +cd libbtbb/wireshark/plugins/btbredr +mkdir build +cd build +cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu/wireshark/libwireshark3/plugins .. +make +sudo make install +cd ../../../../.. + +echo 'Adding user to wireshark group...' +sudo dpkg-reconfigure wireshark-common +sudo gpasswd -a $USER wireshark + +echo 'If you plan to use wireshark to capture btle, be sure to follow the directions at the bottom of the page here to enable wireshark to recongize btle packets: https://github.com/greatscottgadgets/ubertooth/wiki/Capturing-BLE-in-Wireshark'