Running 2 terminals thru a Linux box to a UNIX box...

Running 2 terminals thru a Linux box to a UNIX box...

Post by David Shankma » Sat, 24 May 1997 04:00:00



The Problem...

We're running a UNIX box at work, which controls all the internal stuff
as well as the various outlets (on terminals) around the city via modem
lines. We want to put more than one terminal (and a couple of printers)
in larger stores, all connected to the box...

The Question...
We've been told we can multiplex the modem line to get the terminals to
run on one line, but those of us thinking a little laterally thought of
putting a Linux box into the store which which could effectively double
as a second server and a terminal thru which all the other terminals and
printers could be connected to the original box.

Is this a viable situation, or are we just dreaming??? - and if it
sounds reasonable, where could we get info on going about our business?

Thanks for taking the time to wade thru all that!

 
 
 

Running 2 terminals thru a Linux box to a UNIX box...

Post by Michael Jame » Sun, 25 May 1997 04:00:00



> The Problem...

> We're running a UNIX box at work, which controls all the internal stuff
> as well as the various outlets (on terminals) around the city via modem
> lines. We want to put more than one terminal (and a couple of printers)
> in larger stores, all connected to the box...

> The Question...
> We've been told we can multiplex the modem line to get the terminals to
> run on one line, but those of us thinking a little laterally thought of
> putting a Linux box into the store which which could effectively double
> as a second server and a terminal thru which all the other terminals and
> printers could be connected to the original box.

> Is this a viable situation, or are we just dreaming??? - and if it
> sounds reasonable, where could we get info on going about our business?

> Thanks for taking the time to wade thru all that!

Terminals as I beleave act almost indenticle to the unix console on
their host
Which means that if you have ppp down the modem lines you should be able
to
telnet on a terminal from a remote location to the main server down the
phone
line

--
"Wouldn't the sentence 'I want to put a hyphen between the words Fish
and And and And and Chips in my Fish-And-Chips sign' have been clearer
if quotation marks had been placed before Fish, and between Fish and
and, and and and And, and And and and, and and and And, and And and
and, and and and Chips, as well as after Chips?"

 
 
 

Running 2 terminals thru a Linux box to a UNIX box...

Post by devnul » Sun, 25 May 1997 04:00:00


Quote:> Terminals as I beleave act almost indenticle to the unix console on
> their host

be informed...depending on the type of terminal emulation your
serial terminal supports  :) it SHOULD look just like being at
the console  :(   i recently set up a serial terminal, but found
out it doesn't support some things, like reverse scrolling(nice
when less'ing a file or cruising thru a vi session.  in fact, i
can't even run vi on this serial term.  it supports tvi925 & pcterm
emulation.

just a word to the wise,
patman

 
 
 

Running 2 terminals thru a Linux box to a UNIX box...

Post by Peter Greenwoo » Tue, 27 May 1997 04:00:00




>> The Problem...

>> We're running a UNIX box at work, which controls all the internal stuff
>> as well as the various outlets (on terminals) around the city via modem
>> lines. We want to put more than one terminal (and a couple of printers)
>> in larger stores, all connected to the box...

>> The Question...
>> We've been told we can multiplex the modem line to get the terminals to
>> run on one line, but those of us thinking a little laterally thought of
>> putting a Linux box into the store which which could effectively double
>> as a second server and a terminal thru which all the other terminals and
>> printers could be connected to the original box.

>> Is this a viable situation, or are we just dreaming??? - and if it
>> sounds reasonable, where could we get info on going about our business?

You may need some extra ports; your average PC has a couple of serial
ports (one probably used by the mouse if you want X or gpm), and one
parallel port.  Linux supports a number of multi-port serial cards though;
check out the Hardware-HOWTO.

Make sure the serial ports are correctly configured - if you have a
Slackware system like mine, the script to look at is /etc/rc.d/rc.serial.
This I think varies from distribution to distribution, though.

You will need to set up the ports to allow logins; to do this, make sure
a copy of some version of "getty" is run on each port, by ensuring
your /etc/inittab file contains lines something like:

s2:45:respawn:/sbin/agetty 9600 -hL ttyS1

(better check man inittab and man agetty [or whatever] - it's a while
since I did this and I can't remember what all that means)

Quote:>Terminals as I beleave act almost indenticle to the unix console on
>their host

Quite correct - I've an old 286 PC connected to my home machine, so if
I have any problem with the console (like my son is playing Doom on it :)
there's another terminal available.  It can run text based applications
quite effectively, though of course not X based stuff.

Quote:>Which means that if you have ppp down the modem lines you should be able
>to
>telnet on a terminal from a remote location to the main server down the
>phone
>line

Yes, I can vouch for this - I've connected to my ISP that way on
occasion.  Incidentally, to save on phone bills, you may want to take a
look at diald if your terminals will have longish inactive periods.  It's
supposed to drop the line when you don't use it for a while, and dial
again automatically when next there is some data to send. I haven't used
it, but I hear it works.  This assumes of course you are contemplating
using the public phone network.
--

Email adverti*ts received at this site are subject to a handling charge
of TWENTY-FIVE POUNDS STERLING.  By sending such material you agree to be
bound by this condition.
 
 
 

Running 2 terminals thru a Linux box to a UNIX box...

Post by Leslie Mikese » Wed, 28 May 1997 04:00:00




Quote:>The Problem...

>We're running a UNIX box at work, which controls all the internal stuff
>as well as the various outlets (on terminals) around the city via modem
>lines. We want to put more than one terminal (and a couple of printers)
>in larger stores, all connected to the box...

>The Question...
>We've been told we can multiplex the modem line to get the terminals to
>run on one line, but those of us thinking a little laterally thought of
>putting a Linux box into the store which which could effectively double
>as a second server and a terminal thru which all the other terminals and
>printers could be connected to the original box.

>Is this a viable situation, or are we just dreaming??? - and if it
>sounds reasonable, where could we get info on going about our business?

Connecting terminals to the Linux box is pretty straighforward, although
I would look at using networked PCs since the wiring becomes easier
if you have more than a couple and they aren't much more expensive.
(And if you have windows on the pc you can run simultaneous sessions
to different hosts).

However, whether you can use these multiplexed through your modem line
to another location depends on the nature of your modem connection.
If it is already running PPP and tcp/ip apps you should be able to do
it if you add more IP addresses and appropriate routing entries.  If
it is just doing a single session now you will have to make major changes,
although it may still be possible.

Les Mikesell