03-15-2008
thank you,so it is remsh? i want to run a script in HPUX and aix in my linux server, this is what i wanted, i want to change ip in hpux servers and aix, for DR purposes.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any problems of binaries compatibility between HPUX 10.20 et 11 ? (2 Replies)
Discussion started by: Olivier
2 Replies
2. HP-UX
Hi everyone!
I need your help.
When i run ipcs -m -a for display shared memory status i see an entry with key 0xdeadbeef:
IPC status from /dev/kmem as of Tue Feb 3 15:55:14 2004
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME ... (3 Replies)
Discussion started by: andryk
3 Replies
3. HP-UX
:( i got couple of weeks ago a : HP Visualize workstation , model B100.
everithing is ok in the box the only problem is that i 'am not familiar with this operational sys, and i try to uninstall and see if i can get on it windows net server 64 bit. or any other 64 bit operational sys that i'll... (1 Reply)
Discussion started by: newbird
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am a SAP Basis admin recentely been asked to administer a HPUX server. Could someone recommend some good study material to learn with the Sap
prespective.
-carry (1 Reply)
Discussion started by: carryclare
1 Replies
5. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
6. HP-UX
Hi,
I am trying to remsh from a HPUX to another unix server
What is happening is I cant run commands on the other server
ie
I can
remsh <remoteserver> -l <remotelogin>
but I cant
remsh <remoteserver> -l <remotelogin> -n pwd
getting error message
rshd: 0826-826 The host name for... (3 Replies)
Discussion started by: belfastbelle
3 Replies
7. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
8. Shell Programming and Scripting
Hello.
I cant figure out how can i move entire row up , so it pasted on the one above at the end , or to do that for one character.
In notepads,word, or some other text editors we would do that with backspace button.
Example.
Content of my text file is this :
I am trying to do
that.
And... (2 Replies)
Discussion started by: tonijel
2 Replies
9. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
10. Shell Programming and Scripting
Hello All
Why is hpux is not much spoken in the unix/Linux platform. what is the disadvantes in HPUX
Thanks,
VJ (1 Reply)
Discussion started by: Vijaykannan T
1 Replies
UDHCPC(8) GNU/Linux Administrator's Manual UDHCPC(8)
NAME
udhcpc - very small DHCP client
SYNOPSIS
udhcpc [OPTION]...
DESCRIPTION
The udhcp client negotiates a lease with the DHCP server and executes a script when it is obtained or lost.
OPTIONS
-c CLIENTID, --clientid=CLIENTID
Send the client identifier CLIENTID.
-f, --foreground
Do not fork after obtaining a lease.
-H HOSTNAME, --hostname=HOSTNAME
Send the client hostname HOSTNAME.
-h HOSTNAME
Alias for -H HOSTNAME.
-i INTERFACE, --interface=INTERFACE
Configure INTERFACE.
-n, --now
Exit with failure if a lease cannot be obtained.
-p FILE, --pidfile=FILE
Write the process ID of the daemon to FILE.
-q, --quit
Exit after obtaining a lease.
-r ADDRESS, --request=ADDRESS
Request IP address ADDRESS.
-s FILE, --script=FILE
Use script FILE.
-v, --version
Display version.
USAGE
When an event occurs, udhcpc executes a script. There are four possible arguments to this script:
deconfig
deconfig is used when udhcpc starts, and when a lease is lost. The script should put the interface in an up, but deconfigured,
state.
bound bound is used when udhcpc moves from an unbound to a bound state. The script should configure the interface and set any other rele-
vant parameters (e.g., default gateway, dns server, etc.).
renew renew is used when udhcpc when a lease is renewed. The interface is already configured, so the IP address will not change. Other
parameters (e.g., default gateway, subnet mask, dns server) may.
nak nak is used when udhcpc receieves a NAK packet from the server. The enviromental variable $message will contain the reason for the
NAK message if the server included one. Processing this message is optional, as the script will also be called with deconfig if need
be.
Parameters are passed to the script via the following environment variables:
HOME The inherited HOME, or "/" if it is unset.
PATH The inherited PATH, or "/bin:/usr/bin:/sbin:/usr/sbin" if it is unset.
interface
The interface.
ip The client IP address.
siaddr The BOOTP next server option.
sname The BOOTP server name option.
boot_file
The BOOTP boot file option.
subnet The subnet mask.
timezone
The timezone offset from UTC in seconds.
router The list of routers.
timesvr
The list of time servers.
namesvr
The list of IEN 116 name servers.
dns The list of DNS servers.
logsvr The list of MIT-LCS UDP log servers.
cookiesvr
The list of RFC 865 cookie servers.
lprsvr The list of LPR servers.
hostname
The host name.
bootsize
The length in 512-octet blocks of the bootfile.
domain The domain name of the network.
swapsvr
The client's swap server.
rootpath
The path of the client's root dist.
ipttl The TTL.
mtu The MTU.
broadcast
The broadcast address.
ntpsrv The list of NTP servers.
wins The list of WINS servers.
lease The lease time in seconds.
dhcptype
The DHCP message type (safely ignored).
serverid
The server IP address.
message
Reason for a DHCPNAK.
tftp The TFTP server name.
bootfile
The bootfile name.
FILES
/usr/share/udhcpc/default.script
Script run when leases are obtained or lost.
NOTES
udhcpc responds to the following signals:
SIGUSR1
This signal causes udhcpc to renew the current lease or, if it does not have one, obtain a new lease.
SIGUSR2
This signal caused udhcpc to release the current lease.
GNU
/Linux 2001-09-26 UDHCPC(8)