From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,651f5d398ce7fd3 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-09 11:50:51 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!csn!magnus.acs.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!news.unt.edu!zaphod!srt From: srt@zaphod.csci.unt.edu (Steve Tate) Newsgroups: comp.unix.osf.osf1 Subject: Re: PPP for OSF/1 Date: 9 Jan 1995 19:50:51 GMT Organization: University of North Texas Distribution: world Message-ID: <3es42r$h4f@hermes.unt.edu> References: <3erqlo$b5i@hermes.unt.edu> NNTP-Posting-Host: zaphod.csci.unt.edu X-Newsreader: TIN [version 1.2 PL2] Michael Maston (mmaston@netcom.com) wrote: > In article <3erqlo$b5i@hermes.unt.edu>, > Steve Tate 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 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