Re: [Mikrotik] Net::Telnet Mikrotik

2010-07-01 Thread Justin Marshall
Of Blake Covarrubias Sent: Wednesday, June 30, 2010 3:47 PM To: Mikrotik discussions Subject: Re: [Mikrotik] Net::Telnet Mikrotik I've seen telnet take a while to respond before login if there are no DNS resolvers programmed in the unit. Just curious, but have you thought about using the API

Re: [Mikrotik] Net::Telnet Mikrotik

2010-07-01 Thread Sam Tetherow
[mailto:mikrotik-boun...@mail.butchevans.com] On Behalf Of Blake Covarrubias Sent: Wednesday, June 30, 2010 3:47 PM To: Mikrotik discussions Subject: Re: [Mikrotik] Net::Telnet Mikrotik I've seen telnet take a while to respond before login if there are no DNS resolvers programmed in the unit. Just curious

Re: [Mikrotik] Net::Telnet Mikrotik

2010-07-01 Thread Robert Andrews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! That made my ssh's totally instantaneous! Huge difference. Robert On 07/01/2010 09:35 AM, John Vogel wrote: Depending on the MT version... at some point around 3.2 MT added an option to append +ct to the username to suppress ansi

Re: [Mikrotik] Net::Telnet Mikrotik

2010-07-01 Thread Rory McCann
+1 That sped up one of my scripts significantly as well. I was using telnet via ASP. On 7/1/2010 11:39 AM, Robert Andrews wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! That made my ssh's totally instantaneous! Huge difference. Robert On 07/01/2010 09:35 AM, John Vogel

Re: [Mikrotik] Net::Telnet Mikrotik

2010-07-01 Thread Justin Marshall
To: Mikrotik discussions Subject: Re: [Mikrotik] Net::Telnet Mikrotik Depending on the MT version... at some point around 3.2 MT added an option to append +ct to the username to suppress ansi output and terminal type detection (I think thats what they do). Try changing the login username to admin

Re: [Mikrotik] Net::Telnet Mikrotik

2010-06-30 Thread Scott Reed
I use an expect script that does the telnet. It is reasonably fast. Justin Marshall wrote: Hi, I'm trying to write a simple perl script to automate things on our network. I'm using Net::Telnet and (in this case) i would like it just to disable ports 2-5 re-enable them. The script does what

Re: [Mikrotik] Net::Telnet Mikrotik

2010-06-30 Thread Blake Covarrubias
I've seen telnet take a while to respond before login if there are no DNS resolvers programmed in the unit. Just curious, but have you thought about using the API? http://forum.mikrotik.com/viewtopic.php?f=9t=22744 -- Blake Covarrubias On Jun 30, 2010, at 11:16, Justin Marshall