Automate a Telnet Command 
Author Message
 Automate a Telnet Command

With VisualBasic.NET, would it be possible to create a
button, and then when clicked automatically perform the
commands to reboot a router.  If so, does anyone have some
sample code that I would be able to look at?

For Example, I would like to create a button on a web page
that says Reboot Router.  When it is clicked, behind the
seens, the router would get telneted into automatically,
login, and issue the reboot command.

Daren



Sun, 27 Mar 2005 01:10:32 GMT  
 Automate a Telnet Command


Quote:
> With VisualBasic.NET, would it be possible to create a
> button, and then when clicked automatically perform the
> commands to reboot a router.  If so, does anyone have some
> sample code that I would be able to look at?

> For Example, I would like to create a button on a web page
> that says Reboot Router.  When it is clicked, behind the
> seens, the router would get telneted into automatically,
> login, and issue the reboot command.

Here's an example of controlling a command prompt.  Perhaps you could do
the same thing, but start up a telnet client and send commands:

http://groups.google.com/groups?selm=4po6VOuyBHA.1848%40cpmsftngxa07
&oe=UTF-8

--
Patrick Steele
Microsoft .NET MVP
http://radio.weblogs.com/0110109



Mon, 28 Mar 2005 19:29:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Automate a telnet session

2. Automating a telnet session.

3. Automate Telnet Session : Tool/Control Needed

4. telnet command in vb.net

5. starting default telnet app and send commands

6. starting default telnet app and send commands

7. GURUS: Aplication Running Telnet Commands

8. Winsock - Telnet Commands?

9. shell command using telnet

10. Automating Outlook - Logon command

11. Problem automating "Tools, Send" command

12. Experimental Technique: automating COM class creation with C# and VB.NET command line compilers

 

 
Powered by phpBB® Forum Software