home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April A / Pcwk4a98.iso / Wtestowe / OnNet16 / DIALUP.SCR < prev    next >
Text File  |  1996-02-26  |  3KB  |  94 lines

  1. ;        DIALUP.SCR
  2. ;
  3. ; Use this template with the COMSCRPT command and Hayes compatible modems.  
  4. ; You must change the phone number, username, and password.
  5. ; If you change a modem command prefix, be sure to use uppercase characters.
  6. ;
  7. ; "AT" is the Hayes initialization string.  For other modems, consult your
  8. ; modem documentation and change if necessary.  Be sure to include a
  9. ; command (such as "&C1") that raises the Data Carrier Detect (DCD)
  10. ; when establishing a connection.  The following specific examples
  11. ; may serve as starting points:
  12. ;
  13. ; Note: Your initialization string may need to contain &D0 (ignore DTR)
  14. ; if you are planning on connecting in DOS and then going into Windows
  15. ; to run the Windows-based applications.  Please consult your modem
  16. ; documentation for further details on using the &D<x> commands.
  17. ;
  18. ; To operate a Telebit Qblazer in V.32 transmission mode (9600 baud):
  19. ; send AT&F&C1S48=1S50=0S51=4S58=2\r
  20. ;
  21. ; To operate a Telebit T2500 in V.32 transmission mode (9600 baud):
  22. ; send AT&FS48=1S50=0S51=4S58=2S61=100S66=1S131=1\r
  23. ;
  24. ; To operate a Telebit T3000 in V.32 transmission mode (9600 baud):
  25. ; send AT&F&C1S48=1S50=0S51=4S58=2\r
  26. ;
  27. ; To operate a modem which supports the Hayes Command Set with 
  28. ;    command extensions:
  29. send AT&F&C1\r
  30. ;
  31. ; Leave this first pause time at 1 second (the minimum time possible).
  32. ;
  33. pause 1
  34. ;
  35. ; "ATDT" is the Hayes touch-tone dialing prefix.  Replace "5551212"
  36. ; (and "230") with the phone number (and extension) of the remote site.  
  37. ; (The commas indicate a four-second pause before dialing the extension;
  38. ; add more commas for a longer pause.)
  39. ;
  40. send ATDT5551212,,,,230\r
  41. ;
  42. ; Pause to confirm that the physical layer is open
  43. ;
  44. poll physical open
  45. ;
  46. ; For most situations, a 8 second pause should suffice for the remote
  47. ; system to respond with a login prompt.  Change if necessary.
  48. ;
  49. pause 8
  50. ;
  51. ; Replace "username" with your SLIP or PPP login name (which may be
  52. ; different from your username on the remote system).
  53. ;
  54. send username\r
  55. ;
  56. ; For most situations, a 4 second pause should suffice for the remote
  57. ; system to respond with a password prompt.  Change if necessary.
  58. ;
  59. pause 4
  60. ;
  61. ; Replace "password" with your SLIP or PPP password (which may be
  62. ; different from your password on the remote system).
  63. ;
  64. send password\r
  65. ;
  66. ; For most situations, a 2 second pause should suffice for the remote
  67. ; system to respond to your password.  Change if necessary.
  68. ;
  69. pause 2
  70. ;
  71. ; Switch the packet driver from character mode to packet mode.
  72. ;
  73. changemode packet
  74. ;
  75. ; Send a request to open the LCP layer
  76. ;
  77. ; Note: Comscrpt ignores the following 3 commands if the SLIP kernel
  78. ;    (SLPDRV) is being used because SLIP does not have lcp and ipcp
  79. ;    layers.  If using SLIP the presence or absence of these commands
  80. ;    will not have an adverse effect.
  81. ;
  82. signal lcp open
  83. ;
  84. ; Pause to confirm that the lcp and ipcp layers are open.
  85. ;
  86. poll lcp open
  87. poll ipcp open
  88. ;
  89. ; To set DTR off, add the following line to your script:
  90. ; dtr 0
  91. ;
  92. ; To set DTR on, add the following line to your script:
  93. ; dtr 1
  94.