- Жду Совет Знатока Bluetooth+Benq-Siemens S88 GPRS, rus, 03:25 , 06-Окт-07 (1)
- Жду Совет Знатока Bluetooth+Benq-Siemens S88 GPRS, qwerty, 02:40 , 25-Окт-07 (2)
- Жду Совет Знатока Bluetooth+Benq-Siemens S88 GPRS, Halt, 23:42 , 30-Окт-07 (3)
точно така я же проблема - целую неделю ломаю голову: bluez3.9-486-1 ставится автоматом Slackware 12 (2.6.21.5) создаю файл: /etc/modutils/bluez : alias net-pf-31 bluez alias bt-proto-0 l2cap alias bt-proto-2 sco alias bt-proto-3 rfcomm alias bt-proto-4 bnep alias bt-proto-5 cmtp alias bt-proto-6 hidp alias tty-ldisc-15 hci_uart alias char-major-10-250hci_vhci ========== /etc/bluetooth/hcid.conf cat /etc/bluetooth/hcid.conf options { autoinit yes; security auto; pairing multi; passkey "1234"; } device { name "NotWorkedBluez (%h)"; class 0x3e0100; #pkt_type DH1,DM1,HV1; iscan enable; pscan enable; lm accept; lp rswitch,hold,sniff,park; } # rfcomm bind rfcomm0 00:0E:6D:D8:7F:67 1 # rfcomm show 00:0E:6D:D8:7F:67 rfcomm0: 00:0E:6D:D8:7F:67 channel 1 clean ======= /etc/ppp/peers/gprs : /dev/rfcomm0 115200 noaut defaultroute usepeerdns updetach persist noipdefault lock connect '/usr/sbin/chat -v -f /etc/ppp/bee' novjccomp nopcomp noaccomp noipdefault nodeflate novf nobsdcomp ======= /etc/ppp/bee : TIMEOUT 45 ABORT "NO CARRIER" ABORT ERROR "" 'ATE1' OK AT+CGDCONT=1,"IP","internet.beeline.ru" OK ATD*99***1# CONNECT ======== # pppd call gprs //на телефоне появляется предложение ввести код ввожу и вываливается: Failed to open /dev/rfcomm0: Connection refused Failed to open /dev/rfcomm0: Connection refused Connect script failed Connect script failed Connect script failed Segmentation faultчто касается: [quote] далее в /etc/bluetooth/hcid.conf находим строки типа: # PIN helper #pin_helper /bin/mypin; и меняем #pin_helper /bin/mypin; на...... [/qoute] нашел файлик: /etc/bluetooth/README.SLACKWARE: since bluez 3.0 the old pin_helper script has been replaced by the dbus interface. To add a default passkey for every outgoing request (e.g. the old /etc/bluetooth/pin file) drop it into /etc/bluetooth/passkeys/default. (e.g. echo -n "1234" > /etc/bluetooth/passkeys/default ) To add a passkey for a specific outgoing connection replace default with the device's address. ( /etc/bluetooth/passkeys/aa:bb:cc:dd:ee:ff will contain passkey for aa:bb:cc:dd:ee:ff ). After adding a passkey you should restart bluetooth with /etc/init.d/bluetooth restart and the new passkeys will be registered... и даже после создания файла /etc/bluetooth/00:0E:6D:D8:7F:67 все равно Connection refused З.Ы. /etc/init.d/bluetooth этого сценария тоже нет . если кто настроил в слаке 12 отпишитесь заранее спасибо.
|