Re: expect/telnet (Jeff Kinz)
From: Les Mikesell (lesmikesell_at_gmail.com)
Date: 03/26/05
- Previous message: Tom Diehl: "Re: webalizer"
- In reply to: rado: "Re: expect/telnet (Jeff Kinz)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: For users of Fedora Core releases <fedora-list@redhat.com> Date: Sat, 26 Mar 2005 10:02:45 -0600
On Sat, 2005-03-26 at 07:38, rado wrote:
> > > > On Fri, Mar 25, 2005 at 02:53:44PM -0600, rado wrote:
> > > > > This Project: I have to reset my modem thru a script
> > > using a script.exp that autoexpect produces just hangs right there no
> > > matter what I try to do w/the timeout thang.
> > > just dunno...wish I could find a way to do it w/out expect really.
> > > jr
> >
> > There are also chat scripts the old uucp programs used to use. Look at
> > the "chat" command.
> >
> gonna check this out as well
Yet another way would be kermit. It has a scripting language designed
for chatting over serial ports which seems natural for this problem
and it also works over tcp connections. I used it long ago to
initialize modems periodically through a scripted chat, then moved
the modems to a terminal server and was able to continue to use
the same script by just changing the serial port connection to
a tcp address/port.
--
Les Mikesell
les@futuresource.com
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Tom Diehl: "Re: webalizer"
- In reply to: rado: "Re: expect/telnet (Jeff Kinz)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]