SUMMARY:chat script

From: Willig Reimund <Willig.Reimund_at_gdr.de>
Date: Thu, 14 May 1998 08:18:17 +0200

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
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üßen
     Reimund Willig
 willig.reimund_at_gdr.de
Received on Thu May 14 1998 - 08:20:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT