On Tue, 21 Dec 1999 [EMAIL PROTECTED] wrote:
jl> Just a follow up to my previous message.. what I am actually looking for is the
jl> proper structure for the use of the restrict command. In my case I want to force
jl> the line up at 5 PM, and bring it down (disconnect completely, not time out) at
jl> 3 AM. Then it should remain on-demand dial mode from 3 AM until 5 PM in the
jl> afternoon. Should it be something like this?
jl>
jl> restrict 17:00:00 03:00:00
jl> up
jl> restrict * * * * *
jl> down
jl> include /usr/lib/diald/standard.filter ?????
jl>
jl> - Please help me correct, thanks!
jl>
To have on-demand still function, you will need to remove the down line,
as you are saying "restrict * * * * *" down which means all other times
its forced down. So you would write it as follows
restrict 17:00:00 03:00:00
up
restrict * * * * *
include /usr/lib/diald/standard.filter
which basically says between the hours of 5pm and 3am, force the
connection up. Since I havn't placed a up or down command following the
second restrict, I basically told it to be on-demand for all other hours
and days.
jl>
jl> -
jl> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
jl> the body of a message to [EMAIL PROTECTED]
jl>
--
S.Toms - [EMAIL PROTECTED] - homepage is in the works
SuSE Linux v6.2+ - Kernel 2.2.13
To the systems programmer, users and applications serve only to provide
a test load.
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]