[uClinux-dev] Interactive Telnet Script

Markus Pietrek maillist at fsforth.de
Wed Mar 19 03:10:32 EST 2003

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 anyone
> 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 "SEE 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_bdi.tcl
Type: text/x-tcl
Size: 541 bytes
Desc: not available
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030319/3ceab28b/attachment.tcl>

More information about the uClinux-dev mailing list