Subject: Re: pppd question
To: Paul NCC/CS <pts@bom.gov.au>
From: None <bob@lostgeneration.freeserve.co.uk>
List: port-sparc
Date: 08/05/2002 23:31:19
--=.3DYRHm.OB:zO(U
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 06 Aug 2002 00:21:59 +1000
Paul NCC/CS <pts@bom.gov.au> wrote:

> 
> Hi there,
> 
> when I follow the NetBSD guide exactly to set up ppp
> I put in /etc/ppp/bom.chat :
> 
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> " ATDT########
> CONNECT "
> 
> 
> and it complains:
> Aug  5 22:39:06 duey chat[477]: unterminated quote (line 4)
> Aug  5 22:39:06 duey pppd[475]: Connect script failed
> 
> "unterminated quote line 4"

Ta-da! Magic! Terminate the quote on line 4 and try again. You will
almost certainly want to do the same for line 5.

> I'm not surprised in a way since it looks like a " is missing.

It does look like there is a " missing, in fact I can tell you there
certainly is.

> But why doesn't this work?

That may be because there is an unterminated quote on line 4.

> It must be meant to be this way, as it's in the guide?

Are you sure it's not two single quotes instead of a single double
quote? Maybe you should take time to attempt to comprehend the nature of
a chat file before progressing. The strings are grouped into conditional
expect/transmit pairs & "" or '' is a null string. 

> I can't get it to work.
> Can anyone help me please?

Was this a serious request for help or just a lame effort to point out a
mistake? You could have tried terminating the strings before you posted,
pppd won't bite you, the worst that could happen is that is won't work.

Seriously if you want some example chat scripts & non-sarcastic help
mail me off the list.

--Andrew

-- 
sparc sun4c stuff:
	http://www.lostgeneration.freeserve.co.uk/sparc
PGP key for list@lostgeneration.freeserve.co.uk:
http://www.lostgeneration.freeserve.co.uk/list.freeserve.co.uk.asc

--=.3DYRHm.OB:zO(U
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9Tvy792pnYyyJwR8RAtjWAJ43jKtJNVppEVcDqrzWjTylsRLAiQCfT+rK
bmU6o1hrs7uawrMdBJU3lAE=
=jNOR
-----END PGP SIGNATURE-----

--=.3DYRHm.OB:zO(U--