[isf-wifidog] Force user logout using username.

Menil Jean-Philippe Jean-Philippe.Menil at univ-nantes.fr
Jeu 19 Fév 02:05:44 EST 2009


Ville Leinonen a écrit :
> 
> Hi all,
> 
> Is there anyway to force user logout in commandline
> or if somebody has make some script to do that, it
> would be nice too?
> 
> Br,
> 
> Ville
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
Hi,

you can do it easily with the wdctl command:

wdctl -h
Usage: wdctl [options] command [arguments]

options:
   -s <path>         Path to the socket
   -h                Print usage

commands:
   reset [mac|ip]    Reset the specified mac or ip connection
   status            Obtain the status of wifidog
   stop              Stop the running wifidog
   restart           Re-start the running wifidog (without disconnecting 
active users!)

So, with a wdctl 192.168.1.3, you can reset the specified client.

Regards.

-- 
Menil Jean-Philippe
DSI de l'Université de Nantes
tél: 02 51 12 53 92
Fax: 02 51 12 58 60
Jean-Philippe.Menil at univ-nantes.fr


Plus d'informations sur la liste de diffusion WiFiDog