Quote:
Originally Posted by EverydayDiesel
Is there a way to bring up/down interfaces for different hours of the day?
|
Sure.
- Look at the ifconfig(8) manpage to figure out how to construct the command to take an interface up & down.
- Look at the cron(8) & crontab(1) manpages to set up when to bring up the interface (8:00am), & when to bring it down (11:00pm).
Quote:
I am looking to make eth1...
|
Ewww, Linuxisms. Yuck.
Although the following article was written to address FreeBSD, cron is pretty standard across most Unix derivatives, & hey, it is written by Dru Lavigne, &
anything from Dru Lavigne is noteworthy.
http://www.onlamp.com/pub/a/bsd/2000...cs.html?page=1
And when it comes to OpenBSD,
always correlate information back to what can be found in the manpages.