Thread: GPRS / pppd
View Single Post

  #2 (permalink)  
Old 07-18-2005
Dan
 
Posts: n/a
Default Re: GPRS / pppd

On 17 Jul 2005 10:25:09 -0700, "132.a.dabei" <123.a.dabei@gmx.at>
wrote:


>I am not sure what that really means and I am irritated, because this
>rejection only happens with one of my two modems:


It's probably the modem, or sim card. Do you use the same sim card?


>It happens with my WaveCom Wismo Quik Q2501B (on baudrate 115200) but
>not with my Falcom Twist (on baudrate 19200). I used exactly the same
>scripts (except for the baudrate in "options.gprs").


I was never very happy with Wavecom, although it's been a long time
since I used one. I would have hope they had got over their problems.


>Another question is:
>How to submit a pin-code within the script?
>
>If I re-submit the pin-code, the script fails:
>
>linux:/etc/ppp # pppd file /etc/ppp/options.gprs
>AT
>OK
>ATE1
>OK


>AT+CPIN=3509


I think you need quotation marks around the pin number:
at+cpin="3509"


>I know that "at+cpin?" tells me if the pincode was alread submitted,
>but I don't know how to build that into my scripts.


I had trouble getting a script to work for me. I ended up writing a
C++ program to do the modem initialisation.

Dan


Reply With Quote