mgetty on null modem

Hans (hans@comerwell.xs4all.nl)
Sat, 7 Nov 1998 18:37:03 +0100


In article <19981106143316.B9666@greenie.muc.de>, Gert Doering wrote:
>
>On Fri, Nov 06, 1998 at 02:11:06PM +0100, magth615@student.liu.se wrote:
>> I can't seem to get mgetty started correctly. Please reply directly to
>> me, since I'm not a subscriber to this list.
>> 
>> This is in my inittab:
>> 
>> 7:2345:respawn:/sbin/mgetty -x 9 -b -r -s 38400 -p "login: " ttyS1
>
>Start without any options.  Especially without options that you do not
>understand ("-b -r" are definitely NOT useful for about 99.5 per cent of
>all mgetty users).

I thought -r was for null-modem cables?

   - 'direct' YES/NO [-r]

     Tells mgetty that it is running on a direct line. Mgetty won't try
     to initialize any modem, nor will it wait for 'RING'. It will just
     wait for any character, and then output the issue file and login
     prompt. This option is used if you want to connect to machines via
     nullmodem cable.  Default is NO, since 'mgetty' is designed for
     modems...

-b is not a good idea, I think, because DCD is often not connected.

I use a poor null-modem cable that only connects TxD, RxD, RTS, CTS, but
I have an even "less-null-modem-cable" that does only TxD and RxD.

Hans