This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
virtualisation:bluetooth [2018/01/12 14:16] – buettner | virtualisation:bluetooth [2023/04/03 09:33] (current) – fricker | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP round alert 100%> | ||
+ | [[configuration/ | ||
+ | </ | ||
+ | |||
+ | |||
====== LXC Bluetooth Image ====== | ====== LXC Bluetooth Image ====== | ||
- | This article decribes the usage of the Bluetooth BLE 4.2 inteface | + | This article decribes the usage of the Bluetooth BLE 4.2 interface |
===== 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 [[https:// |
- | Beside that, you will need a virtualization licence. You can [[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 30: | ||
< | < | ||
- | 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 46: | ||
- | * 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. |
{{ : | {{ : | ||
- | |||
- | * Switch back to your shell and reconnect to your router. The user name is still root, but when asked for the password, use the one you set when configuring your router in your web browser. | ||
- | |||
- | * Go back to your LXC folder and enter | ||
- | |||
- | < | ||
- | chmod 755 -R guest0 | ||
- | </ | ||
- | |||
- | to give the guest0-container the correct right to function properly. | ||
===== Container ===== | ===== Container ===== | ||
Line 102: | Line 97: | ||
to change to the containers root folder and | to change to the containers root folder and | ||
< | < | ||
- | /.start-bluetooth.sh | + | ./start-bluetooth.sh |
</ | </ | ||
Line 123: | Line 118: | ||
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. | to scan your surrounding for active bluetooth devices. | ||