[TriLUG] Modem Disconnect
Aaron S. Joyner
aaron at joyner.ws
Mon Feb 23 15:06:48 EST 2004
John Warf wrote:
>This may be a little off topic for this group but here goes.
>I have recently gotten a new Cisco access server and have users dialin in to
>a pri circuit to access the internet from home. I need a way to see exactly
>who is online. I also need a way to disconnect users that have idled past
>there time or if all of my lines are full.
>I can telnet into my access server to find my users but would like to just
>be able to enter one command to login to the server and display my users
>from my linux box.
>I also need some software to disconnect users. I would prefer it to be
>free. Any suggestions are greatly accepted.
I am not aware of anything that's currently available to fill the niche
you require, but it wouldn't be that hard to roll your own with the
Net::Telnet::Cisco PERL module. Makes it pretty much a piece of cake to
interface with Cisco devices programatically from PERL. Check it out on
CPAN here: http://search.cpan.org/~joshua/Net-Telnet-Cisco-1.10/Cisco.pm
If you need further assistance in getting the PERL ironed out to use
Net::Telnet::Cisco, just let me know.
More information about the TriLUG