Hi All!
I've faced with this issue when tried to configure internet connection on my laptop via Bluetooth+GPRS.
Bluetooth part is perfect, it's pretty simple to configure so I'll not post this configuration, (let me know if it is necessary BTW). But in my opinion main issue with pppd session negotiation.
What I actually have:
My pppd peer's file.
Code:
=====================
15:43 lc ~ # cat /etc/ppp/peers/life
/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/ppp/life-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
noauth
ipcp-accept-remote
ipcp-accept-local
noipdefault
Here is I have "chat" script to connect to my provider by phone's modem
Code:
15:44 lc ~ # cat /etc/ppp/life-gprs
'' ATZ OK
AT+CGDCONT=1,"IP","internet"
# Here is string with number to call
OK "ATD*99***1#"
CONNECT ''
I've been tried to start my connection with debug option:
Code:
00:39 lc ~ # pppd call life
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
rcvd [LCP ConfReq id=0x1 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0x870
0216>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0x870
0216>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52cc2b0> <pcomp> <accomp>]
Modem hangup
Connection terminated.
During procedure above, I see status on my cell phone something like (Connecting to Internet). But after
string, I always see something like "Problem with connecting to provider".
Maybe somebody can help me with it?
P.S. I can make connections with Windows if it help..