Telnet to Linux from DOS system via Serial Port

Telnet to Linux from DOS system via Serial Port

Post by Sam Alexand » Tue, 21 Aug 2001 04:01:23



I have a Red Hat 7.1 system and I would like to start a Telnet session
via the serial port from an older Tandy 1110 HD notebook.  I have the
two devices talking via minicom on Linux and Telix on the notebook,
but I don't know now to strike-up a telnet session.

This notebook is an 8088, so I can not install Windows on it.  

Please don't suggest GET A REAL SYSTEM.  This is really one of those
"can it be done" things.  I've had the notebook laying around for a
while and I figure this would be a good use for it... Linux dumb
terminal.

If anyone can give me advice on where to begin, I'd appriciate it.
I've checked out the Serial How-To's but they don't touch on this.
I've also learned that I need to use setserial to kick the speed down
to 9600 for it to work.  I just don't know how to start a telnet
session.

Thanks for any help you might be able to offer...

Sam Alexander

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by John S. Giltner, Jr » Tue, 21 Aug 2001 04:39:16



> I have a Red Hat 7.1 system and I would like to start a Telnet session
> via the serial port from an older Tandy 1110 HD notebook.  I have the
> two devices talking via minicom on Linux and Telix on the notebook,
> but I don't know now to strike-up a telnet session.

> This notebook is an 8088, so I can not install Windows on it.

> Please don't suggest GET A REAL SYSTEM.  This is really one of those
> "can it be done" things.  I've had the notebook laying around for a
> while and I figure this would be a good use for it... Linux dumb
> terminal.

> If anyone can give me advice on where to begin, I'd appriciate it.
> I've checked out the Serial How-To's but they don't touch on this.
> I've also learned that I need to use setserial to kick the speed down
> to 9600 for it to work.  I just don't know how to start a telnet
> session.

> Thanks for any help you might be able to offer...

> Sam Alexander


On the Linux side you setup the serial port as a PPP or SLIP Server and
start the telnet server.

On the DOS box you will need to:

        a) a TCP/IP stack
        b) either a PPP or SLIP serail connection to the Linux box
        c) a Telnet client

Then a null modem cable to connect the two serial ports.  Somebody else
may be able to point you to where you can get the software for DOS.

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by Michael Heimin » Tue, 21 Aug 2001 05:02:42


Sam Alexander wrote at Sunday 19 August 2001 21:01 like only he can:

> I have a Red Hat 7.1 system and I would like to start a Telnet
> session
> via the serial port from an older Tandy 1110 HD notebook.  I have
> the two devices talking via minicom on Linux and Telix on the
> notebook, but I don't know now to strike-up a telnet session.

> This notebook is an 8088, so I can not install Windows on it.

> Please don't suggest GET A REAL SYSTEM.  This is really one of those
> "can it be done" things.  I've had the notebook laying around for a
> while and I figure this would be a good use for it... Linux dumb
> terminal.

> If anyone can give me advice on where to begin, I'd appriciate it.
> I've checked out the Serial How-To's but they don't touch on this.
> I've also learned that I need to use setserial to kick the speed
> down
> to 9600 for it to work.  I just don't know how to start a telnet
> session.

> Thanks for any help you might be able to offer...

> Sam Alexander


Hello,

you need a terminal emulation sw for DOS that can do vt52 or higher.

Now you put in /etc/inittab on the server:

S0:123:respawn:/sbin/agetty -L 9600 ttyS0

You should now be able to connect with a null-modem cable and get a
login screen. The above example is using 9600 baud, to allow a login
from a HP 48 GX calculator, you may be able to use higher speeds.
'man agetty' for more info.

Good luck

Michael Heiming

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by Ashok Aiy » Tue, 21 Aug 2001 05:52:43


On 19 Aug 2001 12:01:23 -0700,

Quote:> I have a Red Hat 7.1 system and I would like to start a Telnet session
> via the serial port from an older Tandy 1110 HD notebook.  I have the
> two devices talking via minicom on Linux and Telix on the notebook,
> but I don't know now to strike-up a telnet session.

> This notebook is an 8088, so I can not install Windows on it.  

You don't need "telnet" for the notebook to act as a dumb terminal for
the Linux PC -- you can continue to use Telix, which if memory serves
me correctly has good VT100 and VT102 emulation.

However you should change things at the Linux end.  Edit your /etc/inittab,
and add a line like the following:

s1:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
(assuming the Linux PC is connected via it's first serial port to the
Tandy -- com1 in DOS terms).

Because your Tandy notbook probably has an 8250 UART, I would not
suggest using over 9600 bps, although at the Linux end you probably
have a 16450 or better UART.

Restart the Linux PC, fire up Procomm or Telix on the Tandy, and you
should have a login prompt.

If you *absolutely* want to use telnet to connect to the Linux PC, then
do the following.  Configure SLIP under Linux to use ttySO.  On the
Tandy, obtain a SLIP packet driver like SLIP8250, or SLIPPER, and use
a program like NCSA Telnet or CUTCP telnet to use the packet driver and
connect to the Linux PC.  This is more work than using Telix or
Procomm on the Tandy.

Ashok

--

Department of Microbiology-Immunology           office: (312) 503-2524
303 E. Chicago Avenue, WARD 4-123                  lab: (312) 503-2542
Northwestern University, Chicago, IL 60611         fax: (312) 503-1339

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by James Knot » Tue, 21 Aug 2001 07:24:08


If you only  want to run a terminal session, you don't need telnet.  What
you have to do, is allow logins from a serial terminal.  I have seen the
required changes for this, but don't recall the details.  There should be
something on www.linuxdoc.org that may help.

You'd then use something like Procomm or Telix on the DOS system, to
emulate a terminal.


> I have a Red Hat 7.1 system and I would like to start a Telnet session
> via the serial port from an older Tandy 1110 HD notebook.  I have the
> two devices talking via minicom on Linux and Telix on the notebook,
> but I don't know now to strike-up a telnet session.

> This notebook is an 8088, so I can not install Windows on it.

> Please don't suggest GET A REAL SYSTEM.  This is really one of those
> "can it be done" things.  I've had the notebook laying around for a
> while and I figure this would be a good use for it... Linux dumb
> terminal.

> If anyone can give me advice on where to begin, I'd appriciate it.
> I've checked out the Serial How-To's but they don't touch on this.
> I've also learned that I need to use setserial to kick the speed down
> to 9600 for it to work.  I just don't know how to start a telnet
> session.

> Thanks for any help you might be able to offer...

> Sam Alexander


--

james.knott.
 
 
 

Telnet to Linux from DOS system via Serial Port

Post by mark mort » Tue, 21 Aug 2001 14:11:49


I have an old Sun SPARCstation and I have it setup so I can use a dumb
terminal connected to the serial port to use the system. For me, I'm
running the sun headless and useing QL2Fax as my terminal from a dos
box. I forget what file you need to edit on a running system to add
this general functionality...

> On 19 Aug 2001 12:01:23 -0700,

> > I have a Red Hat 7.1 system and I would like to start a Telnet session
> > via the serial port from an older Tandy 1110 HD notebook.  I have the
> > two devices talking via minicom on Linux and Telix on the notebook,
> > but I don't know now to strike-up a telnet session.

> > This notebook is an 8088, so I can not install Windows on it.  

> You don't need "telnet" for the notebook to act as a dumb terminal for
> the Linux PC -- you can continue to use Telix, which if memory serves
> me correctly has good VT100 and VT102 emulation.

> However you should change things at the Linux end.  Edit your /etc/inittab,
> and add a line like the following:

> s1:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
> (assuming the Linux PC is connected via it's first serial port to the
> Tandy -- com1 in DOS terms).

> Because your Tandy notbook probably has an 8250 UART, I would not
> suggest using over 9600 bps, although at the Linux end you probably
> have a 16450 or better UART.

> Restart the Linux PC, fire up Procomm or Telix on the Tandy, and you
> should have a login prompt.

> If you *absolutely* want to use telnet to connect to the Linux PC, then
> do the following.  Configure SLIP under Linux to use ttySO.  On the
> Tandy, obtain a SLIP packet driver like SLIP8250, or SLIPPER, and use
> a program like NCSA Telnet or CUTCP telnet to use the packet driver and
> connect to the Linux PC.  This is more work than using Telix or
> Procomm on the Tandy.

> Ashok

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by Dean Thompso » Tue, 21 Aug 2001 20:33:32


Hi!,

Quote:> I have a Red Hat 7.1 system and I would like to start a Telnet session
> via the serial port from an older Tandy 1110 HD notebook.  I have the
> two devices talking via minicom on Linux and Telix on the notebook,
> but I don't know now to strike-up a telnet session.
> Please don't suggest GET A REAL SYSTEM.  This is really one of those
> "can it be done" things.  I've had the notebook laying around for a
> while and I figure this would be a good use for it... Linux dumb
> terminal.

You might need to actually set up mgetty/getty to run on a serial port so that
your machine will answer the incoming connection on the serial ports.  At the
moment I suspect that Linux has been configured on your system, but it just
hasn't been configured to spawn a telnet session off to your serial port.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by James Knot » Tue, 21 Aug 2001 21:57:01



> Hi!,

>> I have a Red Hat 7.1 system and I would like to start a Telnet session
>> via the serial port from an older Tandy 1110 HD notebook.  I have the
>> two devices talking via minicom on Linux and Telix on the notebook,
>> but I don't know now to strike-up a telnet session.

>> Please don't suggest GET A REAL SYSTEM.  This is really one of those
>> "can it be done" things.  I've had the notebook laying around for a
>> while and I figure this would be a good use for it... Linux dumb
>> terminal.

> You might need to actually set up mgetty/getty to run on a serial port so
> that
> your machine will answer the incoming connection on the serial ports.  At
> the moment I suspect that Linux has been configured on your system, but it
> just hasn't been configured to spawn a telnet session off to your serial
> port.

Would it stil be telnet?  I thought telnet was an IP protocol.  I was
working with terminals for many years before I ever heard of telnet, and
possibly before it even existed.

--

james.knott.

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by Dean Thompso » Tue, 21 Aug 2001 22:02:21


Hi!,

Quote:> >> I have a Red Hat 7.1 system and I would like to start a Telnet session
> >> via the serial port from an older Tandy 1110 HD notebook.  I have the
> >> two devices talking via minicom on Linux and Telix on the notebook,
> >> but I don't know now to strike-up a telnet session.

> >> Please don't suggest GET A REAL SYSTEM.  This is really one of those
> >> "can it be done" things.  I've had the notebook laying around for a
> >> while and I figure this would be a good use for it... Linux dumb
> >> terminal.

> > You might need to actually set up mgetty/getty to run on a serial port so
> > that
> > your machine will answer the incoming connection on the serial ports.  At
> > the moment I suspect that Linux has been configured on your system, but it
> > just hasn't been configured to spawn a telnet session off to your serial
> > port.

> Would it stil be telnet?  I thought telnet was an IP protocol.  I was
> working with terminals for many years before I ever heard of telnet, and
> possibly before it even existed.

Actually true, it wouldn't really be "telnet" in the true sense, as you would
be connecting to getty being pumped out through the serial port.  I suspect
that all that is being attempted here is the ability to be able to connect to
a linux box via a serial connection.

As a result, telnet isn't really needed as he already has a terminal emulator
present.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Telnet to Linux from DOS system via Serial Port

Post by Jan Just Keijs » Wed, 22 Aug 2001 19:09:59


grab yourself a copy of DOS procomm plus or a clone (see http://www.cdrom.com
for clones, there are plenty of em).

Starting telnet is not what you mean, as it requires a TCP/IP connection; all
you're interested in is a HyperTerminal-for-Dos, right?

HTH,

JJK



>> I have a Red Hat 7.1 system and I would like to start a Telnet session
>> via the serial port from an older Tandy 1110 HD notebook.  I have the
>> two devices talking via minicom on Linux and Telix on the notebook,
>> but I don't know now to strike-up a telnet session.

>> Please don't suggest GET A REAL SYSTEM.  This is really one of those
>> "can it be done" things.  I've had the notebook laying around for a
>> while and I figure this would be a good use for it... Linux dumb
>> terminal.

>You might need to actually set up mgetty/getty to run on a serial port so that
>your machine will answer the incoming connection on the serial ports.  At the
>moment I suspect that Linux has been configured on your system, but it just
>hasn't been configured to spawn a telnet session off to your serial port.

---------------------------
JJK / Jan Just Keijser
Unix/Linux Systems Engineer

flames > /dev/null 2>&1
---------------------------

 
 
 

1. Doing a STOP+A from headless system, connected via serial port?

Hi guys,

We had a headless Ultra Enterprise 450, and we hooked up the serial port
with a laptop running Win95, via a console cable. Using Win95 Hyperterm
on the laptop, we were able to connect to our UE450 and "simulate" a
console. And we actually got an "ok" prompt since the OS wasn't
installed yet.

Just wonder, if the OS is installed, how do we do a STOP+A from a Win95
Hyperterm connection? Is there any PC keystroke, or any keyboard
sequence that we can send over via the console wire to do a STOP+A?

Thanks, tata.

Lee Haw, Ong
Internet Engineer
SilkRoute Ventures Pte Ltd

2. Couldn't boot up the IBM Network Station (8363-Exx)

3. script for access to serial ports via telnet

4. Automatically starting xdm on boot, with a xdm-config file

5. Help: Linux won't boot anymor

6. Configure hub via serial port or telnet?

7. autofs vs. Solaris automount configuration file format

8. How can I use my BSD system as a terminal via serial port?

9. Solaris 8,9,10 serial consoles via serial port how to raise speed?

10. DOS apps running on Linux via Telnet

11. Accessing DOS BBS via Linux Telnet?

12. Telnet to Linux Box via serial cable?