OpenFreeSoftware: All about Free Software and Open Source!

 BLUETOOTH ON LINUX WITH BLUEZ
 


   
Technology goes forward and we can not stay and watch without exploiting the potential that it offers.
For many years we have been submerged by electrical cables, one for each device that was attached to our computer.
Then someone thought to use radio waves to carry data from one device to another.
From that moment were born many ways to exploit this technology, among which we can remember:


  •      GSM / GPRS / UMTS / HDSPA FOR MOBILE PHONES;
  •      WI-FI FOR NETWORKS;
  •      BLUETOOTH FOR DATA TRANSPORT BETWEEN ELECTRONIC DEVICES.

Today we focus on the last one and we will see quickly how to exploit it on Linux for connection between computer and phone.
The software (free of course) that allows us to do this is called BLUEZ.
 
 
This is a small software package that can be easily found in all of various GNU / Linux distributions Repositories.
For downloading Bluez, you have to use your Linux Package Manager.
Every Linux distribution has a package manager with its own name (yum, yast2, apt-get ...) and with more or less advanced features, but most of them share a very similar syntax wich is

manager-name [options] command package-name

So, open the shell console and gain administrator privileges.
In Fedora (used as a reference for this howto), the input command  is

yum install bluez

where 
yum = manager-name, install = command, bluez = package-name and in this case we have no options.


To download any additional packages of bluez which could serve for other Bluetooth services (such as management of mobile phone), execute the command above by adding an asterisk after "bluez" so that the package manager will download them too:

yum install bluez*

In Debian, Ubuntu and similar, we would have:

sudo apt-get install bluez*

In OpenSUSE, with administrator privileges:

yast -i bluez*        or        zipper in bluez*

In Mandriva Linux, with the usual  administrator
privileges:

urpmi bluez*

The asterisk should work in all cases, but if the system show a message of package not found, remove it and try again.

For other systems not presented here, we suggest to refer to its documentation.

Now that your adapter works, you can connect your phone and use it as a Bluetooth Modem.
If you do not know how to do it, you can follow our howto on

 
<< INTERNET CONNECTION ON LINUX WITH MOBILE PHONE AND BLUETOOTH >>

 

Conclusions

I hope I have done something pleasing to the free software community and that this howto will be useful.
We would be grateful if you report any error or suggest through the form "contact us" which you can find on the left of all OpenFreeSoftware pages.
 
Disclaimer

The contents of this howto is property of Christian Di Filippo, but the redistribution and any other use is permitted under terms of
GNU Free Documentation License .
If you decide to put it in your site, I invite you to simply insert a visible link to my site: www.openfreesoftware.com
Thanks!


 
Cerchi un regalo originale? Ecco il sito giusto:
Banner
www.filidargento.com
Support OpenFreeSoftware! Now you can!
News, Programs, Howtos, Videos, Manuals ...all for free... for all of you!

Template Joomla scaricato da Joomlashow