home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / internet / net commander 1.0 / ISP / SCRPTLST / USNET.CMD < prev    next >
Encoding:
Text File  |  1996-02-15  |  1.9 KB  |  77 lines

  1. #*******************************************************************
  2. # This modem chat script has been specially configured for the file
  3. # Trumpet winsock.dll, allowing it to work with US Net's advanced
  4. # Internet gateway services.
  5. #
  6. # NOTE: If you are having problems, remove the '#' in front of the
  7. # 'trace on' statement below.  It will display the script as it
  8. # is executed.
  9. #
  10. # This file is generated by the USNET.EXE utility, version 2.0.
  11. #*****************************************************************
  12. # trace on
  13. #
  14. # Initialize the modem.  The \13 is a carraige return character.
  15. #
  16. output ATZE1Q0V1S2=43\13
  17. input 10 OK
  18. sleep 1
  19. # The next line is for USR Courier modems *only*
  20. # output AT&FB0L2X4&B1&H1&R2E0V1S11=55\13
  21. # The next line is for USR Sportster modems *only*
  22. # output AT&F1\13
  23. # The next line is for Hayes Compatible modems *only*
  24. output AT&C1&D2&S0\13
  25. input 10 OK
  26. #
  27. # Dial the phone to connect to US Net and wait for the modem
  28. # to say CONNECT.
  29. #
  30. output ATDT847-1103\13
  31. input 100 CONNECT
  32. #
  33. # Wait for DCD (carrier detect) to go active on the modem before
  34. # continuing ... some modems will hang up if you don't wait.
  35. #
  36. wait 30 dcd
  37. sleep 4
  38. #
  39. # Wakeup the server with a couple of line feeds with 1 second pauses.
  40. #
  41. output \13
  42. sleep 1
  43. output \13
  44. sleep 1
  45. #
  46. # Look for the login prompt and send the userid.
  47. #
  48. input 30 ogin:
  49. sleep 1
  50. output USERNAME\13
  51. #
  52. # Look for the password prompt and send the password.
  53. #
  54. input 30 word:
  55. sleep 1
  56. output PASSWORD\13
  57. #
  58. # We are now logged in, look for usnet> prompt.
  59. #
  60. input 30 net>
  61. sleep 1
  62. #
  63. # Jump into slip mode and look for the response coming back from
  64. # the server "Packet mode enabled".  We can then go online.
  65. #
  66. output slip\13
  67. input 30 abled
  68. sleep 1
  69. online
  70. #
  71. # Use BOOTP to obtain the IP address.
  72. #
  73. sleep 1
  74. bootp
  75. sleep 1
  76. display Script completed.
  77. # ** End of script **