Jump to content
Sign in to follow this  
tal041482

Easy Telnet question

Recommended Posts

tal041482

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

Share this post


Link to post
Share on other sites
tal041482

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?

Share this post


Link to post
Share on other sites
Zedna

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 ...

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.