tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:chat script
@ 1998-05-14  6:18 Willig Reimund
  0 siblings, 0 replies; only message in thread
From: Willig Reimund @ 1998-05-14  6:18 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-14  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-14  6:18 SUMMARY:chat script Willig Reimund

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