home *** CD-ROM | disk | FTP | other *** search
/ Everyones Internet / EV1NET.ISO / pc / data / 1062.scp < prev    next >
Encoding:
Text File  |  1997-04-21  |  944 b   |  47 lines

  1. ;
  2. ; This is a script file that demonstrates how
  3. ; to establish a PPP connection with ECHO.
  4. ;
  5. ; You must configure your Windows 95 Dial-Up Networking
  6. ; folder as per instructions given in the Help files.
  7. ;
  8. ; Then using the utility DSCRPT which is available on the CD Rom
  9. ; version of Windows 95 or on Echo in /echo/utils/pc/dscrpt.exe
  10. ; (which is a self extracting exe), assign the file echoppp.scp
  11. ; to your ECHO Dial-Up folder. 
  12. ;
  13. ;
  14. ;
  15. ;
  16.  
  17.  
  18. ; Main entry point to script
  19. ;
  20. proc main
  21.  
  22.    ; Delay for 3 seconds first to allow host time
  23.    ; to send initial characters.
  24.  
  25.    delay 3
  26.    transmit "^M"
  27.  
  28.    ; Wait for the login prompt before entering
  29.    ; the user ID
  30.  
  31.    waitfor "echonyc login:"
  32.    transmit $USERID
  33.    transmit "^M"
  34.  
  35.    ; Enter the password
  36.  
  37.    waitfor "Password:"
  38.    transmit $PASSWORD
  39.    transmit "^M"
  40.  
  41.  
  42.    waitfor "Service?"
  43.  
  44.    transmit "ppp^M"       ; Choose PPP connection
  45.  
  46. endproc
  47.