[uClinux-dev] Interactive Telnet Script

Ryan Crouch ryanc at intrapower.com.au
Wed Mar 19 18:15:54 EST 2003

Thanks for your response Markus.

I would love to use expect however it's not actually in the uClinux
distribution, nor have I found a suitable source distribution to add.
I'm tearing my hair out!! :)


-----Original Message-----
From: Markus Pietrek [mailto:maillist at fsforth.de] 
Sent: Wednesday, 19 March 2003 6:11 PM
To: uclinux-dev at uclinux.org
Subject: Re: [uClinux-dev] Interactive Telnet Script

On Wednesday 19 March 2003 03:20, Ryan Crouch wrote:
> Hello all,
> I need to automate a telnet session via a script of some sort in order
> to control a router device plugged into the uClinux machine. Has
> successfully created an interactive telnet script using chat/expect or
> anything similar?

Of course. "man expect" will print you a lot of hints under the section

I have attached you an example that I used to download a kernel image
into my 
targets RAM with a BDI2000 box. The script worked most times.


Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221

More information about the uClinux-dev mailing list