gary4gar
October 1st, 2008, 05:22 AM
Hi,
Posting it on behalf of my Friend because he does not have a Internet connection
He uses a GPRS connection for Internet, he was on Windows recently then i made him switch to Linux.
Now the the problem with when we tried to pair Phone with PC, phone asks us for a Pass key, which we enter and it says Pairing failed.
I got his phone for some time for testing , I tried pairing it with my Box which runs Arch Linux. i also got the some error. and then i left the command "passkey-agent --default 1234" running in background and tried pairing the phone. it worked instantly.so if it works on Archlinux and then it should work on xubuntu also http://linuxmint.com/forum/images/smilies/icon_confused.gif
When i Tried the same on his machine, it said passkey-agent is not found.
His Distro is: xubuntu
#
# 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;
# Default PIN code for incoming connections
# passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ (%h)";
# Local device class
class 0x000100;
# 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;
}
rfcomm0
{
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1D:98:C5:F6:27;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
comment "Example Bluetooth device";
}
if any extra package needs to be installed, then please tell the package name & all its dependencies, the machine does not have internet connection. so we can't use the apt package manager.
Posting it on behalf of my Friend because he does not have a Internet connection
He uses a GPRS connection for Internet, he was on Windows recently then i made him switch to Linux.
Now the the problem with when we tried to pair Phone with PC, phone asks us for a Pass key, which we enter and it says Pairing failed.
I got his phone for some time for testing , I tried pairing it with my Box which runs Arch Linux. i also got the some error. and then i left the command "passkey-agent --default 1234" running in background and tried pairing the phone. it worked instantly.so if it works on Archlinux and then it should work on xubuntu also http://linuxmint.com/forum/images/smilies/icon_confused.gif
When i Tried the same on his machine, it said passkey-agent is not found.
His Distro is: xubuntu
#
# 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;
# Default PIN code for incoming connections
# passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ (%h)";
# Local device class
class 0x000100;
# 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;
}
rfcomm0
{
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:1D:98:C5:F6:27;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
comment "Example Bluetooth device";
}
if any extra package needs to be installed, then please tell the package name & all its dependencies, the machine does not have internet connection. so we can't use the apt package manager.