"Pay someone to monitor users."I have "asked" both Google Bard and ChatGPT but the suggestions they provide don't work.
Kid Control only allows for certain hours per day (noon to 2, etc) as opposed to 2 hours of general usage. I am trying to limit access to 2 hours regardless of when that access starts.
You would be shocked at what they came back with actually. They provided very detailed ways to use command line and the GUI to make the requested changes that looked like they should work (but didn't!). For instance this is what ChatGPT suggested:"Pay someone to monitor users."I have "asked" both Google Bard and ChatGPT but the suggestions they provide don't work.
Fantasy Novels don't work in real life...
That will always be difficult, because you will not be able to tell the difference between "device is actually being used" and "device is switched on but has been put aside and kid is doing homework".Kid Control only allows for certain hours per day (noon to 2, etc) as opposed to 2 hours of general usage. I am trying to limit access to 2 hours regardless of when that access starts.
I hear you loud and clear, and I am not advocating for any of these AI services in this capacity. I am simply suggesting that I couldn't figure out how to do this on my own, and after searching far and wide in many forums I figured I would give the AI a shot. It completely blew it as you pointed out by asking me to configure settings which don't exist. So now that we all agree AI can't help, is there actually a way to do this?ChatGPT is just a means of entertainment, you have to believe in what it tells you, so it writes it and invents it in a plausible way.
Is like watching a science fiction film, it must be at least plausible, but then in reality everything is not always possible...
Can't you see it's all bullshit?
And can't you see that there are invented instructions?
"Timeout" as you mean (2h/day) doesn't exist...
And if for hypotesys that "Timeout" parameter actually exists, it's to limit only THAT link to download that single item...
Every time you open something else the timer would start from zero...
I am fine breaking this down however it is needed. Can a timer be set the moment a packet is sent/received? He will need to understand that "power on" means the timer is ticking, and I have no issue with enforcing that.That will always be difficult, because you will not be able to tell the difference between "device is actually being used" and "device is switched on but has been put aside and kid is doing homework".
Kid Control only allows for certain hours per day (noon to 2, etc) as opposed to 2 hours of general usage. I am trying to limit access to 2 hours regardless of when that access starts.
Is that 2 hours needs to be accumulated in current day or just allow 2 hours period after first connection in current day?Kid Control only allows for certain hours per day (noon to 2, etc) as opposed to 2 hours of general usage. I am trying to limit access to 2 hours regardless of when that access starts.
Probably thats'it..2 hours of access per day
But then you need to detect which traffic needs to be accumulated as active time because devices are generating trafic on idle (background services, push...). This will be hard to accomplish, unless to cumulate dhcp lease time, then it will be cumulative hours of assigned device on dhcp, which means for home static devices (eg. computer connected over wire) it will worn out 2h immediately after reset if they are always plugged and powered.Total 2 cumulative hours, every 24 hours.
Maybe the counter shouldn't restart at a time like 24:00 otherwise it would "surf" for 4 hours in a row... (and nothing for the remaining hours of the day)
Then lease script can track time byA DHCP lease with expire time of 5 min can do the trick.
Just count the total time that the lease is still active on the day.
leaseActMAC=<device MAC>
At this time, is really a child?Also add-arp shuld be enabled for DHCP interface to avoid using static IP's.
Who knows... you are underestimating AI bots recommendations
At this time, is really a child?
My dad had simple solution - turn off fuse for power sockets in my room (no on battery internet devices in my time)We've all been children, then teenagers, etc... we don't kid ourselves
I don't think it has to be extremely accurate to the minute, and nowadays with all the parasitic traffic,
it's obvious that the device has to be completely turned off,
otherwise the count continues even if it's not being used by the user (but the device it using itself) ...
A DHCP lease with expire time of 5 min can do the trick.
Just count the total time that the lease is still active on the day.
This is good but seems that I need to manually watch the consumption and then take action if I am reading it correctly? Ideally this would run on its own, whether I am at work or out at the store, to ensure the MAC or IP can't access the internet more than 2 hours in any given 24 period. Basically I don't want to have to manage this, I am looking for "set it and forget it" kind of thing.A variation on @pe1chl model that more closely reflects the OP's need to check for "consumed time" could be to check the devices for traffic with a 1 minute interval using "kid-control" and a script which @rextended probably already has up in his sleeves.
--
- Activate a monitor: "/ip/kid-control add name=Monitor mon=0s-1d tue=0s-1d wed=0s-1d thu=0s-1d fri=0s-1d sat=0s-1d sun=0s -1d"
- Create an address list of devices and a firewall rule per device.
- Match the device ether from the address list with "/ip/kid-control/device" and compare traffic per minute.
- When the time spent exceeds 120 minutes, enable the firewall rule for the affected device that prevents internet access.
- Reset after a certain time and start over from point 3.
Done, easy-peasy!
I've checked the date of the post ... i wished it was the 1st of April. It wasn't....I have "asked" both Google Bard and ChatGPT but the suggestions they provide don't work. I figured the experts here might know how to set this up in a router running v6.48.2 (stable).
Can you please explain in further detail? This is a wired connection I am trying to manage if that helps.As mentioned already, hotspot functionality should do it. macauth + radius "daily session time".
I am writing "should do it", because standard MT hotspots are not so advanced like coova-chilli hotspots, running on openwrt.
The bold part above is the issue as I can't figure it out.Check the settings under "IP->kid control", put settings like the above to keep stats on all local devices using internet.
Now you can look in the "devices" tab of that page and see all your devices and how much data they consume.
You can even make them "static" and assign a name to them (when it isn't already obvious from the hostname).
Now the creative work starts, because you want something that this kid control does not support: a 2-hour window per day.
So you will need to write a script that gathers data from here and adjusts the firewall. When your requirement was "he can use the internet each day from 18:00 to 20:00 only" then kid control could already do it by just configuring that time range.
Can you be more specific?3th time : hotspot