Before the dial-out machine can initiate a PPP link, you must collect information about the dial-in server to become the peer. Then, you use this information to create the chat script, which describes the actual conversation between the dial-out machine and the peer.
Determine the speed at which the dial-out machine's modem needs to run.
For more information, see Configuring the Modem Speed.
Server's telephone number
Authentication protocol that is used, if appropriate
Login sequence that is required by the peer for the chat script
Obtain the names and IP addresses of name servers at the dial-in server's site.
Put instructions for initiating calls to the particular peer in a chat script.
SAY "Calling the peer\n" TIMEOUT 10 ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT "" AT&F1&M5S2=255 TIMEOUT 60 OK ATDT1-123-555-1234 CONNECT \c SAY "Connected; logging in.\n" TIMEOUT 5 ogin:--ogin: pppuser TIMEOUT 20 ABORT 'ogin incorrect' ssword: \qmypassword "% " \c SAY "Logged in. Starting PPP on peer system.\n" ABORT 'not found' "" "exec pppd" ~ \c
You do not invoke the chat script directly. Rather, you use the file name of the chat script as an argument to the connect option, which invokes the script.
If a peer runs Solaris or a similar operating system, consider using the previous chat script as a template for your dial-out machines.