How to configure windows boxes to access the CSLAB modem pool
CSLab.scp
These instructions assume that your modem is installed properly on your Windows box.
1. Click Start -> click Control Panel -> Double-click Network Connections
2. Click New Connection Wizard
3. Click Next -> Select "Connect to the Internet" ->click Next
4. Select "Set up my connection manually" -> Click Next
5. Select "Connect using a dial-up modem" -> click Next
6. Supply identifier string for ISP name (e.g. CSLABconnection)-> Click Next
7. Supply phone number: 4169788767 -> Click Next
8. Supply your CSLAB UserName and PassWord -> click Next
9. Toggle "Add a shortcut to this connection to my desktop" -> Click Finish
If a window pops up titled "Connect CSLABconnection", cancel out of it.
Now we are at an important crossroad where you can either use a small script that we
wrote for enabling windows dial-up clients or you can chose to use a terminal window
to supply the dial-up commands manually. If you want to use the manual method, jump to
10b. and proceed as instructed. If you want to use the script method, continue on here.
For what it is worth, we recommend the use of the script. However, there may be instances
where the script won't work. When you have completed step 10a, go to step 11 (skipping 10b.).
10a Download the CSLAB.scp script from the following URL:
http://www.cs.toronto.edu/~simon/dialupscript.html
and save it as:
c:\windows\system32\ras\CSLAB.scp
Alternatively, you can copy the following ascii script into notepad and save it
as: c:\windows\system32\ras\CSLAB.scp
proc main
integer nTries = 3
string szLogin = "username:"
integer nLoginTimeout = 3
string szPW = "password:"
integer nPWTimeout = 3
string szPrompt = "annex:"
string szConnect = "ppp^M"
delay 2
transmit "^M^M"
while 0 < nTries do
waitfor szLogin then DoLogin
until nLoginTimeout
TryAgain:
transmit "^M" ; ping
nTries = nTries - 1
endwhile
goto BailOut
DoLogin:
transmit $USERID, raw
transmit "^M"
waitfor szPW until nPWTimeout
if FALSE == $SUCCESS then
goto TryAgain
endif
transmit $PASSWORD, raw
transmit "^M"
waitfor szPrompt
transmit szConnect
goto Done
BailOut:
set screen keyboard on
halt
Done:
endproc
10b. This step is for only for those doing a manual connection using a terminal window.
Double-click the desktop icon labelled CSLASBconnection
Verify that the correct number is supplied in the "Dial" box
Click properties -> click the Security tab.
Note that here there is a section labelled Interactive logon and scripting.
Ensure that "Show terminal window" is selected.
Do not select "Run script"
Next we need to add DNS entries for your dialup connection.
From the "CSLABconnection" window's properties screen,
Select "Networking" tab -> Highlight TC/IP and click Properties.
Ensure that "Obtain an IP address automatically" is selected.
Just as importantly, select "Use the following DNS server addresses" and
supply any two of the following:
128.100.2.251
128.100.3.251
128.100.2.250
128.100.3.251
Next select the Options tab, and de-select "Prompt for name and password".
Click OK
In the "CSLABconnection window", click "Dial"
After connecting, a terminal window will popup.
Supply your UserName and Password.
After authenticating, type: ppp
Hit enter, and finally click Done
At this point your machine should be registered on our network.
You can now stop reading and surf!
11. Double-click the desktop icon labelled CSLASBconnection.
12. Verify that the correct number is supplied in the "Dial" box.
13. Click properties -> click the Security tab.
Note that here there is a section labelled Interactive logon and scripting. Ensure that
"Show terminal window" is not selected.
Select instead "Run script" ->click "Browse"
14. Select cslab.scp and click Open. This should take you back to the Security window.
Next we need to add DNS entries for your dialup connection.
15. From the "CSLABconnection" window's properties screen,
Select "Networking" tab -> Highlight TC/IP and click Properties.
16. Ensure that "Obtain an IP address automatically" is selected.
Just as importantly, select "Use the following DNS server addresses" and
supply any two of the following:
128.100.2.251
128.100.3.251
128.100.2.250
128.100.3.251
Finally click OK, and click ok again.
Now you should be back at the "CSLABconnection" window
17. Make sure that both your Username and Password are entered correctly and then click Dial.
You should connect with no problem.