🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54900

Re: is my pppd script correct?

#54900
From: Peter Rye
Date: Sun, 24 Aug 1997 00:00
30 lines
1804 bytes
tlang@freeway.DIALix.oz.au (Tony Langdon) writes:

> 
> It's 21 Aug 97  13:11,
> We'll return to brianzad@asan.com and All's
> discussion of is my pppd script correct?
> 
>  br> I can't get my modem to dial out.  This is the script I'm using.
>  br> /usr/sbin/pppd connect 'chat -v " " ATZ OK ATDT5551212 CONNECT " " \
>  br> ogin: xxxxx word: xxxx' \
>  br> /dev/cua1 38400 debug crtscts modem defaultroute
> 
>  br> I don't know what I'm doing wrong.  The modem just does not dial.  Any
>  br> help is appreciated.
> 
> I think some of your double quotes should be apostrophes.  Also, I
> suggest putting your script in a file, and use:

The double quotes are OK, but what you need to do is remove the
'space' between the double quotes.  You're telling chat to wait until
it receives a 'space' character before sending ATZ to the modem.  Not
surprisingly this won't work. What you need to do is tell chat to wait
for "" (ie. nothing) before sending ATZ to the modem.

-- 
Peter Rye  <prye@picu-sgh.demon.co.uk>
Consultant in Paediatric Intensive Care,  St. George's Hospital, London, UK
Ph: +44 (0)181 725 1932                            Fax: +44 (0)181 725 0089
** Smoking areas in restaurants are like peeing areas in swimming pools. **
Technical Details
Message-ID: <m3sovzlwn2.fsf@picu-sgh.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <33fba066.1456555@news2.asan.com> <ab8_9708241256@freeway.DIALix.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,81a2b8de6c08809f
X-Google-Attributes: gid102983,public
From: Peter Rye <prye@picu-sgh.demon.co.uk>
Subject: Re: is my pppd script correct?
Date: 1997/08/24
Message-ID: <m3sovzlwn2.fsf@picu-sgh.demon.co.uk>
X-Deja-AN: 268327310
X-NNTP-Posting-Host: picu-sgh.demon.co.uk [194.222.182.163]
References: <33fba066.1456555@news2.asan.com> <ab8_9708241256@freeway.DIALix.oz.au>
Organization: St. George's Hospital, Paediatric ICU
Newsgroups: aus.computers.linux