15 pts.
 how to write telnet script
I need to perform routine router administration from an Linux pc. How can I create a script to logon and perform some CLI automatically?

Software/Hardware used:
ASKED: January 21, 2008  9:25 AM
UPDATED: February 23, 2008  12:12 AM

Answer Wiki:
You might consider a telnet tool that has macro capabilities like TeraTerm Pro you can find it at: http://ttssh2.sourceforge.jp
Last Wiki Answer Submitted:  January 21, 2008  2:12 pm  by  LabNuke   90 pts.
All Answer Wiki Contributors:  LabNuke   90 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thx, LabNuke. However, TeraTerm Pro is Win32, so I’m not able to run on my Linux pc.

 15 pts.

 

Expect is a tool worth looking at for what you are attempting to do. Most of the distros have a package available. The site for more info is here http://expect.nist.gov/

 10 pts.