stason.org logo lotus


previous page: 4B-2: Where do I configure the TCP/IP settings for SLIP connections?page up: Windows NT Internet FAQnext page: 4B-4: How do I automate my slip/ppp login using the switch.infscript language?

4B-3: Example login scripts for various Internet providers

 Books
 TULARC
















Description

This article is from the Windows NT Internet FAQ, by sscoggin@enet.net (Steve Scoggins) with numerous contributions by others.

4B-3: Example login scripts for various Internet providers


Example login script for MCS.Net in Chicago

Macro Computer Solutions (MCS-DOM)
3217 N. Sheffield
Chicago, IL 60657
(312) 248-8649

Domain Name: MCS.COM, MCS.NET
Administrative Contact, Technical Contact
Denninger, Karl karl@MCS.NET

substitute your username and password in place of the USERNAME
and PASSWORD The MCS net server uses the commands login and
password; if your's uses different words, substitute as needed.


Here's the MCS.NET script thanks to Walter S. Arnold
(sculptor@mcs.net) switch.inf file, pretty basic but it works
with both PPP and Slip.

[McsNet, SLIP]

COMMAND=<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<match>"login:"

COMMAND=sculptor<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<match>"Password:"

COMMAND=*************<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
CONNECT=<match>"Packet mode enabled"
;ERROR_DIAGNOSTICS=<cr><lf><Diagnostics>

; CONNECT response means that the connection completed fine.
; ERROR_DIAGNOISTICS response means connection attempt failed
; DIAGNOSTIC information will be extracted from the response
; and sent to the user.
; ERROR_NO_CARRIER means that the remote modem hung up.
; ERROR resonses are for generic failures.



 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

pc, OS, TCP/IP, Windows NT, SLIP, PPP, RAS







TOP
previous page: 4B-2: Where do I configure the TCP/IP settings for SLIP connections?page up: Windows NT Internet FAQnext page: 4B-4: How do I automate my slip/ppp login using the switch.infscript language?