Hello guys. I was trying to conceptualize a script to do a job on an Access Point of the place I work for. It’s a public AP. However it gets a little full some times.
I was thinking about a script which would run every minute and would do the following:
1 - When the wireless interface registration table reaches an arbitrary number (like, say, 10) the script would give true to a conditional to perform the next steps
2 - The script analyses which mac address has the longer uptime and calculates how many mac addresses have to be removed to establish the maximum capacity arbitrarily set in the script
3 - The script takes the mac addresses with the longer uptime and ban them for an amount of minutes (like 30 for example) on a list or something
4 - The script ends
Would that be feasible through scripting? ![]()
Thanks guys. Please forgive me for not knowing how to do it. I’m quite a beginner with scripting (and with English).