home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / HATCH / PPPPRJ12.ZIP / DIAL.INI next >
Text File  |  1996-06-22  |  1KB  |  39 lines

  1. # DIAL.PPP
  2. # This is the dialing script for Merit's EtherPPP driver.
  3. # As you see, it's not a very robust scripting language!
  4. #
  5. # Delay for 3 seconds before initializing the modem.
  6. recv 3000
  7. send "ATZ\r"
  8. recv 5000 "OK"
  9. #
  10. # Dial the ISP's access number and wait 30 seconds for CONNECT message
  11. # The 'recv 30000 "CONNECT" line is 30 seconds timeout value for BUSY,
  12. # NO DIALTONE, etc.  Merit doesn't respond neatly to those conditions,
  13. # but you can set the redial attempts in NET.INI.
  14. send "ath0dt4107201020\r"
  15. recv 30000 "CONNECT"
  16. recv 3000
  17. #
  18. # Send a couple <RETURNS> to wake up the terminal server
  19. send "\r\r"
  20. #
  21. # Wait for the login and password prompts and send your name/password in
  22. # response.  This is most likely where you will need to customize.
  23. recv 20000 "ogin:"
  24. recv 2000
  25. #
  26. # Change this to your ISP account username
  27. send "yourname\r"
  28. #
  29. recv 10000 "assword:"
  30. recv 2000
  31. #
  32. # Change this to your ISP account password
  33. send "yourpass\r"
  34. #
  35. # My ISP goes directly to a PPP session upon connect, so I look for 'PPP'
  36. # to make sure I'm there.  You might need to script beyond this, e.g. sending
  37. # "PPP\r", if navigating from a command shell prompt.
  38. recv 3000 "PPP"
  39.