On Thu, Nov 04, 1999 at 08:45:49PM -0600, Hanigan Family wrote:
> Hi
> Does anyone know what you have to do so you can callout
> when you have mgetty running. I commented it out of the
> inittab and rebooted but would pefer a different solution.
> Mgetty has a lock file on the line so minicom and kermit
> can't  connect.

        Hmmm...  Make sure your software is configured correctly?

        1) You can change "respawn" to "off" in /etc/inittab and then
execute "/sbin/init q" to turn off an "mgetty".  This is not Windows.
You do not have to reboot!  (Anyone want to write and "enable"/"disable"
pair that does this automagically?  I use to do this on SCO a lot.  Maybe
an equiv already exists and I just don't know what it is...)

        2) If your software is configured correctly, both mgetty and
cu and minicom and kermit and and uucp and whatever should all agree
on where the lock files are.  When something comes up, it checks for
a lock file (someone logged in).  If the lock file doesn't exist, it
creates one and accesses the drive.  As soon as mgetty senses data, it
checks for someone else having a lock file.  If it finds a lock file,
it goes to sleep waiting for whoever to finish.  When they finish, mgetty
reinitializes the modem and waits on it.  When mgetty detects someone
dialing in, it creates a lock file to lock out the dial-out utilities
while Joe Shmuck is playing on the tty.  The lock files are the key.
They allow all of these guys to play nicey nicey.  But they all have to
agree on the lock files.

        I know this doesn't help much other than to tell you that your
problem is not quite what you think it is.  :-/

>          Linda


-- 
 Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to