J'ai un Samsung E900 bluetooth qui fourni une Dial-Up Networking et un blackberry 7100 avec un forfait data (mais pas de service DUN sur le tel).
J'ai dinc fait debloquer mon E900 pour pouvoir utiliser dessus le service DUN avec le forfait data (SFR)
La communication bluetooth semble OK
j'ai configurer une connexion ppp (nommée dun) comme suit:
-------------------------------------------------------------------------------
/etc/ppp/peers/dun
-------------------------------------------------------------------------------
/dev/rfcomm0 115200
debug
kdebug 1
ktune
local
noipdefault
connect "/usr/sbin/chat -v -f /etc/chatscripts/dun"
noauth
usepeerdns
defaultroute
noipx
novj
novjccomp
nodeflate
nobsdcomp
ipcp-max-configure 20 # increase the maximum IPCP config requests
maxfail 0 # do not stop retrying connection
show-password
crtscts
nolock
lcp-echo-failure 0
lcp-echo-interval 65535
---------------------------------------------------------------------------
/etc/chatscripts/dun
---------------------------------------------------------------------------
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 AT&F
OK "AT+CGDCONT=1,\"IP\",\"websfr\",\"0.0.0.0\",0,0"
OK ATD*99#
--------------------------------------------------------------------------
lorsque je tente une connexion elle n'aboutit jamais et j'obtiens les logs suivants dans syslog:
Feb 5 23:02:38 localhost pppd[17597]: pppd 2.4.4 started by root, uid 0
Feb 5 23:02:39 localhost hcid[3440]: link_key_request (sba=00:00:3A:68:E0:FC, dba=00:16:DB:E1:60:C5)
Feb 5 23:02:39 localhost chat[17599]: timeout set to 5 seconds
Feb 5 23:02:39 localhost chat[17599]: abort on (\nBUSY\r)
Feb 5 23:02:39 localhost chat[17599]: abort on (\nERROR\r)
Feb 5 23:02:39 localhost chat[17599]: abort on (\nNO ANSWER\r)
Feb 5 23:02:39 localhost chat[17599]: abort on (\nNO CARRIER\r)
Feb 5 23:02:39 localhost chat[17599]: abort on (\nNO DIALTONE\r)
Feb 5 23:02:39 localhost chat[17599]: abort on (\nRINGING\r\n\r\nRINGING\r)
Feb 5 23:02:39 localhost chat[17599]: send (^MAT^M)
Feb 5 23:02:39 localhost chat[17599]: timeout set to 12 seconds
Feb 5 23:02:39 localhost chat[17599]: expect (OK)
Feb 5 23:02:40 localhost chat[17599]: ^MAT^M^M
Feb 5 23:02:40 localhost chat[17599]: OK
Feb 5 23:02:40 localhost chat[17599]: -- got it
Feb 5 23:02:40 localhost chat[17599]: send (AT&F^M)
Feb 5 23:02:40 localhost chat[17599]: expect (OK)
Feb 5 23:02:40 localhost chat[17599]: ^M
Feb 5 23:02:40 localhost chat[17599]: AT&F^M^M
Feb 5 23:02:40 localhost chat[17599]: OK
Feb 5 23:02:40 localhost chat[17599]: -- got it
Feb 5 23:02:40 localhost chat[17599]: send (AT+CGDCONT=1,\"IP\",\"websfr\",\"0.0.0.0\",0,0^M)
Feb 5 23:02:40 localhost chat[17599]: expect (OK)
Feb 5 23:02:40 localhost chat[17599]: ^M
Feb 5 23:02:40 localhost chat[17599]: AT+CGDCONT=1,"IP","websfr","0.0.0.0",0,0^M^M
Feb 5 23:02:40 localhost chat[17599]: OK
Feb 5 23:02:40 localhost chat[17599]: -- got it
Feb 5 23:02:40 localhost chat[17599]: send (ATD*99#^M)
Feb 5 23:02:40 localhost pppd[17597]: Serial connection established.
Feb 5 23:02:40 localhost pppd[17597]: using channel 13
Feb 5 23:02:40 localhost pppd[17597]: Using interface ppp0
Feb 5 23:02:40 localhost pppd[17597]: Connect: ppp0 <--> /dev/rfcomm0
Feb 5 23:02:41 localhost pppd[17597]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x443b6f76> <pcomp> <accomp>]
Feb 5 23:02:41 localhost pppd[17597]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>]
Feb 5 23:02:41 localhost pppd[17597]: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap>]
Feb 5 23:02:41 localhost pppd[17597]: rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
Feb 5 23:02:41 localhost pppd[17597]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x443b6f76>]
Feb 5 23:02:41 localhost pppd[17597]: rcvd [LCP ConfNak id=0x2 <asyncmap 0xa0000>]
Feb 5 23:02:41 localhost pppd[17597]: sent [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x443b6f76>]
Feb 5 23:03:11 localhost pppd[17597]: LCP: timeout sending Config-Requests
Feb 5 23:03:11 localhost pppd[17597]: Connection terminated.
Feb 5 23:03:11 localhost pppd[17597]: Modem hangup
Feb 5 23:03:11 localhost pppd[17597]: Exit
Quelqu'un aurait il une idée géniale car là je calle....!