Jump to content

Telnet scripting

Recommended Posts

Hi to all!

I am new here, so be gentle...

I have problem with my ISP. Every time I restart my router, it is reconfigured by them with wrong MTU value. That makes me angry because I have to manually telnet to router and set the right one.

So, I decided to make some script to do this automatically but, dont know how.

I was trying to write some send procedure everything goes fine until password. Of course I know the password but terminal will not accept send keys.

What can I do? Any suggestion?

Thanks in advance.

Link to comment
Share on other sites

Just a stab in the dark here, forgive me if you've already thought of this...

Is it possible your telnet app simply isn't displaying the keys it was sent because it's a password field? Have you tried going ahead with sending the pwd key sequence followed by {ENTER} to see if it logs you in even though you can't see what's being sent?

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

  • Recently Browsing   0 members

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