Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualisation:bluetooth [2018/01/12 14:19]
buettner
virtualisation:bluetooth [2023/04/03 09:33] (current)
fricker
Line 1: Line 1:
 +<WRAP round alert 100%>
 +[[configuration/​bluetooth-low-energy-ble|This Page is deprecated please visit our Bluetooth low energy page]]
 +</​WRAP>​
 +
 +
 ====== LXC Bluetooth Image ====== ====== LXC Bluetooth Image ======
  
-This article decribes the usage of the Bluetooth BLE 4.2 inteface ​on a NB800 router insinde of a LXC virtualisation container.+This article decribes the usage of the Bluetooth BLE 4.2 interface ​on a NB800 router insinde of a LXC virtualisation container.
  
 ===== 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:​public@share.netmodule.com/​virt/​debian-jessie-bluetooth.tar.gz|here]] (debian-jessie-bluetooth.tar.gz; Size 87.4MB; Checksum ​5bd2becf74753171f893ccccab5213b8). +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://​share.netmodule.com/​router/​public/virt/debian_jessie_bluetooth.tar.xz|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 [[http://​wiki.netmodule.com/​faq/​support|Contact support]] for further informations. Beside that, you will need a virtualization licence to run LXC container. You can [[http://​wiki.netmodule.com/​faq/​support|Contact support]] for further informations.
Line 25: Line 30:
  
 <​code>​ <​code>​
-tar -xzvf debian-jessie-bluetooth.tar.gz -C /​mnt/​storage0/​lxc/​guest0+tar -xJvf debian-jessie-bluetooth.tar.gz -C /​mnt/​storage0/​lxc/​guest0
 </​code>​ </​code>​
   * 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, ​just make sure that you enable the BLUEZ1 module in the Devices menu.+  * Set up this LXC config for your needs, make sure that you enable the BLUEZ1 module in the Devices menu.
  
 {{ :​virtualisation:​virt_config_bluetooth.png |}} {{ :​virtualisation:​virt_config_bluetooth.png |}}
  
- 
-  * 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 
- 
-<​code>​ 
-chmod 755 -R guest0 
-</​code>​ 
- 
-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
 <​code>​ <​code>​
-/.start-bluetooth.sh+./start-bluetooth.sh
 </​code>​ </​code>​
  
Line 123: Line 118:
 root@jessie:​~#​ hcitool scan root@jessie:​~#​ hcitool scan
 Scanning ... Scanning ...
-        6C:​4D:​73:​E3:​31:​AA ​      randomBTdevice +        6C:​4D:​73:​E3:​31:​AA ​      Phone 
-        6C:​4D:​72:​E6:​11:​CC anotherrandomBTdevice +      
 </​konsole>​ </​konsole>​