Running PPP via crontab

Odhiambo Washington wash at wananchi.com
Sun Apr 10 03:43:42 PDT 2005


Hello everyone,

I have setup a FreeBSD box which a friend of mine will run as a mail
server/firewall in his SOHO, using dialup (modem) to his ISP. Almost
everything is setup and running, even ppp can work when I manually
run through the dialup procedure.

I don't have much problem configuring what he will run on this box, but
one aspect has pinned me down. The ppp _MUST_ not run in "auto" or
"ondemand" modes. It must be initiated manually.

I would like to make a crontab entry that will run ppp after every one
hour. I don't have a problem with crontab, but how to invoke ppp via it
;)

I'd appreciate some hand-holding here. What shall I put as the command
that will be run by cron?



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Do you realize how many holes there could be if people would just take
the time to take the dirt out of them?


More information about the freebsd-questions mailing list