What's new

parental time scheduling using cron ?

nrgiii

New Around Here
RT-AC88U running 384.19. Wired internet only, both radios are off.

Enabling hardware acceleration (CTF in my case) disturbs the parental time scheduling features.
As an alternative, I was thinking of writing scripts that call iptables to enable / disable my kid's PCs at certain times by mac address.
Something like this to disable the PC at bedtime:

iptables -A INPUT -m mac --mac-source <MAC address> -j DROP

A few questions for those with more router Linux experience than I:

1) Is there any reason not to go down this path? Any "gotchas" to worry about?
2) Is the crontab preserved between router reboots? I would assume so.
3) Do I edit crontab with crontab -e ?

thanks,

nrgiii
 
Just tried your script, unfortunatelu conntrack doesn't work on the 386.1 final build, giving "invalid parameter" error.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top