satish patel wrote:
> I am not getting u how do i query from shell script to NAS ??

See your NAS docs.  SNMP may be an option if the NAS supports it (and FR
may be able to handle the query itself as another poster suggested), but
there may be other ways....

For instance, we have a couple scripts we use when we want to boot a
particular user.  They are simple bash scripts that use "expect" to
handle logging into our cisco modems and look for the tty that the user
is on and then clear that tty.  It has limitations as the cisco "show
users" command only shows so many characters of the username, but it is
used rarely and only by me.  This option may work for you depending on
your situation.

>  and what
> is FR packet??

I said that FR (FreeRADIUS) may not hear the stop packet (the stop
accounting record) from the NAS.

> if u have any script example script can u send me ....i
> am in problem :(

Have a look at bash scripting and expect.  It is fairly simple and you
may be able to get away with it.

Dennis Skinner
Systems Administrator
BlueFrog Internet
List info/subscribe/unsubscribe? See

Reply via email to