Skip navigation

JSI Tip 0188 - How to Connect to Internet Service Providers from WinNT 4.0.

Knowledge Base article Q156569 describes the procedure for connecting to an ISP using RAS. It does not explain how to automate the process.

After successfully connecting to your ISP, record the Prompts and your responses from the terminal window. Windows NT provides two scripting methods for automating your connection, .SCP scripts or SWITCH.INF (\System32\RAS\). Here are some sample SWITCH.INF entries: (CIS-Internet is my Compuserve phonebook entry, MINDSRING and MSN are those ISP entries respectively)

\[CIS-Internet\]
COMMAND=<cr>
OK=<match>"e:"
ERROR_NO_CARRIER=<match>"NO CARRIER"
LOOP=<ignore>
COMMAND=+<cr>
OK=<match>"e:"
ERROR_NO_CARRIER=<match>"NO CARRIER"
LOOP=<ignore>
COMMAND=CIS<cr>
OK=<match>"D:"
ERROR_NO_CARRIER=<match>"NO CARRIER"
LOOP=<ignore>
COMMAND=nnnn,nnn/GO:PPPCONNECT<cr>
OK=<match>":"
ERROR_NO_CARRIER=<match>"NO CARRIER"
LOOP=<ignore>
COMMAND=YourPassword<cr>
CONNECT=<ignore>
\[MINDSPRING\]
COMMAND=
OK=<match>"ogin:"
LOOP=<ignore>
COMMAND=UserID<cr>
OK=<match>"assword:"
LOOP=<ignore>
COMMAND=YourPassword<cr>
OK=<ignore>
\[MSN\]
COMMAND=<cr>
OK=<match>"ogin:"
LOOP=<ignore>
COMMAND=MSN/UserId<cr>
OK=<match>"assword:"
LOOP=<ignore>
COMMAND=YourPassword<cr>
OK=<ignore>

Edit your phonebook and on the script tab, choose Run this script and enter the name from within the brackets as above (CIS-Internet, MINDSRING or MSN).

Now when you dial, instead of being prompted, it will log you on automatically.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish