🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #518

Re: Telnet to Serial interface

#518
From: David Goh
Date: Wed, 01 Oct 1997 00:00
38 lines
2243 bytes
In aus.computers.linux, on 30 Sep 1997 21:54:34 GMT
Brent Paddon <brentp@bit.net.au> wrote:
>We had a lot of suggestions to use minicom.  Not really what we are after.

*nod*

>More like, we'd like to be able to setup a dummy interface (similar
>to what you would do for a virtual web site), and have a daemon that will listen
>for a telnet request to that IP address, and then automatically (ie DONT run
>minicom - anyone could do that in about 5 mins) connect you to the PABX's
>serial port, and simply transfer characters between the serial
>port and the telnet connection.

Mm... Most probably the best solution is to set up a c program which runs
kermit with appropriate command line options to open a session to the
serial device.  This can then be run from inetd.conf on some port
number...  Ideally, you want to have the program run as a setuid nobody,
or a setuid modem binary, too, unless you aren't concerned with
security.

You might have to hunt for kermit source code, or rpms, or suchlike, to
get it on your system but it should be reasonably easily available.

>We thought surely someone must be doing this *somewhere* ???

Mm... I haven't tried it myself, but what I suggested might work okay.
kermit is a lot more 'lightweight' than minicom, so it's somewhat easier
to achieve a straight through connection using it.

Later,

   David

-- 
Unico   Computer   Systems   Pty   Ltd
David Goh            Software Engineer
david@unico.com.au      (03) 9866 5688
Technical Details
Message-ID: <60sbv4$m9v@padre.unico.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5v8ei9$irh$1@hermes.bit.net.au> <5v8nag$mpj$1@cantuc.canterbury.ac.nz> <875627614.650188@kermit.netlink.com.au> <60rseq$rc2$1@hermes.bit.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,d8832ef4b05df945
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,d8832ef4b05df945
X-Google-Attributes: gid102983,public
From: david@unico.com.au (David Goh)
Subject: Re: Telnet to Serial interface
Date: 1997/10/01
Message-ID: <60sbv4$m9v@padre.unico.com.au>
X-Deja-AN: 276945391
References: <5v8ei9$irh$1@hermes.bit.net.au> <5v8nag$mpj$1@cantuc.canterbury.ac.nz> <875627614.650188@kermit.netlink.com.au> <60rseq$rc2$1@hermes.bit.net.au>
X-newsgroup: aus.computers.linux
Reply-To: david@unico.com.au
X-Die-Netscrape: <blink>
Organization: UNICO Computer Systems, Melbourne, Australia
Newsgroups: comp.os.linux.misc,aus.computers.linux