at first inicialization of bt adapter: modprobe hci_usb;modprobe l2cap hciconfig hci0 up looking for a phone: hcitool -i hci0 inq pinging the phone: l2ping 00:02:EE:00:AB:B3 hcid.conf - for daemon, which authorize and pair devices: # # HCI daemon configuration file. # # $Id: hcid.conf,v 1.1.1.1 2002/03/08 21:12:35 maxk Exp $ # # HCId options options { # Automaticaly initialize new devices autoinit yes; # Security Manager mode # none - Security manager disabled # auto - Use local PIN for incomming connections # user - Always ask user for a PIN # security auto; # PIN helper pin_helper /bin/bluepin; } # Default settings for HCI devices device { # Local device name # %d - device id # %h - host name #name "BlueZ (%d)"; name "Linux"; # Local device class class 0x100; # 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 incomming connections # master - become master on incomming connections, # deny role switch on outgoint connections # #lm accept,master; # lm master; # Default link policy # none - no specific policy # rswitch - allow role switch # hold - allow hold mode # sniff - allow sniff mode # park - allow park mode # #lp hold,sniff; # lp hold,sniff,park; # Authentication and Encryption auth enable; encrypt enable; } conf file for rfcommd - mobile phone is master options { psm 3; ppp /usr/sbin/pppd; ifconfig /sbin/ifconfig; route /sbin/route; firewall /sbin/iptables; } na { channel 1; up { ppp "%d call gprsbt"; } } starting the communication: rfcommd -n -f /usr/local/etc/rfcommd.conf na 00:02:EE:00:AB:B3 Let all of your chatscripts and peers conf files as are, u only need to delete /dev/tty, because this feature makes rfcommd. Let 115200 communication speed in your peer file too. and thats all Michal