Bluetooth a ppp

Milan Soltes milan.soltes na gmail.com
Pátek Březen 11 13:09:19 CET 2005


Zdravim,
nedari se mi rozchodit pripojeni k internetu pomoci bluetooth.
Hardware: notebook HP nx7010, telefon SE P900. Na notebooku je
nainstalovany Mandrake 10.1. Samotny bluetooth chodi - mam telefon
sparovany, muzu si posilat obema smery soubory. Problem vsak je v
pripojeni pres ppp. Podle navodu ktere jsem nasel, bych mel byt
schopen v okamziku existence zarizeni /dev/rfcomm0 pripojit se
minicomem a telefon by mel reagovat na AT prikazy. Minicom vsak mlci,
ikonka bluetooth v telefonu ukazuje pripojene zarizeni a pomoci
hcidump je videt komunikace.
Pokud zkusim vytocit pripojeni, ppp se ukonci hlaskou "tcflush failed:
Input/output error".

Konfigurace:
/etc/bluetooth/hcid.conf
options {
        autoinit yes;
        security auto;
        pairing multi;
        pin_helper /usr/lib/kdebluetooth/kbluepin;
        dbus_pin_helper;
}
device {
        name "%h-%d";
        class 0x120104;
        iscan enable; pscan enable;
        lm accept;
        lp hold,sniff,park;
}

/etc/bluetooth/rfcomm.conf
rfcomm0 {
  bind yes;
  device 00:0A:D9:ED:12:C1;
  channel 1;
  comment "P900";
}

hciconfig:
hci0:   Type: USB
        BD Address: 00:0F:B3:6B:E0:30 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:54808 acl:1557 sco:0 events:3193 errors:0
        TX bytes:34954 acl:1336 sco:0 commands:900 errors:0

rfcomm:
rfcomm0: 00:0A:D9:ED:12:C1 channel 1 clean

Nevim kde dal hledat chybu, dokumenty na netu konci popisem
konfigurace bluetooth vytvorenim /dev/rfcomm0 a dal je to zalezitost
ppp.
--
Milan
http://www.wordbook.cz


Další informace o konferenci Linux