Community discussions

MikroTik App
 
maxxch
just joined
Topic Author
Posts: 19
Joined: Tue Sep 20, 2005 10:38 pm

Kick out wireless client

Tue Feb 21, 2006 10:37 pm

Im using MT with radius authentication. But if i disable user in radius it does not kick him out until next asossiation.
Anyone knows how to kick him out by script from linux(snmp or smth else)???
 
User avatar
sublimespot
newbie
Posts: 45
Joined: Sun Sep 11, 2005 2:00 am

Wed Feb 22, 2006 9:53 pm

Turn on Radius Incoming and send a Radius Disconnect message. I use php to fire off a command line command to do this.
 
meshnet
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Tue Jun 01, 2004 6:57 pm

Thu Feb 23, 2006 12:15 am

Curious how are you sending a radius command from php?
php_radius?
 
User avatar
sublimespot
newbie
Posts: 45
Joined: Sun Sep 11, 2005 2:00 am

Thu Feb 23, 2006 1:02 am

Using php's exec() command with the following:
$cmd = "echo NAS-IP-Address=$nas_ip_address,User-Name=$mac,Framed-IP-Address=$framed_ip_address,Acct-Session-Id=$acct_session_id | radclient $nas_ip_address:1700 disconnect $radius_password";

Who is online

Users browsing this forum: Choc555 and 18 guests