I'm need to connect to another host in a script using the telnet command. How do I pass the login and password to be able to connect to the other host from within the script? (10 Replies)
Hi,
How to write a script to perform telnet/ftp operation.
Also please refer some site to get reference about shell scripting.
Thanks in advance
-Arun. (1 Reply)
I am trying to use telnet in shell script but getting following error
error
Connected to crmapp00.agf.ca.
Escape character is '^]'.
Connection closed by foreign host.
Script
#!/bin/ksh
PATH=/usr/sbin/:/usr/bin:/usr/ucb:/etc:/usr/local/bin:.
telnet HOSTNAME <<SCRIPT
user userid... (9 Replies)
Hi All,
I was trying to use telnet in a script to access a certain processor on a certain port to view some processes. The problem is that when I use telnet the output is displayed for me.
The script is:
#!/bin/sh
cd /ahmed/ezzat/
rm ss7trace.log
touch ss7trace.log
chmod 755... (3 Replies)
Hi Guys,
How do I write the script for the following
telnet 192.168.1.100 9002
if the result is less than 1 second. The script should say as port open
if the result takes more than 3 seconds. The script should display as port closed.
Thanks,
Charan (1 Reply)
Hi all,
I would like to write a ad hoc shell script that would allow me to do some telnet tests to multiple IP's and ports at the same time . So, I want to determine which one is successful and which one fails. So, basically I would like the shell to spawn the telnet test and to break out of... (3 Replies)
Hello,
I wrote a script for doing telnet.However the requirement got changed and now I have to write a telnet script that will
1. Do the telnet from all the virtual ips in a box(Ex: x.x.x.x is the box ip, and x.x.x.1,x.x.x.2 etc are virtual ips associated with that box.)
2. The port range... (0 Replies)
Hello,
I wrote a script for doing telnet.However the requirement got changed and now I have to write a telnet script that will
1. Do the telnet from all the virtual ips in a box(Ex: x.x.x.x is the box ip, and x.x.x.1,x.x.x.2 etc are virtual ips associated with that box.)
2. The port range... (3 Replies)
Discussion started by: coolkid
3 Replies
LEARN ABOUT OPENSOLARIS
metasys
METASYS(8) NUT Manual METASYS(8)NAME
metasys - Driver for Meta System UPS equipment
NOTE
This man page only documents the hardware-specific features of the metasys driver. For information about the core driver, see nutupsdrv(8).
SUPPORTED HARDWARE
The metasys driver was written with the "Meta System UPS Protocol Rev.1.12" kindly supplied from Meta System.
The driver should support all the common features of the ups models:
o HF Line (/2) 1-8 boards
o HF Millennium (810, 820)
o HF TOP Line (910, 920, 930, 940, 950, 970, 980)
o ECO Network (750, 1000, 1050, 1500, 1800, 2000, 2100, 2500, 3000)
o ECO (305, 308, 311, 511, 516, 519, 522, SX, SXI)
o ally HF (800, 1000, 1250, 1600, 2000, 2500)
o Megaline (1250, 2500, 3750, 5000, 6250, 7500, 8750, 10000)
CABLING
The needed cable is a standard pin-to-pin serial cable with at least pins 2, 3, and 5 (on DB9 connector) connected.
EXTRA ARGUMENTS
This driver supports no extra arguments from ups.conf(5).
BUGS
This driver has been tested on Meta System HF Millennium 820 and ally HF 1000 only.
Any information about the use of the driver with the other listed UPS are really welcome.
AUTHOR
Fabio Di Niro <blaxwan@users.sourceforge.net>
SEE ALSO
The core driver:
nutupsdrv(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/21/2012 METASYS(8)