From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811575.tru64-unix-managers.marc@archive.invalid> From: Willig Reimund Date: Thu, 14 May 1998 06:18:17 +0000 To: tru64-unix-managers Subject: SUMMARY:chat script X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811575 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