[Bug 89291] Re: Kubuntu Feisty does not ask for bluetooth pin. Pinhelpers seem not to work
Mark Rijckenberg
markrijckenberg at gmail.com
Sun Dec 2 14:17:49 GMT 2007
Hi,
Here is a small procedure I have written that allows pairing bluetooth
telephone with Kubuntu, that allows using the bluetooth phone as a
remote control for Kubuntu and describes how to exchange files with a
bluetooth phone using bluetooth protocol
1. Make sure /usr/sbin/hcid is running by entering "ps -aux|grep hci"
2. Make sure bluetooth service is started by entering "sudo /etc/init.d/bluetooth restart" in the konsole terminal
3. Enter "hcitool scan" in konsole terminal to retrieve the hardware address AA:BB:CC:DD:EE:FF of the bluetooth device you wish to pair with Kubuntu
4. Start "/usr/bin/bluetooth-applet" using the konsole terminal or a startup script
5. right click on bluetooth-applet icon, choose preferences. On first tab, choose mode of operation: "visible and connectable for other devices". In second tab, enable all bluetooth services. In third tab, enable "automatically authorize incoming requests"
5. Enter "hidd --connect AA:BB:CC:DD:EE:FF" in konsole terminal using the bluetooth hardware address you found instead. When connecting to certain Sony Ericsson bluetooth phones, this command will allow you to use the phone as a remote control for the laptop, handy when doing a presentation
6. The bluetooth-applet will ask you for the pin and the mobile device pairs up correctly!
7. In Krusader: enter "obex://[AA:BB:CC:DD:EE:FF]/" to transfer files between laptop and phone
Bluetooth transfer speeds on my pc are around 30 to 40 kilobytes/second
8. if file transfers still do not work for you, make sure your hcid.conf file looks like mine, reboot your
pc, and try again.
Here is my working /etc/bluetooth/hcid.conf file configuration:
#
# HCI daemon configuration file.
#
# HCId options
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/passkey-agent;
# D-Bus PIN helper
/usr/bin/bluez-pin --dbus;
# Default PIN code for incoming connections
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "Kubuntu Laptop";
discovto 0;
# Local device class
#class 0x3e0100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
# Authentication and Encryption (Security Mode 3)
#auth enable;
#encrypt enable;
}
Regards,
Mark Rijckenberg
--
Kubuntu Feisty does not ask for bluetooth pin. Pinhelpers seem not to work
https://bugs.launchpad.net/bugs/89291
You received this bug notification because you are a member of
Bluetooth, which is a bug contact for bluez-utils in ubuntu.
More information about the Ubuntu-bluetooth
mailing list