Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


ubertooth_fedora

Fedora 27 - Ubertooth


spectool_gtk


ubertooth-specan-ui

Install Ubertooth software

  • Install development tools:
    dnf groupinstall "Development Tools"
    dnf install cmake gcc-c++ libusb-devel bluez-libs-devel python-numpy python-pyside
  • Add ubertooth group and add users to group.
    groupadd ubertooth
    usermod -a -G ubertooth <user>
  • Install Ubertooth software
    curl -OL https://github.com/greatscottgadgets/libbtbb/archive/2017-03-R2.tar.gz
    curl -OL https://github.com/greatscottgadgets/ubertooth/releases/download/2017-03-R2/ubertooth-2017-03-R2.tar.xz
    
    tar zxvf 2017-03-R2.tar.gz
    cd libbtbb-2017-03-R2
    mkdir build
    cd build
    cmake ..
    make
    make install
    
    
    tar xvf ubertooth-2017-03-R2.tar.xz 
    cd ubertooth-2017-03-R2/host
    mkdir build
    cd build
    cmake .. -DUDEV_RULES_GROUP=ubertooth
    make
    make install
  • Add library path:
    echo "/usr/local/lib" >>/etc/ld.so.conf.d/local.conf
    ldconfig
  • Insert Ubertooth.
  • Check firmware:
    $ ./ubertooth-util -v
    Firmware version: 2017-03-R2 (API:1.02)
  • If you need to update the firmware:
    cd ubertooth-2017-03-R2/ubertooth-one-firmware-bin/
    ubertooth-dfu -d bluetooth_rxtx.dfu -r 
  • Test:
    $ ./ubertooth-rx -l ffffff
    systime=1517507624 ch= 0 LAP=ffffff err=1 clkn=123 clk_offset=5191 s=-75 n=-55 snr=-20
    offset > CLK_TUNE_TIME
    CLK100ns Trim: 2941
    systime=1517507624 ch=32 LAP=ffffff err=0 clkn=250 clk_offset=2260 s=-73 n=-55 snr=-18
    systime=1517507624 ch= 2 LAP=ffffff err=0 clkn=754 clk_offset=2260 s=-76 n=-55 snr=-21
    systime=1517507624 ch=51 LAP=ffffff err=0 clkn=1266 clk_offset=2282 s=-76 n=-55 snr=-21
    systime=1517507624 ch=21 LAP=ffffff err=0 clkn=1766 clk_offset=2288 s=-72 n=-55 snr=-17
    
    <snip>
    
    Calculating complete hopping sequence.
    Hopping sequence calculated.
    26644 initial CLK1-27 candidates
    systime=1517507674 ch=55 LAP=ffffff err=0 clkn=154234 clk_offset=2267 s=-74 n=-55 snr=-19
    systime=1517507674 ch=25 LAP=ffffff err=0 clkn=154746 clk_offset=2259 s=-73 n=-55 snr=-18
    systime=1517507674 ch=10 LAP=ffffff err=1 clkn=154996 clk_offset=2265 s=-73 n=-55 snr=-18
    systime=1517507674 ch=46 LAP=ffffff err=1 clkn=156390 clk_offset=2267 s=-71 n=-55 snr=-16
    
    Acquired CLK1-27 = 0x105fac8
    got CLK1-27
    clock offset = 34184874.
    systime=1517507674 ch=31 LAP=ffffff err=0 clkn=156666 clk_offset=2268 s=-73 n=-55 snr=-18
    offset > CLK_TUNE_TIME
    CLK100ns Trim: 18
    systime=1517507674 ch=63 LAP=ffffff err=0 clkn=156774 clk_offset=2276 s=-74 n=-55 snr=-19
    Failed to decode packet
    systime=1517507674 ch=22 LAP=ffffff err=1 clkn=158822 clk_offset=2272 s=-73 n=-55 snr=-18
    Failed to decode packet
    systime=1517507674 ch=54 LAP=ffffff err=0 clkn=158950 clk_offset=2272 s=-74 n=-55 snr=-19
    Failed to decode packet
    systime=1517507674 ch=71 LAP=ffffff err=2 clkn=159346 clk_offset=2270 s=-77 n=-55 snr=-22
    Failed to decode packet
    systime=1517507674 ch=56 LAP=ffffff err=0 clkn=159610 clk_offset=2275 s=-73 n=-55 snr=-18
    Failed to decode packet
    systime=1517507674 ch= 0 LAP=ffffff err=0 clkn=34344900 clk_offset=2258 s=-75 n=-55 snr=-20
    Packet decoded with clock 0x22 (rv=1)
      Type: POLL
      Type: POLL
    systime=1517507674 ch= 0 LAP=ffffff err=2 clkn=34346200 clk_offset=2250 s=-75 n=-55 snr=-20
    Packet decoded with clock 0x2c (rv=1)
      Type: POLL
      Type: POLL
    systime=1517507675 ch= 0 LAP=ffffff err=2 clkn=34346836 clk_offset=2252 s=-74 n=-55 snr=-19
    Packet decoded with clock 0x2a (rv=1)
      Type: POLL
      Type: POLL
    systime=1517507675 ch= 0 LAP=ffffff err=0 clkn=34346980 clk_offset=2245 s=-75 n=-55 snr=-20
    Packet decoded with clock 0x32 (rv=1)
      Type: POLL
      Type: POLL
    systime=1517507675 ch= 0 LAP=ffffff err=0 clkn=34347424 clk_offset=2265 s=-75 n=-55 snr=-2

Install spectools

  • Clone source code:
    git clone https://www.kismetwireless.net/spectools.git
  • Install requirements:
    dnf install 
  • Compile and install:
    cd spectools
    dnf install ncurses-devel gtk2-devel
    
    ./configure
    make
    make install
    
ubertooth_fedora.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1