You are well on your way!
Look at LCP - this is the negotiation between each end on what
protocols each support and they have to settle on a common one.
If that fails it would suggest you're protocol suite doesn't support a
common one with the other end.
Also - check that you're LCP failure and retry times aren't too short.
I noticed in the ppp.options they were set to 0? Check that first.
Larry
BillBergeron wrote:
> Yan,
>
> Thanks for the suggestion. I had tried using minicom earlier but gave
> up. I tried again and was able to manually make a connection using
> the commands from the connect script. I also spent some time trying
> to get more output from the pppd connection and was able to get some
> more verbose output (changed the CHAT switches to -s -S -v -f). So
> using the below script I finally see my error (tts/4: 1 input overrun
> (s)). Which appears to come from the last line (CONNECT "") the
> output is:
> --------------------------------------------------
> send (ATZ^M)
> expect (OK)
> ATZ^M^M
> OK
> -- got it
>
> send (AT+CGDCONT=1,\"ip\",\"isp.cingular\"^M)
> expect (OK)
> ^M
> AT+CGDCONT=1,"ip","isp.cingular"^M^M
> OK
> -- got it
>
> send (ATD*99***1#^M)
> expect (CONNECT)
> ^M
> tts/4: 1 input overrun(s)
> TD*99***1#^M^M
> ---------------------------------------------------
>
> I changed CONNECT "" to CO "" and it seems to work...sort of. I seem
> to establish a connection but then the negotiation seems to fail.
>
> --------------------------------
> send (ATZ^M)
> expect (OK)
> ATZ^M^M
> OK
> -- got it
>
> send (AT+CGDCONT=1,\"ip\",\"isp.cingular\"^M)
> expect (OK)
> ^M
> AT+CGDCONT=1,"ip","isp.cingular"^M^M
> OK
> -- got it
>
> send (ATD*99***1#^M)
> expect (CO)
> ^M
> TD*99***1#^M^M
> CO
> -- got it
>
> send (^M)
> Serial connection established.
> using channel 1
> Using interface ppp0
> Connect: ppp0 <--> /dev/tts/4
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x78d2a3f3>]
> LCP: timeout sending Config-Requests
> Connection terminated.
> ---------------------------------------------
>
> Does this make sense to anyone?
>
> Bill
>
> --- In <ts-7000%40yahoogroups.com>,
> "Yan Seiner" <> wrote:
> >
> > --- In <ts-7000%40yahoogroups.com>,
> "BillBergeron" <billbergeron@>
> wrote:
> >
> > > ppp connect script - /etc/ppp/peers/gprs-connect-chat:
> > > '' AT
> > > OK AT+CGDCONT=1,"IP","isp.cingular"
> > > OK ATD*99***1#
> > > CONNECT ''
> > >
> > > Question: is the username/password supposed to be in
> the /etc/ppp/pap-
> > > secrets file? if so in what format, I've tried but without lucka
> nd
> > > often with error messages.
> > >
> >
> > It's been a while since I've run pppd - but I have email in my box
> > asking me to put together a phone-based network so I have renewed
> > interest.... :-)
> >
> > I usually start by trying to connect by hand from a terminal. Just
> > open a terminal and fire up minicom (picocom or whatever you can get
> > to compile) and connect to the modem.
> >
> > Then issue the dial up commands by hand, and see what the responses
> are.
> >
> > Then code your chatscript with the login info in it. Only when
> that's
> > working try using the *secrets files.
> >
> > --Yan
> >
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|