Ascii2 Posted October 8, 2009 Share 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 Link to comment Share on other sites More sharing options...
pnk457 Posted October 23, 2009 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now