Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


intel_edison_blue_hydra_logger

Intel Edison - Blue Hydra logger

BlueHydra is a Bluetooth device discovery service built on top of the bluez library. BlueHydra makes use of ubertooth where available and attempts to track both classic and low energy (LE) bluetooth devices over time. (from the github page}

  • Disable services:
    update-rc.d galileod.sh disable
  • Set hostname and reboot:
    vi /etc/hostname
    vi /etc/hosts
    
    reboot
  • Regenerate SSH keys:
    /bin/rm -v /etc/ssh/ssh_host_*
    dpkg-reconfigure openssh-server
    /etc/init.d/ssh restart
  • Configure timezone:
    dpkg-reconfigure tzdata
  • Check if NTP client is synchronised:
    ntpq -p
  • Install requisite packages:
    apt-get install bluez bluez-test-scripts python-bluez python-dbus libsqlite3-dev sqlite3
    apt-get install ruby-dev bundler
  • Put user edison in group sudo:
    usermod -a -G sudo edison
  • Clone git repository:
    git clone https://github.com/pwnieexpress/blue_hydra.git
  • Install blue hydra:
    cd blue_hydra/
    bundle install
  • Disable BT discovery for device itself:
    vi /etc/rc.local
    # Disable BT discovery
    hciconfig hci0 noscan
  • Run blue hydra automatically as daemon after boot.
    vi /etc/rc.local
    
    # Run Blue Hydra
    cd /home/edison/blue_hydra/bin
    ./blue_hydra -d &
  • Or start in screen session so that you can take a peek:
    # Start blue_hydra in screen
    cd /home/pi/blue_hydra/bin/
    screen -d -m -S bluehydra /home/pi/blue_hydra/bin/blue_hydra
intel_edison_blue_hydra_logger.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1