tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Willig Reimund <Willig.Reimund () gdr ! de>
To: tru64-unix-managers
Subject: SUMMARY:chat script
Date: Thu, 14 May 1998 06:18:17 +0000	[thread overview]
Message-ID: <96078708811575.tru64-unix-managers.marc@archive.invalid> (raw)

Hallo,
many thanks again for your help:

original question:
how has a chat script has to look like if i want to establish a
connection over ppp. I.e: do i have to write it all in one line,
separted by commata or what?


solution:
1. its is not necessary to write all in one line. One could separate the
lines as followes:
TIMEOUT        10 \
ABORT          BUSY \
ABORT          	ERROR

the last line does not end on a slash!!!!

2. here is an example of how to fire up pppd, which comes from David J.
DeWolfe (thank you!):

#!/bin/bash=20
echo "Starting ppp"
echo ""
/usr/sbin/pppd connect '/usr/sbin/chat -v "" ATDT5551212 BIS "" name\>
userid word\> password \> "c ppp"' /dev/cua0 38400 -detach debug crtscts
modem defaultroute

Obviously, replace 5551212 with the phone number you want to dial,
replace
"userid" with your id, and replace "password" with your password.




mit freundlichen Gr=FC=DFen
     Reimund Willig
 willig.reimund@gdr.de

                 reply	other threads:[~1998-05-14  6:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox