Re: Help with Expect

2005-05-23 Thread Phusion
Mike, I need to this be in an expect script because I will be entering commands after I telnet into the machine. Thanks for the help though. On 5/22/05, Mike Jeays [EMAIL PROTECTED] wrote: On Sun, 2005-05-22 at 20:30, Phusion wrote: I need some help with an expect script I'm trying to write

Re: Help with Expect

2005-05-23 Thread Mike Jeays
some help with an expect script I'm trying to write. Here's what I would like to do. - Ping the host to see if it's up. a. If the host responds to pings telnet into it. b. If the host doesn't respond to pings write that to a log file and close the expect script properly

Help with Expect

2005-05-22 Thread Phusion
I need some help with an expect script I'm trying to write. Here's what I would like to do. - Ping the host to see if it's up. a. If the host responds to pings telnet into it. b. If the host doesn't respond to pings write that to a log file and close the expect script properly. The host does

Re: Help with Expect

2005-05-22 Thread Rob
Phusion wrote: I need some help with an expect script I'm trying to write. Here's what I would like to do. - Ping the host to see if it's up. a. If the host responds to pings telnet into it. b. If the host doesn't respond to pings write that to a log file and close the expect

Re: Help with Expect

2005-05-22 Thread Mike Jeays
On Sun, 2005-05-22 at 20:30, Phusion wrote: I need some help with an expect script I'm trying to write. Here's what I would like to do. - Ping the host to see if it's up. a. If the host responds to pings telnet into it. b. If the host doesn't respond to pings write that to a log file

Help with Expect Script

2005-05-15 Thread Phusion
I'm new to writing expect scripts and need some help. The script will telnet to a host and run some commands. I want the script to ping the host to see if it's alive first before it telnets into it. Also, I know the host is pingable meaning it responds to pings. If the host doesn't respond to a

Re: Help with Expect Script

2005-05-15 Thread Mike Jeays
On Sun, 2005-05-15 at 14:09, Phusion wrote: I'm new to writing expect scripts and need some help. The script will telnet to a host and run some commands. I want the script to ping the host to see if it's alive first before it telnets into it. Also, I know the host is pingable meaning it