debian + bluetooth
Witam
Probuje za polaczyc sie z siecia uzywajac bluetooth i telefonu:
oto co juz mam:
hciconfig
hci0: Type: USB
BD Address: 00:0A:3A:50:CB:C9 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1199 acl:10 sco:0 events:54 errors:0
TX bytes:599 acl:9 sco:0 commands:26 errors:0
rfcomm
rfcomm0: 00:0A:3A:50:CB:C9 channel 1 clean
Aparat widzi notebooka, notebook widzi telefon:
hcitool scan
Scanning ...
00:60:57:76:1A:6E Mobiltek Nokia7650
polecenie: sdptool search DUN daje takie cos:Inquiring ...
Searching for DUN on 00:60:57:76:1A:6E ...
Service Name: Dial-up Networking
Service RecHandle: 0x10001
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
urzadzennia /dev/rfcomm* istnieja
w /etc/ppp/peers sa dwa pliki:
gprs:/dev/rfcomm0 57600
connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs'
noauth
defaultroute
debug
i chat-gprs:
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\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 12
OK ATE1
OK 'AT+cgdcont=1,"IP","wap.optus.net.au"'
OK ATD*99***1#
CONNECT
Niestety polecenie: pppd call gprs owocuje takimi wpisami do syslogu:
Apr 21 20:59:58 localhost pppd[2511]: pppd 2.4.2 started by root, uid 0
Apr 21 20:59:58 localhost pppd[2511]: Failed to open /dev/rfcomm0: No
route to host
Apr 21 20:59:58 localhost pppd[2511]: Exit.
Co moze byc przyczyna takiego komunikatu?
Wszystko robie jako root.
Z gory dziekuje za wszelka pomoc.
--
Pozdrawiam, Dominik Juszczyk
Reply to: