I usually use the "receive-all"
Why aren't using rts/cts for flow control?
Also after the first few sends, I notice that every rcvd matches the
previous sent - have you configured your modem to turn echo off? It looks
like its on.
In fact how have you got your modem configured?
On Wed, 19 Oct 2005, ld_ts7200 wrote:
> In addition, here is a trace from the attempted PPP connect
>
>
> pppd options in effect:
> debug debug # (from command line)
> nodetach # (from command line)
> dump # (from command line)
> /dev/ttyAM0 # (from command line)
> 9600 # (from command line)
> lock # (from command line)
> connect /usr/sbin/chat -v -f /etc/ppp/chat.script #
> (from command
> line)
> nocrtscts # (from command line)
> defaultroute # (from command line)
> Serial connection established.
> using channel 9
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyAM0
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5761b2f6> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x1 <magic 0x922052e6>]
> rcvd [LCP ConfNak id=0x1 <magic 0x922052e6>]
> sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x19a6481f> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x19a6481f> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x2 <magic 0xf40ffb5a>]
> rcvd [LCP ConfNak id=0x2 <magic 0xf40ffb5a>]
> sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x45dca5aa> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x45dca5aa> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x3 <magic 0xa167e1b4>]
> rcvd [LCP ConfNak id=0x3 <magic 0xa167e1b4>]
> sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xaa90632a> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xaa90632a> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x4 <magic 0x37fac1be>]
> rcvd [LCP ConfNak id=0x4 <magic 0x37fac1be>]
> sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x259d467d> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x259d467d> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x5 <magic 0x2ea9bc81>]
> rcvd [LCP ConfNak id=0x5 <magic 0x2ea9bc81>]
> sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x6b02aa14> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x6b02aa14> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x6 <magic 0xb88557f0>]
> rcvd [LCP ConfNak id=0x6 <magic 0xb88557f0>]
> sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x50b2fe1d> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x50b2fe1d> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x7 <magic 0xa43f49d5>]
> rcvd [LCP ConfNak id=0x7 <magic 0xa43f49d5>]
> sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x6a376d39> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x6a376d39> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x8 <magic 0x588fad70>]
> rcvd [LCP ConfNak id=0x8 <magic 0x588fad70>]
> sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xf619c1b7> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xf619c1b7> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0x9 <magic 0x1d7c62a2>]
> rcvd [LCP ConfNak id=0x9 <magic 0x1d7c62a2>]
> sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x55837667> <pcomp>
> <accomp>]
> rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x55837667> <pcomp>
> <accomp>]
> sent [LCP ConfNak id=0xa <magic 0xd9e2a69d>]
> rcvd [LCP ConfNak id=0xa <magic 0xd9e2a69d>]
> Serial line is looped back.
> sent [LCP TermReq id=0xb "Loopback detected"]
> rcvd [LCP TermReq id=0xb "Loopback detected"]
> sent [LCP TermAck id=0xb]
>
>
> >
> > Hi,
> >
> > I'm stuggling to get a PPP connection from the board to the ISP.
> >
> > I've disabled the console on ttyAM0 in Redboot (JP2&4) and TSlinux
> > (inittab). I've connected a USRobotics modem to ttyAM0 and a terminal
> > to ttyAM1.
> >
> > I've inserted the required modules using the following commands:
> >
> > insmod slhc.o
> > insmod ppp_generic.o
> > insmod ppp_async.o
> >
> >
> > Using the following chat script:
> >
> > ABORT "NO CARRIER"
> > ABORT "NO DIALTONE"
> > ABORT "NO ANSWER"
> > ABORT "BUSY"
> > ABORT "ERROR"
> > TIMEOUT 10
> > " " ATZ
> > OK "AT"
> > OK "ATD08453011535"
> > CONNECT `'
> >
> > With the following command:
> >
> > pppd /dev/ttyAM0 9600 kdebug 1 debug lock
> > nocrtscts
> > defaultroute
> > connect "/usr/sbin/chat -v -f /etc/ppp/chat.script"
> >
> > forces the modem to dial the ISP (great). Unfortunately, using a
> > sniffer tool it appears PPP never passes the LCP stage. All I can see
> > is duplicated LCP requests from the Linux box and the remote end
> > NAKing the magic number (acceptable).
> >
> > Anybody passed this stage???
> >
> > Regards,
> >
> > Lee
> >
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|