RE: Net::Telnet

2005-06-02 Thread John Serink
.Tesch [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 02, 2005 9:22 PM > To: Thomas, Mark - BLS CTR; John Serink; Rajesh Vattem; > perl-win32-users@listserv.ActiveState.com > Subject: RE: Net::Telnet > > > I have had no issues using Net::Telnet on XP Pro that are > usin

RE: Net::Telnet

2005-06-02 Thread John Serink
Correct. > -Original Message- > From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 02, 2005 8:35 PM > To: John Serink; Rajesh Vattem; > perl-win32-users@listserv.ActiveState.com > Subject: RE: Net::Telnet > > > John wrote: >

RE: Net::Telnet

2005-06-02 Thread Aaron.Tesch
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas, Mark - BLS CTR Sent: Thursday, June 02, 2005 7:35 AM To: 'John Serink'; Rajesh Vattem; perl-win32-users@listserv.ActiveState.com Subject: RE: Net::Telnet John wrote: > its does not work on these servers: > Windows

RE: Net::Telnet

2005-06-02 Thread Thomas, Mark - BLS CTR
John wrote: > its does not work on these servers: > Windows 2000 Pro, > Windows XP pro, > Windows 2000 server pro, > Windows server 2003. > > Reason is, the new windows server uses ANSI codes and you CAN'T turn > them off like on a UNIX box. These ANSI codes garble up the > responses to Net::Teln

RE: Net::Telnet

2005-06-01 Thread Thomas, Mark - BLS CTR
When Net::Telnet doesn't do what you expect, 99% of the time it's a prompt issue. Did you set the prompt? The default prompt works with the unix command line, but you'll have to set it to work with your application. I highly recommend using the debugging options; they can help you figure out probl

RE: Net::Telnet

2005-06-01 Thread Peter Eisengrein
> Hi, > I am using this module (Net::Telnet) downloaded from CPAN, > for a small > interactive program in which I telnet to a particular host, > login and give > some commands (based on the options you get). I am not able > to do this. I am > able to login but whatever I do after that doesn't

Re: Net::Telnet and Windows Telnet Server --- any alternatives?

2005-03-17 Thread Chris Wagner
The Hummingbird telnet works like a normal terminal but is non free. For scripting a telnet session I would use Expect anyway. For a free telnet server that is terminal like I would(and do) use Cygwin. U can even use bash as the shell. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911

Re: net::telnet question

2004-12-30 Thread Sisyphus
[EMAIL PROTECTED] wrote: And 2-nd question: how to start fixed program/without params/ on windows98 box from linux box (on a local network) ? You can 'use IO::Socket;' on the Windows box to set up a simple server, and 'use IO::Socket;' on the linux box to send the "start" message to the server on

Re: net::telnet question

2004-12-30 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hi! > Is there telnet server for windows98 > which works with Net::Telnet ? > I downloaded some 6 servers > some of them are not working > at all,some does't work > with Net::Telnet I doubt that - you're doing something wrong in your script or the server isn't set up ri

Re: Net::Telnet::Cisco script not waiting for prompt

2004-02-29 Thread James Brown
Hi Howard, I have some experience in writing scripts with this excellent module, some of which have been used on c2500 routers. Sometimes, I find that setting the terminal length to zero at the start of the script can help: @output=$RSession->cmd(String => 'term length 0', Timeout => '3'); (y

RE: Net::Telnet and Term Type

2003-07-21 Thread Andrew Timberlake-Newell
Normally, that cmd would do the trick.  Unfortunately, my script needs to connect to a login without shell access, so I can’t set TERM that way on the remote (UNIX) box.  The login is given a menu from the start, and it is from that menu that I call the program that wants to see ‘vt100’.  

Re: Net::Telnet on Win2K

2002-12-13 Thread Kevin Pendleton
John, The problem is outlined in the Net:Telnet documentation. The "loads of gibberish" is ANSI terminal escape characters. I haven't worked with that exact telnet application, but some allow you to turn ANSI off and on http://search.cpan.org/author/JROGERS/Net-Telnet-3.03/lib/Net/Telnet.

RE: Net::Telnet on Win2K

2002-11-27 Thread John Serink
> Sent: Thursday, November 28, 2002 12:56 PM > To: John Serink; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: Net::Telnet on Win2K > > > John, > > The problem is outlined in the Net:Telnet documentation. The > "loads of > gibberish" is ANSI terminal

RE: Net::Telnet on Win2K

2002-11-27 Thread Allegakoen, Justin Devanandan
--8<-- When a TELNET server first accepts a connection, it must use the ASCII control characters carriage-return and line-feed to start a new line (see RFC854). A server like the "Microsoft Telnet Server" that doesn't do this, isn't a TELNET server. These serv

RE: NET::Telnet

2002-09-17 Thread John Serink
;"show users"'); @jim=$telnet->waitfor('/\>$/'); Its similar for W2K except that Username is login. > -Original Message- > From: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 12:20 AM > To: [EMAIL PROTECTED] &g

RE: NET::Telnet

2002-09-17 Thread Story, Lenny
17, 2002 1:22 PM To: Jitendra Soam; [EMAIL PROTECTED] Subject: RE: NET::Telnet The Prompt is a regular expression that matches the commandline prompt from the remote shell. That means you'll want to match the prompt for the user you are logging in as. If I log into one of my remote windows

RE: NET::Telnet

2002-09-17 Thread Carter Thompson
Before anyone else mentions it - please add the "use NET::Telnet" in the example. I told you it was untested. ;-) Carter. > -Original Message- > From: Carter Thompson > Sent: Tuesday, September 17, 2002 10:22 AM > To: Jitendra Soam; [EMAIL PROTECTED] >

RE: NET::Telnet

2002-09-17 Thread Carter Thompson
---Original Message- > From: Jitendra Soam [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 7:39 AM > To: [EMAIL PROTECTED] > Subject: RE: NET::Telnet > > > > Thanks. > > But the what should be used as prompt? > > > > -Original

RE: NET::Telnet

2002-09-17 Thread Thomas R Wyant_III
M Sent by:[EMAIL PROTECTED] To:<[EMAIL PROTECTED]> cc: Subject:RE: NET::Telnet Thanks. But the what should be used as prompt? -Original Message- From: Thomas R Wyant_III [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 7:01 PM To: [EMAIL PROTECTED] Subject: R

Re: net::telnet

2001-04-11 Thread Ron Grabowski
> $telnet->cmd("su");   su should require a password so normal users cannot arbitrarly become root.  

Re: net::telnet

2001-04-11 Thread Ted W.
I have no familiarity with the Net::Telnet module, but I believe the SU syntax is actually 'SU -' to open a shell that you can log into. TW On Wed, 11 Apr 2001, John Williams wrote: > I've had success with the Net::Telnet module. But I can't get the SU > command to work. It times out waiting