expect/telnet

Thomas Cameron thomas.cameron at camerontech.com
Sat Mar 26 15:01:04 UTC 2005


----- Original Message ----- 
From: "rado" <rado at rivers-bend.com>
To: <fedora-list at redhat.com>
Sent: Friday, March 25, 2005 2:53 PM
Subject: expect/telnet


> Hey y'all,
> This Project: I have to reset my modem thru a script
> what I can do:
> # I can telnet into the modem
> it asks me for my password
> then I gotta hit "r" to reset
> then I gotta hit "y" as a confirmation
> then it's done and I am back at the shell prompt
> 
> ....need to get turned on to a very basic get me started tutorial 
> ....and maybe after that, w/luck, a really good telnet example in a
> script.
> ya, i know, I am asking a lot...like I just wanna sit back, suck my
> thumb and twirl my hair and there it is. lol
> I just need a good point in the right direction...google and the man
> page didn't do me too much

Look into autoexpect




More information about the fedora-list mailing list