Ascii2 Posted October 8, 2009 Posted October 8, 2009 (edited) I want to automate Telnet commands. I was thinking of having it implemented via batch file.I want to emulate the procedure to set a mode via Telnet on a NETGEAR device with wireless radio.The procedure being emulated starts at item "10." on the following webpage:http://www.beatjunkie.de/Router_eng.htmInput to console from the keyboard would normally be the following (legend below):TELNET <CLIENT_IP_ADDRESS><ENTER>Gearguy<ENTER>Geardog<ENTER>wla<ENTER>set remoteAP <ROUTER MAC ADDRESS><ENTER>set oper sta<ENTER>..<ENTER>save<ENTER>reboot<ENTER>To understand the coded, the following legend of substitutions apply:<CLIENT_IP_ADDRESS>: IP Address of Wireless client being configured.<ROUTER MAC ADDRESS>: Router MAC Address. Contains colons and capital letters.<ENTER>: End of line character or "ENTER".How can the TELNET input be automated?EDIT: I think what I want implemented is done using the "echo" command with a pipe character ("|"), but I am not sure how it should be done. Edited October 8, 2009 by Ascii2
pnk457 Posted October 23, 2009 Posted October 23, 2009 Have a look at PuTTY Link: command-line connection utility.http://www.chiark.greenend.org.uk/~sgtatham/puttyI hope this is useful.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now