pppd connection over bluetooth
Trying to connect to the internet with a PPP connection over
bluetooth. It's a SE T610 and the internet GPRS config is CID=3.
In the pppd logs I get:
May 10 14:08:34 chris pppd[7470]: pppd 2.4.2 started by root, uid 0
May 10 14:08:40 chris chat[7471]: timeout set to 5 seconds
May 10 14:08:40 chris chat[7471]: abort on (\nBUSY\r)
May 10 14:08:40 chris chat[7471]: abort on (\nERROR\r)
May 10 14:08:40 chris chat[7471]: abort on (\nNO ANSWER\r)
May 10 14:08:40 chris chat[7471]: abort on (\nNO CARRIER\r)
May 10 14:08:40 chris chat[7471]: abort on (\nNO DIALTONE\r)
May 10 14:08:40 chris chat[7471]: abort on (\nRINGING\r\n\r\nRINGING\r)
May 10 14:08:40 chris chat[7471]: send (^MAT^M)
May 10 14:08:40 chris chat[7471]: timeout set to 12 seconds
May 10 14:08:40 chris chat[7471]: expect (OK)
May 10 14:08:40 chris chat[7471]: ^MAT^M^M
May 10 14:08:40 chris chat[7471]: OK
May 10 14:08:40 chris chat[7471]: -- got it
May 10 14:08:40 chris chat[7471]: send (ATE1^M)
May 10 14:08:40 chris chat[7471]: expect (OK)
May 10 14:08:40 chris chat[7471]: ^M
May 10 14:08:40 chris chat[7471]: ATE1^M^M
May 10 14:08:40 chris chat[7471]: OK
May 10 14:08:40 chris chat[7471]: -- got it
May 10 14:08:40 chris chat[7471]: send (AT+cgdcont=1,"IP","internet"^M)
May 10 14:08:41 chris chat[7471]: expect (OK)
May 10 14:08:41 chris chat[7471]: ^M
May 10 14:08:41 chris chat[7471]: AT+cgdcont=1,"IP","internet"^M^M
May 10 14:08:41 chris chat[7471]: OK
May 10 14:08:41 chris chat[7471]: -- got it
May 10 14:08:41 chris chat[7471]: send (ATD*99***3#^M)
May 10 14:08:41 chris chat[7471]: expect (CONNECT)
May 10 14:08:41 chris chat[7471]: ^M
May 10 14:08:42 chris chat[7471]: ATD*99***3#^M^M
May 10 14:08:42 chris chat[7471]: CONNECT
May 10 14:08:42 chris chat[7471]: -- got it
May 10 14:08:42 chris pppd[7470]: Serial connection established.
May 10 14:08:42 chris pppd[7470]: Using interface ppp0
May 10 14:08:42 chris pppd[7470]: Connect: ppp0 <--> /dev/rfcomm0
May 10 14:08:44 chris pppd[7470]: LCP: Rcvd Code-Reject for code 9, id 0
May 10 14:08:44 chris pppd[7470]: PAP authentication succeeded
May 10 14:09:14 chris pppd[7470]: LCP: Rcvd Code-Reject for code 9, id 1
May 10 14:09:44 chris pppd[7470]: LCP: Rcvd Code-Reject for code 9, id 2
May 10 14:10:14 chris pppd[7470]: LCP: Rcvd Code-Reject for code 9, id 3
May 10 14:10:44 chris pppd[7470]: No response to 4 echo-requests
May 10 14:10:44 chris pppd[7470]: Serial link appears to be disconnected.
May 10 14:10:44 chris pppd[7470]: Connection terminated.
May 10 14:10:45 chris pppd[7470]: Exit.
So - it looks like the connection over bluetooth (/dev/rfcomm0) is OK.
On the first LCP code rejection line the mobile (T610) states "GPRS
parameters not supported".
Anyone give me a hint, URL or similar? I don't even know if this is
something wrong in the PC config, the phone config or the network at
the moment.
The peers scripts is:
/dev/rfcomm0 57600
connect '/usr/sbin/chat -v -f /etc/ppp/peers/telenor-gprs-chat'
noauth
defaultroute
debug
user <my_mobile_number>
ipparam telenor-gprs
And the chat script is:
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","internet"'
OK ATD*99***3#
CONNECT
Regards
--
Chris
Reply to: