> I am set up a ppp server on my linux machine. I would like to ask is it
> possible to limit the ppp access in certain time period, says allow the
> ppp access from 7:00pm to 9:00am only. The rest time will be deny the
> ppp access.
One way to do this (not that I've actually implemented it) is to configure
your "getty" program to simply not pick up the phone during these hours.
(the modem must be set to not Auto-answer) From the man pages for mgetty
1.1.18:
FILES
.
.
.
/etc/nologin.ttyxx
controls whether mgetty should pick up the phone
upon incoming calls. If the file exists, calls are
completely ignored. You can use this, for example,
to stop mgetty during day time, and let it pick up
at night only, by creating and removing /etc/nolo-
gin.ttyxx via the cron program at the appropriate
time.
******************************************************************************
Glen W. Mabey
[EMAIL PROTECTED]
http://cc.usu.edu/~slbk9/
******************************************************************************
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]