Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pppattach(8) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

netstat(1)

ifconfig(8)

ppp(8)

pppconfig(8)

netintro(4)

ppp(4)

appp(4)

PPPATTACH(8)              BSD System Manager's Manual             PPPATTACH(8)

NAME
     pppattach - attach serial lines as PPP network interfaces

SYNOPSIS
     pppattach [-i n] [-s baudrate] ttyname

DESCRIPTION
     Pppattach is used to assign a tty line to a network interface with the
     point-to-point protocol (PPP).  Use of this command is recommended on
     dedicated lines only; for dial-up lines use ppp instead.

     Pppattach may be called before or after the interface was configured up
     with ifconfig; the PPP startup sequence will not be initiated until both
     conditions (i.e. line is attached and interface is up) are met.  Loading
     the interface addresses with ifconfig first may help to avoid some prob-
     lems with routing software.

     After the line has been attached, pppattach will wait until the connec-
     tion is dropped.  To reestablish a connection, pppattach should be in-
     voked again.

     The following arguments are supported by pppattach:

     -i pppN       Selects the interface to attach the line to.  If no inter-
                   face is specified, pppattach will select one with no line
                   attached.  However, it is useful to specify the interface
                   explicitly to avoid confusion because ifconfig needs the
                   exact interface name.

     -s baudrate   Sets the transmission speed on the line.  If this option is
                   omitted, the transmission speed will not be changed (i.e.
                   the speed last configured on the line will be used).

     ttyname       Specifies the name of the tty device.  Ttyname should be a
                   string of the form `ttyXX', or `/dev/ttyXX'.

     Only the super-user may attach a network interface.

     To detach the interface, use ``ifconfig interface-name down'' (it will
     cause the termination of the pppattach process).  Killing pppattach will
     interrupt the communication immediately but will not configure the inter-
     face down.  Interface-name is the name that is shown by netstat(1) as
     ``pppN'' where N is the number of the interface.

EXAMPLES
           pppattach ttyh8
           pppattach -s 19200 -i 3 /dev/tty01

DIAGNOSTICS
     Messages indicating the specified interface does not exist, there is no
     such tty line, the specified transmission speed is not valid, the user is
     not privileged.

SEE ALSO
     netstat(1),  ifconfig(8),  ppp(8),  pppconfig(8),  netintro(4),  ppp(4),
     appp(4)

HISTORY
     The pppattach command is currently under development.

BSDI BSD/386                    March 27, 1993                               1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026