disconnecting a session...
I figured this would come up a couple times in discussions, but havnt found anything in the past few months worth of archives.. Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing). Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too.. - - - Jon Myers The Circuit's Edge (ISP)
We're using the HiperDSP cards, so I don't know if it applies to your equipment, but we use Total Scrutinizer, and it has the ability to disconnect a session if it knows the read/write snmp password. Seth ----- Original Message ----- From: "Jon Myers" <joeshmo@infoblvd.net> To: <usr-tc@mailman.xmission.com> Sent: Friday, December 06, 2002 6:34 PM Subject: [USR-TC] disconnecting a session...
I figured this would come up a couple times in discussions, but havnt found anything in the past few months worth of archives..
Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing).
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
- - - Jon Myers The Circuit's Edge (ISP)
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
The whole idea for the disconnecting the sessions was because I'm writing an authentication module for radius (xtradius actually). I'm doing something unique with multiple logons. Insted of just disallowing the second session, I'm going to first disconnect the first session, then refuse the second. That'll teach 'em to give out thier passwords. I'll probably also have something in there to email the user to let them know why they got the boot. For anyone interested, heres how I disconnect the session (using a python script, in unix): import sys, telnetlib host = 'my.totalcontrol.rack.net' user = '!root\r' password = 'mypassword\r' cmd = 'reset S22\r' tn = telnetlib.Telnet(host) tn.read_until('ogin: ') tn.write(user) tn.read_until('assword: ') tn.write(password) tn.read_until('Command') tn.write(cmd) tn.read_until('Command') tn.write('quit\r') so my radius auth script just creates this file, making "cmd" have the correct port, and forks off a process to run it if the user is already logged in. Also, I will now be able to disconnect users from a web page (from my online.php page most likely). At 08:42 PM 12/6/2002 -0800, you wrote:
We're using the HiperDSP cards, so I don't know if it applies to your equipment, but we use Total Scrutinizer, and it has the ability to disconnect a session if it knows the read/write snmp password.
Seth
----- Original Message ----- From: "Jon Myers" <joeshmo@infoblvd.net> To: <usr-tc@mailman.xmission.com> Sent: Friday, December 06, 2002 6:34 PM Subject: [USR-TC] disconnecting a session...
I figured this would come up a couple times in discussions, but havnt found anything in the past few months worth of archives..
Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing).
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
- - - Jon Myers The Circuit's Edge (ISP)
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
http://www.shrestha.net.np/aadish/junkbox there u wil find shell script that uses snmp to disconnect user. --- Seth Jacobs <sjacobs@onramp113.com> wrote:
We're using the HiperDSP cards, so I don't know if it applies to your equipment, but we use Total Scrutinizer, and it has the ability to disconnect a session if it knows the read/write snmp password.
Seth
----- Original Message ----- From: "Jon Myers" <joeshmo@infoblvd.net> To: <usr-tc@mailman.xmission.com> Sent: Friday, December 06, 2002 6:34 PM Subject: [USR-TC] disconnecting a session...
I figured this would come up a couple times in discussions, but havnt found anything in the past few months worth of archives..
Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing).
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
- - - Jon Myers The Circuit's Edge (ISP)
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com
http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com
http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Hi Jon,
Does anyone know of a way (pref. via SNMP) to disconnect a session? We have a NETServer card (as opposed to an edgeserver). The chasis has mostly quadmodems, but also two HiPer cards (umm.. those thingys that take a chan. T1 directly, and have the 24 modems on 'em DSP? Arc? don't know what you call those things, a bit new to thile whole TC rack thing).
The easiest way is to bring up the chassis in TCM. click only on the modem you want to place back on hook. It will turn blue. Click on the tool bar item called "Configure" then select "Action/Commands" then select "On Hook" in the "Command to Execute" pull down. Click the Execute button to send the command. You will see the modem hang up.
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
I had this problem early on when I was running versions of firmware on various cards that did not exactly like each other. Some versions were buggy too. I'm running 3.8.77 and 3.7.24 in my netservers. What version are you running? Cheers, -Tom H.
Netserver is 3.8.1 NMC is 5.5.5 At 08:50 AM 12/7/2002 -0700, you wrote:
Also, for some strange reason, I can only talk to the NETServer card. The NMC card works for about a day or two, then will not respond to the console port, or network. Yet the rack continues to function correctly (take calls, do radius requests, etc..) An answer to this would be nice too..
I had this problem early on when I was running versions of firmware on various cards that did not exactly like each other. Some versions were buggy too. I'm running 3.8.77 and 3.7.24 in my netservers. What version are you running?
Cheers, -Tom H.
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc
participants (4)
-
Jon Myers -
Kancha . -
Seth Jacobs -
Tom Harberts