Using Windows '95(tm) to connect to Slirp

Adapted from
Frequently Asked Questions
Author: Jay Shepherd
Email: js@crl.com

Date: 04/18/95

ftp: ftp.crl.com/users/js/js/TIAWin95.faq

Modified for Slirp Users @ DocuWeb

Date: 96-12-03

Q:

OK... I've got Windows '95 installed. How do I set up the dialup adapter?

Answer:

Adding the Dial-Up Adapter to Windows 95

  1. Choose Settings from the Start menu
  2. Select Control Panel
  3. Double-click on the Network icon. A Network window will appear.
  4. If Dial-Up Adapter appears in the list labeled The following network components are installed then go to "add the TCP/IP Protocol".
  5. From the Configuration tab (the only one), choose Add to add a component.
  6. The Select Network Component Type window will appear.
  7. Choose Adapter and select Add.
  8. The Select Network adapters window will appear
  9. Under Manufacturers, select Microsoft, and you should see the Dial-Up Adapter in the right hand listbox.
  10. Double-click on the Dial-Up Adapter, or choose OK. You will now return to the Configuration tab of the Network window.

Now, we need to add the TCP/IP Protocol for the adapter.

  1. If TCP/IP appears in the list labeled The following network components are installed then go to "set the TCP/IP settings".
  2. From the Configuration tab, choose Add to add a component.
  3. The Select Network Component Type window will appear.
  4. Choose Protocol and select Add.
  5. The Select Network Protocol window will appear
  6. Under Manufacturers, select Microsoft, and you should see the TCP/IP in the right hand listbox.
  7. Double-click on the TCP/IP, or choose OK. You will now return to the Configuration tab of the Network window.

Next, we have to set the TCP/IP settings.

  1. From the Configuration tab, double click on TCP/IP or TCP/IP -> Dial-Up Adapter (both have been 'seen').
  2. The Select Network Component Type window will appear. There are six tabs (Bindings, Advanced, DNS Configuration, Gateway, WINS Configuration and IP Address)
  3. From the IP Address tab insure that Obtain an IP address automatically is selected
  4. From the DNS Configuration tab, insure that Enable DNS is selected and enter the following information:
    [text contained within square brackets is the information to be entered]
    Host [test]

    Domain [DocuWeb.ca]

    DNS Server Search Order [134.117.100.2]
    When you enter the DNS Server make you sure you click Add to add it to the list below

    Domain Suffix Search Order [DocuWeb.ca]
    When you enter the Domain Suffix make you sure you click Add to add it to the list below

  5. From the Gateway tab
    [text contained within square brackets is the information to be entered]
    New Gateway [134.117.100.1]
    When you enter the New Gateway make you sure you click Add to add it to the list below

  6. Then, click OK.

THOSE ARE THE ONLY SETTINGS THAT YOU NEED.

Finally, Choose OK from the Configuration Tab on the Network window.

Your computer will then kick and churn, and then eventually ask you to restart Windows 95. Please do this before continuing.

Q:

all right, now I've got the Dialup adapter installed. How do I dial my access account?

Answer:

Make sure that you have rebooted for the network changes to be in effect.

The drivers for SLIP are not usually installed automatically, but they are on the CDROM. So ... go to the Control Panel again from the Start-Settings menu. Next, choose Add/Remove Programs. Click the Windows Setup tab and ...

  1. select Have Disk button near bottom
  2. choose BROWSE
  3. choose CDROM drive.
  4. select \Admin\apptools\Dscript\rnaplus.inf
  5. and allow it to be installed. This will now create an entry in the Add/Remove Programs window under the Install/Uninstall tab which reads Dial-Up Scripting Tool.

There are now two things left to do. The first is to Make New Connection from the Dial-Up Networking application. This will tell the system what phone number and communications protocol to use. The second item is to associate a 'dial-in' script to this new connection which will automatically answer the questions for connecting to DocuWeb (such as user name, annex password etc.).

Q:

OK.. I've installed some software, but I still don't know what to do to dial my account!

Answer:

Almost there!

  1. Choose Start, Programs, Accessories, and then Dial-Up Networking.
  2. Click Make New Connection, and you will be prompted to go through a wizard.
  3. Name the connect, pick your modem (hopefully you've installed your modem).
  4. Click Configure and make sure the settings are correct for your modem in the General (COM port) and Connection (8 data bits, Parity None and 1 Stop Bit) tabs.
  5. From the Options tab, make sure that both Bring up terminal window before dialing and Bring up terminal window after dialing are NOT checked.
  6. Once you've got that set, click OK and you'll return to the Wizard. Click Next to continue.
  7. Enter the phone number info [520-7840] and click Next.
  8. If everything is satisfactory, click Finish.

Next we have to adjust some properties.

  1. Right click on the icon that you just made, and choose Properties. This will bring up a window with the name of the connection that you just made.
  2. Choose Server type, and you will see a Server Type window.
  3. From Type of Dial-Up Server: drop down box select SLIP: Unix Connection
  4. From Advanced Options insure that Log on to network is not selected.
  5. Insure that Software Compression and TCP/IP are checked
  6. Then, all is set, so click OK. and then OK again at the General tab.

You now have the icon you need to launch to make your connection.

Q:

How do I get it to 'automagically' log me on?

Answer

  1. Choose Start, Programs, Accessories, and then Dial-Up Scripting Tool.
  2. Select the Connection name you just created in the previous step from the Connections list
  3. Enter a script name (usually ends in .TXT) for your dial in script (suggest DocuWeb.txt)
  4. Select Edit and the Notepad window will appear.
  5. Type or copy the following script into Notepad
    ;
    ;
    proc main
    ;
    ; variable declarations
    ;
    ; the following strings should be set to your personal name(s) passwords
    ; double quotes must appear around each one.
    string dwannexuser = "**your annex user name**"
    string dwannexpw = "**your annex password**"
    string dwportpw = "**your annex port password**"
    string dwusername = "**your DocuWeb user name**"
    string dwpassword = "**your DocuWeb password**"
    string prompt = ">"
    string dwhost = "baldrick"
    string userprompt = "ogin:"
    string passprompt = "assword:"
    string annexuser = "Annex username:"
    string annexpsw = "Annex password:"
    string portpsw = "Port password:"
    string addrstring = "Slirp"
    ; now prod the terminal server
    transmit "<cr>"
    waitfor "Annex" until 30
    if $FAILURE
    then 
    ; display "Annex is not responding"\n
      halt
    endif
    waitfor annexuser until 30
    transmit dwannexuser + "<cr>"
    waitfor annexpsw until 30
    transmit dwannexpw + "<cr>"
    waitfor portpsw until 30
    transmit dwportpw + "<cr>"
    transmit "telnet " + dwhost +".DocuWeb.ca" + "<cr>"
    ;
    ; wait for user prompt
    ;
    waitfor userprompt until 60
    transmit dwusername + "<cr>"
    ;
    ; and the password
    ;
    waitfor passprompt until 30
    transmit dwpassword + "<cr>"
    ;
    ; we are now logged in. wait for the command line prompt
    ; and fake a message so that IP address can be parsed and set
    ; then start slirp
    ;
    waitfor dwhost until 30
    transmit "echo Starting " + addrstring + "<cr>"
    waitfor addrstring until 30
    waitfor dwhost until 30
    transmit "slirp" + "<cr>"
    set ipaddr getip 5
    waitfor "SLiRP Ready ..." until 30
    endproc
    
  6. Save the file
  7. From the Dial-Up Scripting Tool window insure that step through script is not selected and Start terminal screen minimized is selected.
  8. Press Apply
  9. Press OK

You have now completed the setup of Slip dial-in to DocuWeb.

Q:

OK.. I've got my Icon to dial and it's all set up, what do I do now?

Answer:

First, if you want, you can drag the Icon to the desktop, and have a shortcut so that you don't have to go through the menus.

Second, double click the icon (from the desktop or the Start-Programs-Accessories-Dialup Networking folder.

It may supply a user name and password, but just ignore it. It only makes a difference if you didn't uncheck log on network back in the properties of your connection icon.

Make sure the connection information is correct, and click connect.

Once it dials, and connects, you will get a Status window indicating the connection speed and elapsed time for this connection.