From: Austin S. <te...@of...> - 2009-01-26 22:50:08
|
On Mon, Jan 26, 2009 at 11:35:50AM -0800, Patrick B. wrote: > > This is my first post in this forum. > > I am trying to automate the setup of a network device from scratch through a > serial connection using a combination of minicom and perl. I initially > tried using minicom's built-in runscript program to do the configuration, > but found that it didn't allow me to do some things I wanted to (like > opening config files and piping their contents to STDIN), so I changed > minicom's setup to use perl instead. > > Now my problem is how to use Expect.pm. Minicomm's documentation states > "Stdin and stdout are connected to the modem, stderr to the screen" > I would use something a little more basic than minicomm for this. Try using 'cu' instead (typically part of the uucp package). Austin |