Minicom and scripting

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed Sep 28 12:55:00 UTC 2011


On Mon Sep 26, 2011 at 02:26:28 +0300, Martin T wrote:
> Hello,
> is it possible to make a script, which reads commands from a file one
> line after another, logs into a network device over a console
> connection(RS-232) and executes those commands wile sleeping 1s after
> each line? My ideal solution would be some sort of utility/script,
> which is able to start console session, read a line from file and tell
> this over console session and log out. Then wait two seconds, log in,
> read in second line, log out etc. Is this doable using Minicom?

There's the script facility but I think your requirements go beyond that
what it offers, esp. wrt reading in a file.


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list