-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Radius wrote:
> Try radwho -r
> 
> to make sure your geting the full S  port number.
> 
> radzap does not drop their connection, it only deletes stale
> entries listed in radwho that are no longer connected

radwho -r
[EMAIL PROTECTED],[EMAIL PROTECTED],shell,S145,Thu 18:05,192.168.0.16

This is the answer... S145

What happen if the NAS have a power cycle and all the session onthe
switch have been reset. However due to the unnotice power down, the NAS
will not be able to send back all the session termination or anything...

And the users is no longer in the switch but still "as if" login in the
radius.

So is radzap use for this work?

Or some other tools is required.

Regards,
Chan Min Wai

P.s thank you for all the explain.
> 
> 
> 
> Chan Min Wai wrote:
> 
> Radius wrote:
>  
> 
>>>> Maybe you need to (sometime a ".")/usr/local/freeradius####/bin/radzap
>>>> etc.....
>>>>   
> 
> 
> My not working below is not a command not files, but it show the result
> after it run. But when I'm running radwho to see who is online still the
> old result I'm getting...
> 
> Example.
> 
> 1) 1st time running radwho, this is the zombie users... (disconnect but
> still with an open session)
> [EMAIL PROTECTED] root]# radwho
> Login      Name              What  TTY  When      From      Location
> [EMAIL PROTECTED] dcmwai<AT>ocesb.com. shell S145 Thu 18:05 192.168.0
> 
> 2) Running radzap and need to kill this zombies session...
> 
> [EMAIL PROTECTED] root]# radzap 192.168.0.16 S:S145 [EMAIL PROTECTED]
> Sat Mar 12 03:19:07 2005 : Info: Starting - reading configuration
> files ...
> 
> 
> 3) radzap finished, running radwho again... the same users still there..
> [EMAIL PROTECTED] root]# radwho
> Login      Name              What  TTY  When      From      Location
> [EMAIL PROTECTED] dcmwai<AT>ocesb.com. shell S145 Thu 18:05 192.168.0
> 
> 
> I do know one way to kill off all users connection but still it will
> leave the sql DB with an open account... that is to remove radutmp and
> radwtmp but it don't really help if you only want to remove the users on
> one NAS switch instate of all of them.
> 
> 
> Regards,
> Chan Min Wai
> 
> 
> 
>  
> 
>>>> Chan Min Wai wrote:
>>>>
>>>>   
>>>>
>>>>> Radius wrote:
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>> Radzap is mainly for the stale radwho that are not there but still
>>>>>> showing loged in.
>>>>>>  
>>>>>>       
>>>>>
>>>>> Yep that user is already logout due to a power cycle/reboot in the NAS.
>>>>> So radzap is the right tools to get the "zombie" users off radius.
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>> radwho first to see the one you want.
>>>>>>
>>>>>> then do a radwho -r to get the detailed .
>>>>>>
>>>>>> radzap 111.111.111.111 S560 [EMAIL PROTECTED]
>>>>>>  
>>>>>>       
>>>>>
>>>>> Ok it is not working....
>>>>>
>>>>> 111.111.111.111 is the NAS switch iP.
>>>>> S560 is the Connection Port.
>>>>> [EMAIL PROTECTED] is the userlogin name.
>>>>>
>>>>> Well, any other debug message or anything I should before continue?
>>>>>
>>>>> I really want to get this function working...
>>>>>
>>>>> Regards,
>>>>>
>>>>> Thank you
>>>>> Chan Min Wai
>>>>>
>>>>>
>>>>> - List info/subscribe/unsubscribe? See
>>>>> http://www.freeradius.org/list/users.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>
>>>> - List info/subscribe/unsubscribe? See
>>>> http://www.freeradius.org/list/users.html
>>>>   
> 
> 
>>
- - List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>>
>>

>>


> - List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCM8IWV0p9slMZLW4RAlb3AKDFJA+Ss99dN2bxR90HqyKQc2KfQQCgvCVR
jPgqzR4It+YO8gGFeVAgv78=
=tPC0
-----END PGP SIGNATURE-----

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to