Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


intel_edison_blue_hydra_logger

This is an old revision of the document!


~~TOC~~

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 &
intel_edison_blue_hydra_logger.1496695017.txt.gz · Last modified: 2017/06/05 20:36 by admin