This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualisation:bluetooth [2018/01/12 14:10] – buettner | virtualisation:bluetooth [2019/05/24 09:16] – [Configuration] juraschek | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LXC Bluetooth Image ====== | ====== LXC Bluetooth Image ====== | ||
- | This Article | + | This article |
===== Requirements ===== | ===== Requirements ===== | ||
- | Beside of a NB800 Router, you will need the correct LXC Container file to run Bluetooth on your router. This file can be downloaded [[ftp://public: | + | Beside of a NB800 Router, you will need the correct LXC Container file to run Bluetooth on your router. This file can be downloaded [[ftp:// |
- | Beside that, you will need a virtualization licence. [[http:// | + | Beside that, you will need a virtualization licence |
===== Configuration ===== | ===== Configuration ===== | ||
* If you are using Windows to set up your router, use f.e. WinSCP to connect to your routers file system. | * If you are using Windows to set up your router, use f.e. WinSCP to connect to your routers file system. | ||
Line 25: | Line 25: | ||
< | < | ||
- | tar -xzvf debian-jessie-bluetooth.tar.gz -C / | + | tar -xJvf debian-jessie-bluetooth.tar.gz -C / |
</ | </ | ||
* Extract the tar file to the guest0 folder. | * Extract the tar file to the guest0 folder. | ||
Line 41: | Line 41: | ||
- | * Set up this LXC config for your needs, | + | * Set up this LXC config for your needs, make sure that you enable the BLUEZ1 module in the Devices menu. |
{{ : | {{ : | ||
Line 57: | Line 57: | ||
===== Container ===== | ===== Container ===== | ||
- | Normally, the LXC container is started automaticly when you create a new guest in the router GUI. To check this up, enter | + | * Normally, the LXC container is started automaticly when you create a new guest in the router GUI. To check this up, enter |
< | < | ||
lxc-info -n guest0 | lxc-info -n guest0 | ||
Line 76: | Line 76: | ||
</ | </ | ||
- | If the container is not running, enter | + | * If the container is not running, enter |
< | < | ||
/ | / | ||
</ | </ | ||
+ | to start it manually. | ||
- | * To start the LXC container | + | * To enter the LXC container |
< | < | ||
lxc-attach -n guest0 | lxc-attach -n guest0 | ||
</ | </ | ||
- | to enter the container. | + | |
< | < | ||
Line 101: | Line 102: | ||
to change to the containers root folder and | to change to the containers root folder and | ||
< | < | ||
- | /.start-bluetooth.sh | + | ./start-bluetooth.sh |
</ | </ | ||
Line 119: | Line 120: | ||
hcitool scan | hcitool scan | ||
</ | </ | ||
- | to scan your surrounding for active bluetooth devices. | ||
< | < | ||
root@jessie: | root@jessie: | ||
Scanning ... | Scanning ... | ||
- | 6C:4D:73:D3:41:CC | + | 6C:4D:73:E3:31:AA |
+ | |||
</ | </ | ||
+ | |||
+ | to scan your surrounding for active bluetooth devices. | ||
+ | |||