Hello, I have configured a captive portal with openwisp-radius (running on virtualenv locally) with free radius. I am able to use it to authenticate and accounting + basic function to create user through GUI, etc. also ok.
I do have some question below about the 'users' group The default group 'users' have a limits users sessions to 3 hours and 300 MB (reset daily) 1. I noticed that the user will not be disconnected immediately if user breach his daily data limit? I understand that radius need to send disconnect request (COA) to do this. Instead of disconnect request, I have a specific command/script that I would like to run to disconnect the user from my NAS if users breach the limit. Where can I configure this? 2. I want to create a new group with a specific bandwidth limit but it will not reset. I understand from the doc that the reset period 'never' is already available but it is suggested to subclass openwisp_radius.counters.base.BaseCounter, and once the new class is ready, you will need to add it to OPENWISP_RADIUS_COUNTERS (https://openwisp-radius.readthedocs.io/en/stable/user/enforcing_limits.html) Is there any example that I can follow to do this? as I have limited django/python or in scripting background. Thanks! -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/e7a1c582-7ed8-4d75-a12a-74cfcd063052n%40googlegroups.com.
