@akamagic
I have seen also a lot people having problem to issue a simple handshaking between their laptop and cellphones.
I will write a few comments to help before a total Tutorial
1st Step
Go to
/etc/Bluetooth/passkeys/default
Issue there 0000 or 1234 as the PIN of your laptop
Make it executable
2nd Step
Go to
/etc/Bluetooth/hci.conf
Change the following:
Code:
#
# 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; #or else the authentication will not work
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi; #or else the authentication will not work
# Default PIN code for incoming connections
passkey "0000"; #or 1234, ...=The PIN which gives to the cellphone ...if we are lucky!
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "DARTIS or YOUR name :)";
# Local device class
class 0x000240;#Disguise your laptop as a simple cellphone. Put the exact class of the cellphone you want to connect for maybe better results...learn it by hcitool inq
# Default packet type
#pkt_type DH1,DM1,HV1;
pkt_type DH1,DM1,HV1; #Optional
# Inquiry and Page scan
#iscan enable;
pscan enable;
iscan enable; #(Important for better communication between BTs)
# 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,master; #Very important for the sniffer business..
# 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; #rswitch can be disabled if you use master mode
auth enable; #Very important for the pairing process
encrypt enable; #Very important for the sniffing process
}
Make it executable
3rd Step
Fire up your hci's seperately
hciconfig hci0 up
hciconfig hci1 up
etc...
4th Step
Put in your console the command
bash /etc/rc.d/rc.bluetooth restart
Check = OK with hciconfig -a
You should be able to proceed ...
Will revert with more
@those who had problems pairing
I would appreciate the feedback for anymore of your problems in that matter.