BlueTooth

Asked by Andrew

I have a USB BlueTooth Dongle and Ubuntu does see it within the Hardware Information but has no drivers to use it .. i am trying to transfer pics from my mobile phone... how do i activate this hardware ? does Ubuntu support Bluetooth?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rui Bernardo (epimeteo) said :
#1

Hi Andrew,

Ubuntu does support Bluetooth. Just plug the Bluetooth dongle and install the package gnome-bluetooth:

sudo apt-get install gnome-bluetooth bluez-pin

In your sessions (System, Preferences, Sessions menu) add an application with "gnome-obex-server" and another with "passkey-agent --default /usr/bin/bluez-pin"

Restart your Gnome session or reboot (reboot might be better, it also restarts the bluetooth service).

This will allow you to send files to the computer. Please type an identical PIN on both sides (On the phone and Ubuntu. The default PIN is 1234, change it in the file /etc/bluetooth/hcid.conf).

To send to the phone, make your phone discoverable and in a terminal check its address with:

hcitool scan

Add a "Starter" link on your desktop and add:

gnome-obex-send --dest=Th:e_:ad:dr:es:s_:of:_y:ou:r_:ph:on:e

Just drag & drop a file supported by your phone on top of the starter link and it should be received by the phone.

Hope that helps.

Revision history for this message
Rui Bernardo (epimeteo) said :
#2

Sorry, forgot to say how to make the Ubuntu side discoverable. To make it discoverable, type this on a terminal:

dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable

Revision history for this message
garner (juneaualaska2000) said :
#3

Package bluez-pin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package bluez-pin has no installation candidate

This message above is what I get when I run:
 sudo apt-get install gnome-bluetooth bluez-pin

Do I have to reboot also to get the service to start to bond ( pair) my my device ?

Thanks1

Can you help with this problem?

Provide an answer of your own, or ask Andrew for more information if necessary.

To post a message you must log in.