Jump to content

Easy Telnet question


Recommended Posts

Hey everyone i am running into a problem and im hoping you guys can help. I have scoured the forums and cant find a darn thing that helps.

I have a script i am working on here is the general flow of it.

Check for conectivity via ping for x.x.x.x if good exit. Simple no problems with that works fine.u

if bad telnet to y.y.y.y send command , wait , send more , wait. exit.

I dont care about the reply's back from the device as it is a PDU and im just navigating a menu to reboot a cable modem by reseting the power on the specific recepticle.

Thanks For your help in advance

TAL

Link to comment
Share on other sites

Look here

http://www.autoitscript.com/forum/index.php?showtopic=28088&st=0&p=199321&#entry199321

I read that are you talking about

Telnet("IP-ADRESS", "USERNAME", "PASSWORD", "COMMAND")

It does not seem to work for me. am i doing something wrong?

Link to comment
Share on other sites

I read that are you talking about

Telnet("IP-ADRESS", "USERNAME", "PASSWORD", "COMMAND")

It does not seem to work for me. am i doing something wrong?

You must use "Console" version of telnet. Default Microsoft's one doesn't work correctlywith STD console.

It's mentioned in given post:

lol.. just use Console Telnet, like I said ...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...