Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: srt@zaphod.csci.unt.edu (Steve Tate)
Subject: Re: PPP for OSF/1
Date: 9 Jan 1995 19:50:51 GMT	[thread overview]
Message-ID: <3es42r$h4f@hermes.unt.edu> (raw)
In-Reply-To: mmastonD25Grx.Bsp@netcom.com

Michael Maston (mmaston@netcom.com) wrote:
> In article <3erqlo$b5i@hermes.unt.edu>,
> Steve Tate <srt@zaphod.csci.unt.edu> wrote:

> > Also be warned that
> >there is an absolutely awful kludge you have to deal with if you
> >want this on a real serial line --- I designed and tested it
> >for a network connection from a terminal server...  on that setup
> >I use it regularly with no problems.

> When you say a "real serial line" do you mean a direct serial cable 
> connection between two computers or a serial link between two computers 
> connected by phone modems?

I mean "real serial line" as in the RS-232 style port on the computer.
It doesn't matter whether it's connected to a modem or directly
to another computer, you still have to do something weird (it does
work though --- I know of at least one person using it that way).

The real distinction is with the kind of device driver used by
OSF/1.  If you're using a device with a STREAMS driver, everything
works beautifully --- this includes the pseudo-tty driver that is
used over an rlogin or telnet session.  If you're using a device
with a BSD-style driver (such as the tty drivers supplied by DEC),
then you've basically got to rlogin to your own machine to get
a STREAMS driver to push modules onto.  If you don't understand
that, don't worry about it --- the only thing you really have
to know is what kind of driver is on the line you want to use.
If you log in on the line you'd like to use for the PPP connection,
then this simple program will tell you which type of line it is:

=========
#include <stdio.h>

int main()
{
    if (isastream(0))
        fprintf(stderr, "stdin is a STREAMS file.  PPP will work fine\n");
    else
        fprintf(stderr, "stdin is not a STREAMS file.  Need the kludge!\n");

    return(0);
}
=========

--
Steve Tate  ---  srt@cs.unt.edu | "Liberty consists in the freedom to do
Dept. of Computer Sciences      |  everything which injures no one else..."
University of North Texas       |    -- Lafayette:  Declaration of the Rights
Denton, TX  76201               |       of Man and of the Citizen


      reply	other threads:[~1995-01-09 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-09 16:11 PPP for OSF/1 Michael Maston
1995-01-09 17:10 ` Steve Tate
1995-01-09 18:02   ` Michael Maston
1995-01-09 19:50     ` Steve Tate [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox