home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / ppp / examples / scripts / ppp-on-dialer < prev    next >
Encoding:
Text File  |  1995-10-16  |  397 b   |  18 lines

  1. #!/bin/sh
  2. #
  3. # This is part 2 of the ppp-on script. It will perform the connection
  4. # protocol for the desired connection.
  5. #
  6. exec chat -v                        \
  7.     TIMEOUT        3                \
  8.     ABORT        '\nBUSY\r'            \
  9.     ABORT        '\nNO ANSWER\r'            \
  10.     ABORT        '\nRINGING\r\n\r\nRINGING\r'    \
  11.     ''        \rAT                \
  12.     'OK-+++\c-OK'    ATH0                \
  13.     TIMEOUT        30                \
  14.     OK        ATDT$TELEPHONE            \
  15.     CONNECT        ''                \
  16.     ogin:--ogin:    $ACCOUNT            \
  17.     assword:    $PASSWORD
  18.