Originally Posted by vadiraj.panchamukhi
Hi,
I am trying to connect to Internet using Wavecome modem with Airtel GPRS connection. I am able to successfully connect and browse the Internet using ...
I am trying to connect to Internet using Wavecome modem with Airtel GPRS connection. I am able to successfully connect and browse the Internet using wvdial. But if I use pppd, I am getting the error message as "LCP Terminated by peer".
The exact error I am getting is pasted below.
[root@pscu1320 ppp]# pppd call gprs-wavecom
GPRS modem init: press <ctrl>-C to disconnect
Wakeup Modem
Before Connecting
+ defining PDP context
Number Dialled
+ attaching to GPRS
+ requesting data connection
Serial connection established.
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x74fcb1c5> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0x74fcb1c5>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
sent [LCP TermAck id=0x3]
Modem hangup
Connection terminated.
I am attaching "chatscript" and "options" files which I am providing to pppd.
The directories in which I have saved the attached files are:
gprs-wavecom - /etc/ppp/peers
gprs-options - /etc/ppp/
gprs-wavecom-connect-chat - /etc/ppp/chatscripts
Thanks in advance.
Regards,
Vadiraj
sir, I V.Gayatri Devi i am connected the ANALOGICS GPRS modem to the PC i am working in linux. sir u said that u r connecting to internet using wvdial how u did that plz tell me sir it will help in my project.