;

; This is a script file

; To establish a PPP connection with the CCNA Host

 

; Name it “CCNA.scp”, Store it and Call it from your dialup program.

;

 

; A script file must have a 'main' procedure.

; All script execution starts with this 'main'

; procedure.

;

 

; Main entry point to script

;

 

proc main

 

      ; Wait for the username prompt

 

      waitfor "username:"

      transmit "calcna"

      transmit "^M"

 

      ; Wait for the user password prompt

 

      waitfor "password:"

      transmit "calcna"

      transmit "^M"

 

      ; Wait for the login prompt before entering

      ; the user ID

 

       waitfor "login:"

      transmit $USERID

      transmit "^M"

 

 

      ; Enter the password

 

      waitfor "Password:"

      transmit $PASSWORD

      transmit "^M"

     

      ; Choose PPP connection

 

      waitfor "2) PPP:"

      transmit "2"

      transmit "^M"      

 

      ; Finish

 

      waitfor "SLiRP Ready"

      transmit "^M"

 

endproc