Bluetooth
From GnokiiWiki
Bluetooth configuration
That is fairly easy process with the recent Linux distribution. Examples are taken from Ubuntu Linux 6.06. The description assumes that you have DBUS server running.
First make sure that Bluetooth packages are installed. Most important are these containing bluez-libs and bluez-utils. There may be also bluez-pin package. You should have /etc/bluetooth/hcid.conf file with the content similiar to the following syntax:
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /usr/bin/bluez-pin;
}
Make sure that pin_helper variable is uncommented and set to /usr/bin/bluez-pin. Next step is to run pin helper daemon and restart bluetooth subsystem (the latter command is for Debian systems):
pkot@bua:~$ bluez-pin --dbus & pkot@bua:~$ sudo /etc/init.d/bluez-utils restart
Now, unless phone and pc are paired, after entering pin on the phone you should get password popup window on your screen.
You may try to run:
pkot@bua:~$ hcitool cc XX:XX:XX:XX:XX:XX
to estabilish a connection between phone and PC and avoid further PIN questions.

