Community discussions

 
DanielBaca
just joined
Topic Author
Posts: 2
Joined: Sun Nov 04, 2018 8:09 am

Remove unregistered users one by one, not in bulk

Sun Nov 04, 2018 8:24 am

I'm using a rb1100ahx2 for 140 radius usermanager users, some eventually lose connection and are denied by radius so I made a script to kick all unregistered every 3 minutes and eventually they go active, the problem resides that radius is beginning to fail due to MANY kicked and wanting to go active at the same time, and they never go active even the new profile ones and I have to kick them manually

Sometimes users even are shown as active but they have no internet, so I add them again a profile on user manager then kick them manually and they get internet. It's annoying for them.

Is there a way to kick unregistered Hotspot hosts one by one to avoid this radius saturation processing issue?

Thank you, from Mexico 🇲🇽
 
vasilaos
Frequent Visitor
Frequent Visitor
Posts: 91
Joined: Tue Aug 04, 2009 9:50 am

Re: Remove unregistered users one by one, not in bulk

Sun Nov 04, 2018 10:29 am

My radius dosent fail due to many users trying to login at same time. Thats not normal. Authentication should be done without a porblem for more than 1 user at same time and alredy autheticated users shouldnt be affected. Maybe you are kicking autheticated users too at same time. My script looks like this:
 
 :foreach i in=[/ip hotspot host find where address~"10.120.[2-3 \\]" authorized=no bypassed=no] do={ 
/ip hotspot host remove $i
}
 
I kick only on a range where i put mac authentication users, unauthorized alredy and no baypassed. This way when a user makes a paymet he will be authorised automatically after 2-3 minutes.
 
DanielBaca
just joined
Topic Author
Posts: 2
Joined: Sun Nov 04, 2018 8:09 am

Re: Remove unregistered users one by one, not in bulk

Tue Nov 06, 2018 9:55 pm

Thank you, I'll give this a try. Ive been kicking bypassed and unauthorized at the same time via kick idle timeout=5:00.

Who is online

Users browsing this forum: No registered users and 13 guests