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
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
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
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
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
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
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