----- Original Message -----
From: "Terry Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 6:18 PM
Subject: making demand dialing NOT available at certain times of the day.


> I have 3 linux boxes and 2 windows 98se boxes networked together.  On
one
> linux box I have RH7 with NAT configured and demand dialing.
> What I would like to do is make the demand dailing not available from
6:30am
> to 10am M-F.
>
> I have to do this because of the windows boxes and I need my phone line
> available those times.

Keep in mind that I am a newbie.

Wouldn't setting up two cron jobs do the trick?

at 6:30 Mon-Fri run stop pppd (with whatever script you use -
/etc/sysconfig/network-scripts/ifdown-ppp?)
at 10:00 Mon-Fri start it up again.

As long as pppd isn't running, nothing will be able to dial the phone.
Note that this solution may break other things - if you have an
application that attempts to dial out during the blackout period it will
get a destination host unreachable error because your default route
doesn't work.  That may or may not be a problem when that same application
wants to dial out again at noon.

HTH,

James



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to