turn off modem during the day
Dirk Haenelt (dhaen@eeisz1.et.tu-dresden.de)
Fri, 26 Sep 1997 08:19:26 +0200
Matt White wrote:
>
> On Wed, 24 Sep 1997, 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). 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?
>
> I just use a couple of crontab entries for mine:
>
> 30 17 * * mon-fri rm /etc/nologin.ttyS5 2> /dev/null
> 30 7 * * mon-fri touch /etc/nologin.ttyS5
In my case, i change the number of Rings with the crontab entra.
On day mgetty take the line by 4 rings, in the week from 18:00 and
on the weekend by one ring.
--
Dirk Haenelt DG1HTK@DB0TUD.#SAX.DEU.EU
ETI, Grundlagen, TU-DRESDEN Tel./Fax: +49 351 4635354
dhaen@eeisz1.et.tu-dresden.de http://eeipe1.et.tu-dresden.de
.