--Inhalt hcid.conf-- # # 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 "1111"; } # Default settings for HCI devices device { # Local device name # %d - device id # %h - host name name "%h-%d"; # 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; discovto 0; # 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; } -- Ende hcid.conf-- -- Inhalt rfcomm.conf -- # # RFCOMM configuration file. # rfcomm0 { # # Automatically bind the device at startup bind yes; # # # Bluetooth address of the device device xx:xx:xx:xx:xx:xx; (Hier steht die MAC-Adresse des Treo/Handy) # # # RFCOMM channel for the connection channel 3; # # # Description of the connection comment "GPRS Connection"; } -- Ende rfcomm.conf -- -- Inhalt gprs -- /dev/rfcomm0 connect '/usr/sbin/chat -v -f /etc/ppp/peers/gprs-chat' defaultroute replacedefaultroute noipdefault user "eplus" usepeerdns 912600 debug noauth nopcomp maxfail 10 lcp-echo-interval 5 lcp-echo-failure 12 holdoff 3 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp lock nocrtscts -- Ende gprs -- -- Inhalt gprs-chat -- TIMEOUT 10 ECHO ON ABORT '\nABORT\r' ABORT '\nERROR\r' ABORT '\nNO ANSWER\r' ABORT '\nNO CARRIER\r' ABORT '\nNO DIALTONE\r' ABORT '\nRINGING\r\n\r\nRINGING\r' '' \rAT TIMEOUT 15 OK ATE1 OK 'AT+CGDCONT=1,"ip","internet.eplus.de"' OK ATD*99# CONNECT -- Ende gprs-chat --