home *** CD-ROM | disk | FTP | other *** search
/ ftp.cc.umanitoba.ca software / ftp.cc.umanitoba.ca-software-.zip / ftp.cc.umanitoba.ca-software- / mac_network / macppp.txt < prev    next >
Text File  |  2017-03-02  |  23KB  |  542 lines

  1.      Installing MacPPP --TCP/IP Access Over Serial Lines
  2.   University of Michigan
  3.   Merit Network, Inc.
  4.   June 1993
  5.  
  6.  (c) 1993 by Merit Network, Inc. and The Regents of the
  7.  University of Michigan.
  8.  
  9.  MacPPP was developed at, and is copyrighted by, the Merit
  10.  Network, Inc. and the University of Michigan. Merit and the
  11.  University of Michigan grant an unlimited license for use and
  12.  redistribution of the executable program provided that it is not
  13.  sold for profit, either as is or as part of another product.
  14.  Charges to recover the cost of duplication and distribution are
  15.  permitted. MacPPP is offered "as is"-neither Merit nor the
  16.  University of Michigan make any guarantees about the performance
  17.  or reliability of the software.
  18.  
  19.  Acknowledgements
  20.  
  21.  The PPP core software engine is based on public domain code
  22.  written by William Allen Simpson, taken from KA9Q. All
  23.  modifications to the PPP core software engine necessary to
  24.  develop MacPPP and bring the implementation to compliance with
  25.  RFCs 1331, 1332, and 1334 have been performed by Merit Network,
  26.  Inc. and the University of Michigan.
  27.  
  28.  In recognition of his original work, William Allen Simpson has
  29.  been granted copyright for the PPP core software engine. The TCP
  30.  header compression routines used in MacPPP were written by Van
  31.  Jacobsen and are Copyright 1989 Regents of the University of
  32.  California. These routines were heavily modified by Katie
  33.  Stevens and William Allen Simpson.
  34.  
  35.  Primary development of MacPPP at Merit Network, Inc. and the
  36.  University of Michigan was performed by Larry J. Blunk. Eric
  37.  Schneider wrote many of the "LAP" interface routines necessary
  38.  for a MacTCP mdev, as well as additional support code. Glenn
  39.  McGregor provided additional code, as well as valuable input on
  40.  the project. Many other individuals also provided input, and
  41.  their support is appreciated.
  42.  
  43.  Table of Contents
  44.  
  45.      Acknowledgements 3
  46.      1. About MacPPP
  47.      2. Getting Started
  48.         2.1 Copying MacPPP to Your Macintosh
  49.         2.2 Documentation
  50.      3. Configuration
  51.         3.1 Config PPP Control Panel
  52.             PPP Up/Down
  53.             Open/Close PPP
  54.             Statistics   
  55.             Port Name   
  56.             Idle Timeout   
  57.             Echo Interval   
  58.             Terminal Window   
  59.             Hangup on Close    
  60.             Tone/Pulse Dial
  61.             PPP Server
  62.      3.2 Configure Server Dialog Box
  63.             PPP Server Name
  64.             Port Speed 
  65.             CTS (Clear To Send) Flow Control 
  66.             Phone number 
  67.             Modem Init 
  68.             Modem connect timeout 
  69.      3.3 Connect Script Dialog Box
  70.             Wait timeout
  71.      3.4 Authentication Dialog Box
  72.             Authorization ID and Password
  73.             Retries
  74.             Timeout
  75.      3. LCP and IPCP Options Dialog Boxes
  76.      4. MichNet Dial-in Numbers
  77.  
  78.  1. About MacPPP
  79.  
  80.  MacPPP is a Macintosh implementation of PPP, the Point-to-Point
  81.  Protocol, which allows you to use TCP/IP (Transmission Control
  82.  Protocol/Internet Protocol) over asynchronous serial lines.
  83.  MacPPP makes it possible for your Mac to act as a host on the
  84.  Internet, and, therefore, as a peer with other host computers
  85.  around the world. This means that you can use telnet, FTP,
  86.  Gopher and WAIS clients, and other services directly from your
  87.  Macintosh.
  88.  
  89.  To use MacPPP, you must be dialing into a terminal server that
  90.  is capable of supporting PPP, such as a Merit/MichNet Secondary
  91.  Communications Processor.
  92.  
  93.  MacPPP works with applications that use MacTCP, such as NCSA
  94.  Telnet and VersaTerm 4.6 and higher. MacTCP is Apple's control
  95.  panel device that provides a standard network interface for
  96.  TCP/IP applications.
  97.  
  98.  MacPPP 1.1 is a Line Access Protocol (LAP mdev) driver for
  99.  MacTCP. This version does not support AppleTalk over PPP.
  100.  
  101.  MacPPP requires MacTCP 1.1 or higher, Macintosh System 6.0.5 or
  102.  higher, and a Hayes-compatible modem for dial-in connections.
  103.  You can also use MacPPP over hardwired, asynchronous
  104.  connections, but the University of Michigan discourages the use
  105.  of these connections in favor of connections to Ethernet local
  106.  area networks.
  107.  
  108.  Note that using the TCP/IP protocols adds a certain amount of
  109.  overhead to your communications sessions. The additional
  110.  overhead isn't a problem when you are working at higher
  111.  communications speeds, but may slow down communications
  112.  considerably with slower modems, or when you are using certain
  113.  software applications.
  114.  
  115.  2. Getting Started
  116.  
  117.  Once you have finished installing and configuring MacPPP, as
  118.  described below, your dial-in TCP/IP sessions will be handled
  119.  automatically. You'll simply click on the 'Open PPP' button on
  120.  the Config PPP Control Panel or start up a software application
  121.  that uses MacTCP. Your modem will dial automatically. You can
  122.  then enter your password and proceed with your dial-up session.
  123.  
  124.  To configure MacPPP, you must change several settings on the
  125.  Config PPP control panel and the Configure Server dialog box. If
  126.  you are a MichNet user, you may also want to enter your
  127.  authorization code in the Authorization dialog box. All the
  128.  other settings are optional.
  129.  
  130.  2.1 Copying MacPPP to Your Macintosh
  131.  
  132.  MacPPP is available for anonymous FTP on the host merit.edu in
  133.  the file:
  134.  
  135.       /pub/ppp/macppp1.1.hqx
  136.  
  137.  This file is stored in an archived and compressed format, and
  138.  must be decompressed after you copy it to your Macintosh. The
  139.  file /mac/00introduction on the host mac.archive.umich.edu
  140.  explains how to decompress the file.
  141.  
  142.  Once decompressed, MacPPP consists of a System Extension with
  143.  the filename 'PPP' and a control panel device with the filename
  144.  'Config PPP'. On System 7.0 machines, these files should go in
  145.  the Extensions and Control Panels folders, respectively. Once
  146.  you have opened the Config PPP control panel, MacPPP will create
  147.  a file called 'PPP Preferences' in the Preferences folder. The
  148.  PPP Preferences file is required for the PPP LAP driver.
  149.  
  150.  On System 6.x machines, the 'PPP' and 'Config PPP' files should
  151.  go in the System folder. Once you have opened the Config PPP
  152.  control panel, MacPPP will create a file called 'PPP
  153.  Preferences' in the System folder.
  154.  
  155.  After you have installed the system extension and the control
  156.  panel, reboot your machine.
  157.  
  158.  2.2 Documentation
  159.  
  160.  Two documentation files are included when you download the
  161.  file /pub/ppp/macppp1.1.hqx from merit.edu and decompress the
  162.  file. The first file, 'changes,' contains information on changes
  163.  included in the latest version of MacPPP. The second file,
  164.  /pub/ppp/macppp.txt, contains an ASCII (plain text) version of
  165.  the document you're reading now. A third file,
  166.  /pub/ppp/macppp.ps, contains a PostScript version of the
  167.  document you're reading now.
  168.  
  169.  3. Configuration
  170.  
  171.  Follow the steps below to configure MacPPP. Once you've
  172.  completed configuration, you can begin your PPP session either
  173.  by clicking on the 'Open PPP' button on the Config PPP Control
  174.  Panel or by launching an application that uses MacTCP.
  175.  
  176.    1. On System 7.0 machines, select the MacTCP control panel icon
  177.    and click on 'More ...' On System 6.x machines, under the Apple
  178.    Menu, select 'Control Panel.' Then select MacTCP from the
  179.    control panel window, and click on 'More ...'
  180.    
  181.    Set up MacTCP for server addressing by selecting "server" under
  182.    "Obtain Address". Do not select dynamic or manual (static)
  183.    addressing. In most cases, the local terminal server will assign
  184.    you a TCP/IP address. Click on the 'OK' button to save your
  185.    changes. You do not need to enter a gateway or TCP/IP address.
  186.    
  187.    If for some reason you need to statically assign an IP address,
  188.    use MacPPP's IP Control Protocol (IPCP) option button on the
  189.    Configure Server dialog box. Note, however, that PPP will not
  190.    open the connection if the terminal server is not willing to
  191.    negotiate the address you have selected. In general, it is
  192.    preferable to let the terminal server provide the IP address by
  193.    leaving the address at the default setting, 0.0.0.0, in the IPCP
  194.    dialog box.
  195.  
  196.    2. Select the PPP icon in the MacTCP control panel.
  197.    
  198.    3. On System 7.0 machines, select the Config PPP control panel
  199.    icon. On System 6.x machines, under the Apple Menu, select
  200.    Config PPP from the control panel window to bring up the Config
  201.    PPP control panel.
  202.  
  203.  3.1 Config PPP Control Panel
  204.  
  205.  The Config PPP Control Panel leads to several dialog boxes and
  206.  windows that you'll use to configure MacPPP.
  207.  
  208.  You can use the control panel to begin and end your PPP
  209.  sessions. The only parameters you need to set are the Port Name
  210.  and your phone type-tone dial or pulse dial. To enter the phone
  211.  number you want to dial, go to the Configure Server dialog box,
  212.  described in section 3.2.
  213.  
  214.  Other parameters can also be used to customize MacPPP. These
  215.  optional settings are described below.
  216.  
  217.  PPP Up/Down
  218.    This icon indicates the current state of the driver-more
  219.    specifically, the PPP IP Control Protocol. 'Open' indicates that
  220.    PPP is ready for IP traffic. 'Down' indicates that it is not yet
  221.    ready for TCP/IP traffic.
  222.  
  223.  Open/Close PPP
  224.    Click on these buttons to open and close your PPP session, once
  225.    you've configured MacPPP.
  226.    
  227.    Click on 'Close' to close your PPP session if you want to use
  228.    your serial port to run a traditional asynchronous program, such
  229.    as a terminal emulator. Click on 'Open' to manually re-open your
  230.    PPP session in order to use PPP again.
  231.  
  232.  Statistics
  233.    When you click on this button, a dialog box with a set of
  234.    counters appears. Click on the Update button on the Statistics
  235.    dialog box to show the current value of the counters and the
  236.    current state of all supported PPP options. These options are
  237.    documented in the PPP RFCs (e.g., RFC 1331). The RFC (Request
  238.    for Comment) series is available for anonymous FTP on the host
  239.    nic.merit.edu in the /documents/rfc directory.
  240.  
  241.    Most users will not need to use the Statistics dialog box.
  242.  
  243.  Port Name
  244.    The Port Name pop-up menu allows you to select the modem port,
  245.    printer port, or any other serial ports registered with the
  246.    Communications Toolbox. (The Communications Toolbox is included
  247.    with System 7.0, and optional on System 6.x machines.) On some
  248.    Macintoshes with an internal modem, you'll only be presented
  249.    with an "internal modem" option on the pop-up menu.
  250.    
  251.    The default is the modem port. If you have registered other
  252.    ports, MacPPP will use the Communications Toolbox to
  253.    automatically obtain their names and the names of associated
  254.    drivers.
  255.  
  256.  Idle Timeout (minutes)
  257.    You can use the Idle Timeout pop-up menu to configure MacPPP so
  258.    that if your PPP session remains idle for a specified amount of
  259.    time, MacPPP will bring up an alert box asking you if you want
  260.    to close the session. You can either close the session or ignore
  261.    the message.
  262.    
  263.    Leave the setting at None, the default, if you don't want to set
  264.    a timeout interval. If you want to set a timeout interval, click
  265.    on the pop-up menu and select a timeout interval from 5 to 120
  266.    minutes.
  267.  
  268.  Echo Interval (seconds)
  269.    MacPPP uses a PPP packet called the "LCP (Line Control Protocol)
  270.    echo request" to determine if your connection has been dropped.
  271.    MacPPP sends the requests at the interval you specify; if the
  272.    terminal server does not respond after 3 successive requests,
  273.    MacPPP assumes that the link is down.
  274.    
  275.    If you leave the Echo Interval pop-up menu set off-the
  276.    default-MacPPP will not send out any echo requests. If you want
  277.    MacPPP to send out echo requests, click on the pop-up menu to
  278.    specify the interval at which MacPPP should send out echo
  279.    requests-from 2 to 20 seconds.
  280.  
  281.  Terminal Window
  282.    Click on this box to bring up a basic terminal emulator, which
  283.    will appear when MacPPP is connecting with the local terminal
  284.    server. You can then use the terminal emulator to manually type
  285.    any commands needed to put the terminal server into PPP mode.
  286.    Once you have entered these commands, click the 'OK' button to
  287.    start your PPP session.
  288.    
  289.    If you click on the Terminal Window box, MacPPP will ignore the
  290.    Phone number and Modem init fields in the Configure Server and
  291.    Connect Script dialog boxes.
  292.    
  293.    Currently, the terminal emulator offers only basic features, and
  294.    does not provide a cursor or scroll bar. Most users will not
  295.    need to use the MacPPP terminal emulator.
  296.    
  297.  Hangup on Close
  298.    If this box is checked, MacPPP will send the modem a hangup
  299.    string (+++ ATH) when you close your PPP session.
  300.    
  301.  Tone/Pulse Dial
  302.    Click on the 'Tone dial' or 'Pulse dial' button to select your
  303.    type of phone service.
  304.    
  305.  PPP Server
  306.    See the next section for information on this feature.
  307.  
  308.  3.2 Configure Server Dialog Box
  309.  
  310.  Click on 'Configure server' in the Config PPP control panel to
  311.  display the Configure Server dialog box.
  312.  
  313.  The only parameter you need to set on the Configure Server
  314.  dialog box are 'Phone number' and 'Port Speed.' If your modem
  315.  defaults are set up correctly, you can ignore the 'Modem Init'
  316.  field. If the defaults are not set up correctly, you'll need to
  317.  enter a modem initialization string, as described below. To
  318.  enter the information needed to identify you to the terminal
  319.  server, go to the Authentication dialog box, described in
  320.  section 3.4.
  321.  
  322.  Several optional parameters can also be set on the Configure
  323.  Server dialog box. In the figure above, 'MichNet' has been
  324.  selected as the PPP Server Name. The port speed is 9600 bps, and
  325.  the phone number is MichNet's Ann Arbor 9600 bps dial-in number.
  326.  
  327.  PPP Server Name
  328.    This convenient feature allows you to set up a separate
  329.    configuration for each host you access with MacPPP, assign a
  330.    name to that host, and connect to it by selecting its name on a
  331.    pop-up menu.
  332.    
  333.    Click on the 'Add Server' button to add a new server. Next,
  334.    enter the server name-MichNet in the figure above-and configure
  335.    any desired options. The name will then be displayed in the PPP
  336.    Server box on the Config PPP control panel.
  337.    
  338.    Once you've finished adding servers, you can connect to any of
  339.    them by clicking on the PPP Server pop-up menu on the Config PPP
  340.    control panel and selecting the host you want to access. MacPPP
  341.    will automatically establish a connection using the
  342.    configuration you specified.
  343.    
  344.    Click on the 'Delete Server' option button to delete server
  345.    entries.
  346.    
  347.  Port Speed
  348.    Enter the baud rate for the port being used for your PPP
  349.    session.
  350.    
  351.  CTS (Clear To Send) Flow Control
  352.    Click on this box if you want MacPPP to use CTS for output flow
  353.    control. CTS flow control allows a modem to run at the higher
  354.    speeds provided by data compression. Your modem is responsible
  355.    for providing the CTS signal.
  356.    
  357.    Currently, MacPPP does not support input flow control through
  358.    RTS or XON/XOFF. Be sure that your modem is not using XON/XOFF
  359.    flow control on input or output. If XON/XOFF flow control is
  360.    enabled by default, check your documentation and use the
  361.    appropriate modem initialization string in the Configure Server
  362.    dialog box to disable it.
  363.    
  364.  Phone number
  365.    Click on this box to enter the phone number of the host you're
  366.    dialing. Several MichNet dial-in numbers are listed at the end
  367.    of this document.
  368.    
  369.  Modem Init
  370.    Click on this box to enter any initialization strings required
  371.    by your modem. The string must be a Hayes 'AT' command. If your
  372.    modem defaults are set up correctly, you may not need to enter a
  373.    Modem Init string in order to use PPP.
  374.    
  375.    The Modem Init string is typically used to:
  376.    
  377.       Disable XON/XOFF flow control
  378.       Enable CTS flow control, if your modem supports it
  379.    
  380.    MacPPP does not support XON/XOFF flow control. Be sure that your
  381.    modem is not using XON/XOFF flow control on input or output. If
  382.    XON/XOFF flow control is enabled by default, check your
  383.    documentation and enter the appropriate modem initialization
  384.    command in the Configure Server dialog box to disable it.
  385.    
  386.    CTS flow control allows a modem to run at the higher speeds
  387.    provided by data compression. Your modem is responsible for
  388.    providing the CTS signal.
  389.    
  390.    If you enter a Modem Init string but the phone number field is
  391.    not set (either because you are not using a modem, or prefer to
  392.    issue the dial command yourself), MacPPP will not send the Modem
  393.    Init command.
  394.    
  395.    If the phone number field is set, MacPPP will automatically send
  396.    the initialization command 'AT E0V1' to the modem. This will
  397.    disable echoing and put the modem in verbose response mode. An
  398.    'OK' response is expected from the modem. If you have not
  399.    entered an additional modem initialization command in the Modem
  400.    Init box, the phone number will then be dialed.
  401.    
  402.    If you have entered a modem initialization command in the Modem
  403.    Init box, the command will be sent to the modem after the 'AT
  404.    E0V1' command. MacPPP will again expect an 'OK' response from
  405.    the modem. After MacPPP receives an 'OK' response, the phone
  406.    number will be dialed. You may include any characters in the
  407.    phone number that your modem will accept, e.g., a comma (,) for
  408.    a pause between numbers.
  409.    
  410.  Modem connect timeout
  411.    By default, MacPPP will wait up to 90 seconds for a response
  412.    from the modem before timing out. If it receives a CONNECT
  413.    response, MacPPP will proceed to the next phase. If a BUSY
  414.    response is received, MacPPP will attempt to redial. Click on
  415.    the Modem connect timeout box to change the timeout interval;
  416.    you can select any number of seconds.
  417.    
  418.    Click on the option buttons on the bottom of the 'Configure
  419.    server' dialog box to bring up the Connect Script,
  420.    Authentication, and LCP/IPCP dialog boxes.
  421.  
  422.  3.3 Connect Script Dialog Box
  423.  
  424.  If you are dialing into a Merit/MichNet SCP, you do not need to
  425.  enter any information in the Connect Script dial box. The SCP
  426.  will automatically sense that you are initiating a PPP session;
  427.  you will not need to supply a 'PPP' string to the SCP.
  428.  
  429.  If you prefer to use the Connect Script dialog box, you can
  430.  enter up to eight dialog strings to establish the connection.
  431.  All of these fields are optional. Once you've established a
  432.  connection, your modem and the terminal server will exchange
  433.  information contained in the dialog strings to initiate your PPP
  434.  session.
  435.  
  436.  Select the Out button in front of the seven dialog strings to
  437.  indicate that your modem should send out the string. Select the
  438.  Wait button to indicate that the string is expected to be
  439.  received from the terminal server. Control characters can be
  440.  entered using the ^ (caret) convention, e.g., '^m' for a
  441.  carriage return. The <CR> check boxes indicate that a carriage
  442.  return should be appended to the end of the dialog string.
  443.  Placing a '^m' at the end of the string also appends a carriage
  444.  return to the end of the dialog string.
  445.  
  446.  The backslash (\) is a reserved character in the Connect Script
  447.  dialog box. It can be used as follows for both Out and Wait
  448.  strings:
  449.  
  450.      \r      carriage return
  451.      \^      literal '^'
  452.      \\      literal '\'
  453.      \nnn    8-bit octal value
  454.  
  455.  The following can be used only in Out strings:
  456.  
  457.      \b      send a break (100  milliseconds)
  458.      \d      delay for one second
  459.      \t     invoke the MacPPP  terminal emulator
  460.  
  461.  Wait timeout (seconds)
  462.    Click on this box to enter the number of seconds MacPPP will
  463.    wait for each 'wait' string to be received from the local
  464.    terminal server. The default is 40 seconds. By default, if more
  465.    than 40 seconds elapse, MacPPP will abort the attempt to
  466.    establish a connection. An alert box will appear, asking if you
  467.    want to quit MacPPP or retry the connect script from the
  468.    beginning.
  469.  
  470.  3.4 Authentication Dialog Box
  471.  
  472.  The only information you need to enter in the Authentication
  473.  dialog box is your authorization ID (authorization code).
  474.  
  475.  Authorization ID and Password
  476.    Use the Authentication dialog box to enter the information
  477.    needed to identify you to the terminal server. If you have an
  478.    authorization code, enter it here. If you don't know what an
  479.    authorization code is, enter HELP at the Merit/MichNet "Which
  480.    Host?" prompt to access MichNet's free Online Help System.
  481.    Select 'ACCESS Information,' and then 'AUTHORIZATION server
  482.    information.'
  483.    
  484.    Authorization codes comprise the host name, a forward slash, and
  485.    your userID. For example, if you are a user at Oakland
  486.    University and your userID is 1234, your authorization code
  487.    would be VELA/1234.
  488.    
  489.    If you would like to obtain an authorization code, check with
  490.    the computing center at your institution to see if it can
  491.    provide one for you. If it cannot, send e-mail to
  492.    acctmgr@merit.edu or call the MichNet Accounts Manager at (313)
  493.    764-9430.
  494.    
  495.    Merit/MichNet recommends that you do not enter your password in
  496.    the Authentication dialog box, even though your password will be
  497.    blanked. Instead, leave this box blank-you'll be prompted for
  498.    your password once you've connected to the local terminal
  499.    server.
  500.  
  501.  Retries
  502.    Click on this box to specify how many times MacPPP should
  503.    attempt to resend your ID and/or password, if it is unable to
  504.    establish a connection with the local terminal server. The
  505.    default is 10 retries. By default, MacPPP will abort the attempt
  506.    to establish a connection after 10 retries.
  507.    
  508.  Timeout (seconds)
  509.    Click on this box to enter the number of seconds MacPPP should
  510.    wait for the terminal server to respond to your ID and/or
  511.    password authentication request. You can enter any number of
  512.    seconds; the default is 3 seconds.
  513.    
  514.  3.5 LCP and IPCP Options Dialog Boxes
  515.    
  516.    The LCP (Line Control Protocol) and IPCP (IP Control Protocol)
  517.    Options dialog boxes allow you to configure the options that PPP
  518.    negotiates with the local terminal server. In most cases, the
  519.    defaults should work. Changing them is not recommended unless
  520.    you are familiar with several of the documents about PPP in the
  521.    Internet "Request for Comment" (RFC) series (RFC 1331, 1332, and
  522.    1334). The RFCs are available for anonymous FTP on the host
  523.    nic.merit.edu in the /documents/rfc directory.
  524.  
  525.  4. MichNet Dial-in Numbers
  526.  
  527.  You cannot use MacPPP on the current Ann Arbor 19,200 bps
  528.  dial-in lines. XON/XOFF is set on by default on these modems,
  529.  and MacPPP does not support XON/XOFF flow control.
  530.  
  531.  Here are the Ann Arbor dial-in numbers that support PPP:
  532.  
  533.     1200 bps (Bell 212A compatibles such as the Hayes smartmodem)
  534.          763-6520
  535.     2400 bps (V.22 bis compatibles)         764-4800
  536.     9600 bps (V.32 compatibles)             747-3400
  537.  
  538.  MichNet's free Online Help System provides a complete listing of
  539.  MichNet access phone numbers. To access the help server, simply
  540.  enter HELP at the "Which Host?" prompt and select 'ACCESS
  541.  information.' 
  542.