On Date: Fri, 24 Mar 2000 13:16:51 +1000 Steven Kerr wrote:
> 
> I am attempting to get a 'Dumb' terminal connected to a serial port on
> a RH6.0 system.
> 
> The /etc/inittab I am using is as follows:
> 
> S0:2345:respawn:/sbin/mgetty -r -s 19200 ttyS0 vt100
> 
> I had previously used /dev/cua0 to define a serial non-modem device
> but this device is rejected under 2.2 kernels as being obsolete.
> 
> The '-r' option is supposed to used if direct terminal lines are being
> used, however /var/log/mgetty.log.ttyS0 suggestes that mgetty is
> failing whilst lowering DTR to reset the modem.
> 
> Needless to say, I don't get the results expected on the terminal.
> 
> Does anyone have a 'dumb' terminal connected using mgetty that could
> share their experience and inittab entry.

I used your entry except changed to ttyS1 and I'm using mgetty
1.1.20-Jan17. Here's what the relevant bits of my mgetty log look
like:-

03/26 10:02:48 yS1  check for lockfiles
03/26 10:02:48 yS1  locking the line
03/26 10:02:48 yS1  WARNING: DCD line still active, check modem
settings (AT&Dx)03/26 10:02:48 yS1  lowering DTR to reset Modem
03/26 10:02:49 yS1  waiting...
------------|| waited till I pressed enter ||----
03/26 10:03:01 ##### data dev=ttyS1, pid=1110, caller='none',
conn='DIRECT', name='', cmd='/bin/login', user='root'
------------|| waited till I logged off ||----

--
03/26 10:03:14 yS1  mgetty: experimental test release 1.1.20-Jan17

$ last | more gives
gripz    ttyS1        DIRECT           Sun Mar 26 10:03 - 10:03
(00:00)    
gripz    pts/3        :0               Sun Mar 26 09:42   still logged
in   
gripz    pts/2        :0               Sun Mar 26 09:42   still logged
in   


So yeah, it seems it still does some modemish type stuff but gets over
it. The important thing as others have mentioned is that you have a
cable that either loops the status back at the host end or connects
them through to the corresponding pins on the termnal. I would
recommend for a dumb terminal looping the pins on the PC end. On a
DB25 this would be....

solder blob between pins 4 & 5, another solder blob going from pin 6,
to pin 19 (not used), to pin 20, to pin 8. Then just wire pins 2,3 & 7
through to the terminal end... and whatever else the terminal needs.
Some need CTS, CD and DSR before they can send data.

---<GRiP>---
Grant Parnell [EMAIL PROTECTED] ([EMAIL PROTECTED]) 
Ph: 02-9715-6171  Mobile 0408-686-201 Web: http://www.poboxes.com/gripz

--
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