Use your text editor to create an executable chat program, such as the previous example.
Make the chat program executable.
# chmod +x /etc/ppp/chatprogram
Invoke the chat program.
Chat programs do not have to be located within the /etc/ppp file system. You can store chat programs in any location.