Hey All,

I have a box at work I would like to be able to access remotely through a
serial connection (ie. it's not on the network and won't be going on the
network).  It will likely end up with an additional modem on it for dialin
purposes but at this stage I am trying to access it over a serial connection.

I have a cat5 cable running between connectors on a serial port on two
machines with a null modem in between them.  Using cu (bare bones terminal
program, similar to tip, functionally the same as minicom) on both machines
I can write to the other, so the connection itself works ok.

What I want is a standard console login.  In /etc/inittab I've added a line
to do this:
S1:2345:respawn:/sbin/getty ttyS1 9600 vt100

It's spawning the getty and showing up in the process list as
15377 ttyS1        S      0:00 /sbin/getty ttyS1 9600 vt100
right after executing `init q`.
A couple of seconds later it will change to
15377 ?            S      0:00 /sbin/getty ttyS1 9600 vt100

If getty is called with the -h flag (no hangup, ie. /sbin/getty -h ttyS1
9600 vt100) it doesn't show ttyS1 after the pid.

This is on a RH6.1 system (i'm a slack guy myself, but this was the cd i
found lying around :) with an unmodified /etc/gettydefs from RH defaults.
I haven't had a chance to try any other gettys (mgetty springs to mind) but
there's no reason this shouldn't work and since it's there already that
would be preferable :)

So.... has anyone got any suggestions?

Alexander Else
Internet Operations Technician
OzEmail / UUNET Asia Pacific Operations

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to