Members
News
Clothing
The Room
Class Ring
PPP Script
Links

Memorial University of Newfoundland

Dept. of Computer Science

Configuring a PPP Client

Gary Piercey (gpiercey@morgan.ucs.mun.ca)

4-Mar-1999


 

Preface:

We have recently re-configured our PPP server to use "Password Authentication Protocol" (PAP) to authenticate logins. In the past we needed a script to complete the authentication process but the script will no longer be required.

Client configuration instructions for Windows 95/98 and Linux can be found in this document. If there are any sections of this document than you think can be improved or if I failed to include some details please email me at gpiercey@morgan.ucs.mun.ca with your suggestions.

Windows 95/98 Configuration Instructions:

Windows 95 Users Note:
You should seriously consider upgrading your Dial-Up Networking to version 1.3. There are a few problems with the original version that do not exist in version 1.3. Version 1.3 will also allow scripting from the same window, rather than using the "Dial-Up Scripting" separately as in earlier versions. The file you need is called msdun13.exe and you can find it at the URL:

http://www.microsoft.com/windows95/downloads/default.asp

Windows 95 Users Also Note:
All instructions in this document will assume you are using version 1.3 and no instructions will be included for earlier versions. To install version 1.3, simply download the file to a temporary directory of your choice. Open your "Windows Explorer" or "File Manager", open your temporary directory, double click the file msdun13.exe and follow the directions on the screen.

Windows 98 Users Note:
There is no need to update your Dial-Up Networking.

Creating the Connection

  • Open Dial-Up Networking
    1. Click the Start button
    2. For Windows 95 Choose:
      Programs ~ Accessories ~ Dial-Up Networking
    3. For Windows 98 Choose:
      Programs ~ Accessories ~ Communications ~ Dial-Up Networking

  • Create a new dial-up connection
    1. Double click Make New Connection
    2. Name your connection MUN CS PPP01 or something similar
    3. Be sure your modem is selected in the device selection box
    4. Click the Next button
    5. Type in one of the following phone numbers:
      1. 737-8002
      2. 737-8006
      3. 737-7985
    6. IF you have the Call Waiting service on your phone line you will need to precede the phone number with *70,
      Example: *70,737-8002
    7. Select the appropriate country code Canada
    8. Click the Next button
    9. Confirm the name of your connection & click the Finish button

    NOTE:
    Now that the new connection exists we have to edit the properties of the connection and configure it accordingly.

  • With your mouse, use the right button and click once on the connection you named MUN CS PPP01. A window will appear and you will find an option at the bottom of the menu called Properties which you should click once.

    NOTE:
    You should now see 4 tabs across the top of the properties window. They are:

    1. General
    2. Server Types
    3. Scripting
    4. Multilink
    You will not need to use the Scripting or the Multilink tabs so just ignore those two tabs completely.

  • Click the General tab
    1. Confirm that the phone number is correct
    2. Confirm that the country code is correct
    3. The Use Area Code and Dialing Properties check-box should be selected
    4. Confirm that the correct modem is selected

  • Click the Server Types tab
    1. Select PPP for the Type of Dial-Up server selection box
    2. In the Advanced Options group box
      1. De-select the Log on to Network check-box
      2. Select the Enable software compression check-box
      3. De-select the Require encrypted password check-box
      4. De-select the Require data encryption check-box
      5. De-select the Record a log file for this connection check-box

  • In the Allowed Network Protocols group box
    1. De-select the NetBEUI protocol
    2. De-select the IPX/SPX Compatible protocol
    3. Select the TCP/IP protocol

  • Click the TCP/IP Settings button
    1. Select the Server Assigned IP Address radio-button
    2. Select the Server Assigned Nameserver Addresses radio-button
    3. Select the Use IP header compression check-box
    4. Select the Use default gateway on remote network check-box
    5. Click the OK button

  • Click the OK button again and you will be left with the Dial-Up Networking window again with your configured connection. You can repeat these steps again for another phone number (ie. connection) if you wish. The steps are identical except you have to use a different name for the connection and a different phone number.

    NOTE:
    Now you can dial the Computer Science modem pool and use PPP by double clicking on the new connection that you just created. You will be prompted for a username and password. You must use the username and password assigned to you by the Computer Science Department. No other username or password will work.

Linux RedHat 5.2 Configuration Instructions

Ok, heres the deal. I wrote a script that will do the job but it is not secure so I decided that we can use kppp, an application that comes with the kde distribution. It is very similar to Dial-Up Networking in Windows 95/98 so it shouldn't be very complicated for most people.

Obtaining Kppp

You should be aware that some of the kde and QT libraries are required by kppp but you do not need to install all of the kde package to use kppp. This is useful to know if you are not a fan of kde or if space is at a premium on your hard drive.

Installing Kppp

    NOTE:
    The instructions in this section assumes that you are logged in as root. You need to be root to install the rpms, otherwise it just won't work.

  • Install the rpms
    1. Install the listed rpms in the order listed above
    2. Use: rpm -U
      Example: rpm -U qt-1.42-3rh51.i386.rpm
      The -U will do an upgrade of the package, checking all dependencies and it will complain if the version installed is newer or if the dependencies are not met.

  • Running kppp
    1. Ensure that /opt/kde/bin is in your path
    2. Run it with the command kppp

Configuring kppp

    NOTE:
    Instructions in this section assume that you are running kppp as the account which you intend to run ppp from. I suggest running it from your own account rather than the root account.

  • After kppp is running, click the Setup button.
    1. You will see a window with tabs labelled Accounts, Device, Modem, PPP, Graph, and About.

  • Click the Device Tab
    1. Set your modem device to the appropriate option
      1. /dev/ttyS0 for modems on COM1
      2. /dev/ttyS1 for modems on COM2
      3. /dev/ttyS2 for modems on COM3
      4. /dev/ttyS3 for modems on COM4
    2. Set flow control to CRTSCTS
    3. Set line termination to CR/LF
    4. Set connect speed to 57600
    5. Select the use lock file check box
    6. Set modem timeout to 60 seconds

  • Click the Modem Tab
    1. Set busy wait to 0 seconds
    2. De-select the modem asserts CD line check box
    3. if you want to check and ensure that your modem is working fine you can click the button Query Modem.

  • Click the PPP Tab
    1. Set the pppd timeout to 30 seconds
    2. De-select Dock into panel on connect
    3. De-select Automatic re-dial on disconnect
    4. Select Show clock on caption
    5. Select Disconnect on X-server shutdown
    6. Select Quit on disconnect
    7. Select Minimize window on connect

  • Click the Accounts tab
    1. Click the New button
      1. You will see another window appear with tabs across the top; Dial, IP, DNS, Gateway, Login Script, Accounting.
    2. Click the Dial tab
      1. In the Connection name box type the name of your connection. Call it MUN CS PPP01 or something similar.
      2. In the Phone number box type one of the following numbers:
        1. 737-8002
        2. 737-8006
        3. 737-7985
      3. Choose PAP as your authentication type
      4. You can choose to store your password or not by selecting or de-selecting the check box.
    3. Click the IP tab
      1. Select the Dynamic IP Address radio button
      2. De-select Auto-configure hostname from this ip checkbox.
    4. Click the DNS tab
      1. Use cs.mun.ca for the domain name
      2. Add the following addresses to the DNS IP Address list:
        1. 134.153.1.1
        2. 134.153.2.90
      3. Select the Disable existing DNS servers during connection checkbox
    5. Click the Gateway tab
      1. Select the radio button for Default Gateway
      2. Select the checkbox to Assign default route to this gateway
      NOTE:
      Now that kppp is configured for one connection you can follow the same steps to configure more connections. You can use scripts to do this but they are not as straightforward and much less secure. I suggest using this application for ppp dialup in Linux.



Last modified: March 6 1999