{{tag>[linux Intel Edison bluetooth hydra logger]}} =====Intel Edison - Blue Hydra logger===== {{::screenshot_from_2017-06-04_20-21-06.png?nolink| }} 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. [[https://github.com/pwnieexpress/blue_hydra|(from the github page}]] * Install jubilinux, see: [[intel_edison_jubilinux|Intel Edison - Install and configure Jubilinux]] * 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