This is an old revision of the document!
This article decribes the usage of the Bluetooth BLE 4.2 interface on a NB800 router insinde of a LXC virtualisation container.
The configuration has been accomplished and verifed with the following software versions:
Software version | 4.2.0.105 |
Debian version | jessie (8) |
Kernel version | 4.19 |
We will not take any responsiblity or support whether this configuration will work with different versions.
Beside of a NB800 Router, you will need the correct LXC Container file to run Bluetooth on your router. This file can be downloaded here (debian-jessie-bluetooth.tar.xz; Size 54.6MB; Checksum b3907135c41721a70cfbd72cc2873cda).
Beside that, you will need a virtualization licence to run LXC container. You can Contact support for further informations.
cd /mnt/storage0/lxc
mkdir guest0
to create a new guest0 folder for your new LXC container.
tar -xJvf debian-jessie-bluetooth.tar.gz -C /mnt/storage0/lxc/guest0
lxc-info -n guest0
/etc/init.d/virt start
to start it manually.
lxc-attach -n guest0
cd
to change to the containers root folder and
./start-bluetooth.sh
to start the bluetooth starting script. If everything works correctly, you will get a confirmation like in the picture.
hcitool scan
6C:4D:73:E3:31:AA Phone
to scan your surrounding for active bluetooth devices.