*BSD News Article 36378


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!sunic!isgate!veda.is!adam
From: adam@veda.is (Adam David)
Subject: Re: FreeBSD terminal server type thing
X-Newsreader: NN version 6.5.0 #1 (NOV)
Organization: Veda Systems, Iceland
Message-ID: <Cwyp78.Eqo@veda.is>
References: <Cwu5Jr.FvI@un.seqeb.gov.au>
Date: Fri, 30 Sep 1994 21:33:06 GMT
Lines: 17

pc012@un.seqeb.gov.au (Patrick Collins) writes:

>Can anyone give me any clues on how to write a daemon that will listen on 
>a tcpip port and connect incoming sessions to a serial port. This would 
>work in much the same way as a terminal server does.

What are you trying to do? It is not very clear from this description.
You can do a lot of useful things with init and getty, but you really
must be more specific. sliplogin? pppd?

On the face of it, you might even be trying to connect incoming telnet
sessions from the network to some obscure hardware that has no ethernet
of its own and therefore needs to be connected via serial port. Run a
login script to connect to the serial port, in that case.

--
Adam David  <adam@veda.is>