How to configure GPRS Modem to Internet
Hi all,
I am using a Wavecom GPRS Modem for my project purpose, with Airtel GPRS connection. I am new to Linux , I want to configure GPRS connection with PPPD which I read in some article.
Please help me in configuring GPRS Modem to Linux in step by step procedure which can help me in setting up GPRS connection.
Waiting for a Positive reply from Linux users,
Best Regards,
Rajesh
Thanks, I went through it but....,
I made my Modem work with WVDIAL , but the real problem is that I am working with UcLinux, I dont have this wvdial option there, could u please help me, if I can download this source code and can I recompile wvdail to my Uclinux kernel? or Is there any other option throught which I can make Modem work with UcLinux?
Best Regards,
Rajesh
3 Attachment(s)
Problem configuring pppd for GPRS
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 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