turn off modem during the day
Gert Doering (gert@greenie.muc.de)
Wed, 24 Sep 1997 23:23:59 +0200
Hi,
Mate Wierdl wrote:
> I have my modem in my office set up for dialin via mgetty (Linux
> Redhat 4.1, mgetty mgetty-1.0.0).
>
> The University has a voicemail system which I would like to use while
> I am in the office, otherwise I 'd like mgetty and the modem answer
> the phone when I leave.
>
> Can I do this simply without playing with the mgetty entry in inittab
> and rebooting (or init q).
Sure. Just touch /etc/nologin.ttyS<n>
> What if I just simply turn the modem off
> while I am in the office? Would mgetty get confused after a while, or
> it will just report to the log file that the modem is off, and it will
> get back to business as soon as the modem is turned on?
It will complain a lot, fill up your whole hard disk with complaints,
and finally go off and kill the dog :-)
No, there is no "real" problem except for the log file growth. So reduce
the log level, or reserve enough space.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 gert.doering@physik.tu-muenchen.de
.