<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PIPE something into TELNET on Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472036#M90417</link>
    <description>Another good shot Mike,&lt;BR /&gt;I never tried this SNMP stuff on this, but this sounds quite good. I'll wait with point assignments, until I know the value of this answer a little bit better :-)&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Volker</description>
    <pubDate>Tue, 12 Dec 2000 15:05:11 GMT</pubDate>
    <dc:creator>Volker Borowski</dc:creator>
    <dc:date>2000-12-12T15:05:11Z</dc:date>
    <item>
      <title>PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472027#M90408</link>
      <description>Hi,&lt;BR /&gt;I have a nice Script to backup my Cisco-Router-Configs to a tftp-Server running on HP-UX.&lt;BR /&gt;The script works like this:&lt;BR /&gt;- Setup a complete string-sequence to do the entire job&lt;BR /&gt;- Echo $BACK | telnet cisco-router&lt;BR /&gt;This works fine on HP-UX 10.20 and 11.00&lt;BR /&gt;&lt;BR /&gt;Now I wanted to switch this backup to run on a Linux box, and it appears, that the Linux telnet is not accepting anything which is piped inside.&lt;BR /&gt;Runing the telnet manually and clipping the entire sequence into the terminal session works as well.&lt;BR /&gt;How do I disable Linux Telnet to flush the initial Input ?&lt;BR /&gt;I already tried to set up telnet options:&lt;BR /&gt;unset autoflush&lt;BR /&gt;mode character&lt;BR /&gt;Did not help :-(&lt;BR /&gt;&lt;BR /&gt;Running RedHat 6.1 Blue Sky (SAP) Edition?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 08 Dec 2000 14:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472027#M90408</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-08T14:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472028#M90409</link>
      <description>I guess that I would have a different approach.  Might I suggest that you launch the command stream on the remote node?&lt;BR /&gt;&lt;BR /&gt;I guess I do not see the point in getting the script from the telnet session on Linux, especially when Linux is extremely capable of storing and/or scheduling it's own processes.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.</description>
      <pubDate>Fri, 08 Dec 2000 14:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472028#M90409</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-12-08T14:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472029#M90410</link>
      <description>Perl's NET::Telnet and NET::Telnet::CISCO modules may have what you're looking for.  Check &lt;A href="http://www.cpan.org." target="_blank"&gt;www.cpan.org.&lt;/A&gt;</description>
      <pubDate>Fri, 08 Dec 2000 21:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472029#M90410</guid>
      <dc:creator>Mike McKinlay</dc:creator>
      <dc:date>2000-12-08T21:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472030#M90411</link>
      <description>Thanks Albert, &lt;BR /&gt;that is really the thing one should do in general. But I guess it will not work in this case, as the cisco (IOS) router is (as far as I know) not able to execute a scheduled script (Any input on this is welcome). So there is little chance to change the procedure.&lt;BR /&gt;Best Regards&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 11 Dec 2000 08:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472030#M90411</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-11T08:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472031#M90412</link>
      <description>Hello Mike,&lt;BR /&gt;could you please be a little bit more specific. Can I get a diffrent telnet there, which is capable of what I need, or an extension to my ciscos IOS, which can schedule the backupscript ?&lt;BR /&gt;Best Regards&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 11 Dec 2000 08:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472031#M90412</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-11T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472032#M90413</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;Couldn't you poll the Cisco Router Remotely to extract the configuration?  Doesn't Cisco support the ftp command?  You should be able to lock down the command from the Console to enable it.&lt;BR /&gt;&lt;BR /&gt;I am certain that there is a solution to this, as Cisco has supplied a Tool which will download the current configuration for any device which has the passwords.  You got those, right?&lt;BR /&gt;&lt;BR /&gt;Thanks for the points!  We'll get this ironed out for you, one way or another.&lt;BR /&gt;&lt;BR /&gt;Talk to you soon.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2000 16:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472032#M90413</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-12-11T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472033#M90414</link>
      <description>The Perl modules will allow you to use perl to script a telnet process and capture the data you receive during the telnet.  In essense, this is a different "telnet" process running within the perl script.</description>
      <pubDate>Mon, 11 Dec 2000 17:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472033#M90414</guid>
      <dc:creator>Mike McKinlay</dc:creator>
      <dc:date>2000-12-11T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472034#M90415</link>
      <description>Another option:  using SNMP to get the config.  This came in from the OVFORUM this morning:&lt;BR /&gt;&lt;BR /&gt;"There are a few scripts on the OVFI FTP site: ftp.ovforum.org that will&lt;BR /&gt;get the router config via SNMP.  I believe they are ciscocfg and cswcmd."</description>
      <pubDate>Tue, 12 Dec 2000 14:32:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472034#M90415</guid>
      <dc:creator>Mike McKinlay</dc:creator>
      <dc:date>2000-12-12T14:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472035#M90416</link>
      <description>Hello Mike,&lt;BR /&gt;that sounds good, although I am no Perl expert. I'll delay this approach until the simple solution will not do it's job. But it might be a way....&lt;BR /&gt;May be I can use this diffrent telnet without Perl, as I have everything ready and working, except that Linux Telnet is flushing the input:-(&lt;BR /&gt;Thank's a lot.&lt;BR /&gt;&lt;BR /&gt;Hello Albert,&lt;BR /&gt;I am on ciscos for quite a while now, and the only way I found out until now, is to login to the router (console or telnet), and issue the "copy config tftp" command, which prompts you for the target server and filename.&lt;BR /&gt;I found no way to login to the Router with a ftp client, as the Router provides no FTP daemon or service (that would be a nice thing).&lt;BR /&gt;Anyway, I have a working solution on HPUX, which does not work on Linux because of telnet's behavior. So my first approach is to make linux telnet work like the one on HPUX.&lt;BR /&gt;If this does not work, I would try to use a diffrent telnet, and if this does not work, i would consider a structural change.&lt;BR /&gt;&lt;BR /&gt;BTW, unless the number of routers you have to work with is equal to one, and the frequency of changes to this router is one per quarter&lt;BR /&gt;-&amp;gt; Forget about this config tool.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 12 Dec 2000 14:41:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472035#M90416</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-12T14:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472036#M90417</link>
      <description>Another good shot Mike,&lt;BR /&gt;I never tried this SNMP stuff on this, but this sounds quite good. I'll wait with point assignments, until I know the value of this answer a little bit better :-)&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 12 Dec 2000 15:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472036#M90417</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-12T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472037#M90418</link>
      <description>Hello Mike,&lt;BR /&gt;although I am too weak on perl and snmp, I am pretty sure, that your solution will do it's job. I'll reconsider it at next years beginning, and I think i have to do some adjustments for native SNMP stuff to this OV tools. &lt;BR /&gt;&lt;BR /&gt;Anyway, I'll assign points for tax reasons this year ;-)&lt;BR /&gt;&lt;BR /&gt;Keep this message on notify, if you like to hear later, how it turned out.&lt;BR /&gt;Thanks again&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 19 Dec 2000 19:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472037#M90418</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2000-12-19T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472038#M90419</link>
      <description>Hi Volker,&lt;BR /&gt;&lt;BR /&gt;I have a perl script on HP-UX 10.20,which is supposed to do the same job. but for some reason I am getting following error when running " copy run tftp" cmd.&lt;BR /&gt;&lt;BR /&gt;TFTP:error code 2 received - Access violation.&lt;BR /&gt;%Error opening tftp://IPaddressof tftp_server/file name (undefined error).&lt;BR /&gt;&lt;BR /&gt;What should I do to make sure tftp server is running properly. This script used to work fine. &lt;BR /&gt;&lt;BR /&gt;I started getting this error after I rebooted my tftp server. I have tftpd running with tftp user defined in /etc/passwd. and home dir for the user.&lt;BR /&gt;I have attached my perl script here please help me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ashish</description>
      <pubDate>Tue, 29 May 2001 13:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472038#M90419</guid>
      <dc:creator>Ashish Palkhiwala</dc:creator>
      <dc:date>2001-05-29T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472039#M90420</link>
      <description>.. just for the record, the telnet client under Linux doesn't mind taking information on the STDIN...  However, it doesn't continue running when there isn't any further information on the STDIN..&lt;BR /&gt;&lt;BR /&gt;Simply put, if you throw a few 'sleep 3' (or whatever's) in the appropraite places, you should get it to work.&lt;BR /&gt;&lt;BR /&gt;It isn't terribly stable, and using the TCL based 'expect' is probably better as a simple solution.</description>
      <pubDate>Thu, 25 Jul 2002 23:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472039#M90420</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-25T23:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472040#M90421</link>
      <description>Case closed !&lt;BR /&gt;&lt;BR /&gt;Please take a look at the initial posting date!&lt;BR /&gt;Did not find or figured out a reasonable solution, but do not need any anymore.&lt;BR /&gt;But I am pretty sure that the given answers will lead to a solution.&lt;BR /&gt;No more points to win in this thread.&lt;BR /&gt;&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 26 Jul 2002 16:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472040#M90421</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2002-07-26T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE something into TELNET on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472041#M90422</link>
      <description>*sigh* Yes, I know it's an old post, and I wasn't trying to points-grab..&lt;BR /&gt;&lt;BR /&gt;I was just trying to fill in a blank as to why what you were trying wasn't working for when someone else comes along and has the same query.</description>
      <pubDate>Sun, 28 Jul 2002 22:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pipe-something-into-telnet-on-linux/m-p/2472041#M90422</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-28T22:20:28Z</dc:date>
    </item>
  </channel>
</rss>

