1833838 Members
2102 Online
110063 Solutions
New Discussion

Standalone HP-UX 10

 
SOLVED
Go to solution
Ben Davis_1
Occasional Advisor

Standalone HP-UX 10

I have a C180 box running HP-UX 10.2. It is configured to be a part of a LAN. Whenever there is a LAN problem within my building, it causes my machine to freeze up and nothing can be done to revive it other than rebooting. Upon rebooting, it takes forever to come up and several networking services fail to start which is to be expected if the LAN is down or experiencing problems. Even when it finally does boot, no one can log in (unless they use the Failsafe mode) because the CDE can't start, therefore users are kicked out. However, it seems to me that the network should not interfere with the standalone operation of the machine. So my question is: Is there some way I can set my machine to ignore the LAN if connectivity is temporarily broken and just keep on doing its thing? I mean, if it was a standalone machine, network connectivity wouldn't matter.

Thanks in advance to anyone who can help me.
3 REPLIES 3
eran maor
Honored Contributor
Solution

Re: Standalone HP-UX 10

Hi Ben

found a nice doc. about how to do it .

doc :

Login as root on the console of the 10.X or 11.X system.

rm /etc/resolv.conf /etc/nsswitch.conf /etc/X?.hosts

cp /usr/newconfig/var/adm/inetd.sec /var/adm/inetd.sec
cp /usr/newconfig/etc/hosts /etc/hosts
cp /usr/newconfig/etc/rc.config.d/netconf /etc/rc.config.d/netconf
cp /usr/newconfig/etc/rc.config.d/netdaemons /etc/rc.config.d/netdaemons
cp /usr/newconfig/etc/rc.config.d/namesvrs /etc/rc.config.d/namesvrs

Edit /etc/hosts and insert the machine name (as returned by the hostname command) before the entry for "localhost". For example, on machine "gracie" the line would look like:
127.0.0.1 gracie localhost loopback


Edit etc/rc.config.d/netconf and set the following variables as shown (variables are not listed in the exact order they appear in the file):
HOSTNAME=myname ## Where myname is the machine name
IP_ADDRESS[0]="127.0.0.1"
DHCP_ENABLE[0]=0 ## Found only in 10.20 or later.



Edit etc/rc.config.d/nfsconf and set the following variables as shown:
(variables are not listed in the exact order they appear in the file):

NFS_CLIENT=0
NFS_SERVER=0
PCNFS_SERVER=0
AUTOMOUNT=0
START_MOUNTD=0


Edit /etc/rc.config.d/SnmpHpunix and set SNMP_HPUNIX_START=0.

Edit /etc/rc.config.d/SnmpMaster and set SNMP_MASTER_START=0.

Edit /etc/rc.config.d/SnmpMib2 and set SNMP_MIB2_START=0.


Edit /etc/fstab and comment out or remove any lines with "nfs" in them.

Add the options "-ac -audit 0" to the Xserver startup line in the file /etc/dt/config/Xservers

Change the line

* Local local@console /usr/bin/X11/X :0

to

* Local local@console /usr/bin/X11/X -ac -audit 0 :0


This additional startup option disables the Xauthority on the Xserver, which relies on the network setup. It is usually only necessary to use this option if the system has multiple Networkcards or if one of the other above described steps was accidentally skipped.


Reboot the system with "/sbin/reboot".


The system should now restart and work normally without being connected to a network. Vue and CDE should both work normally.


love computers
Ben Davis_1
Occasional Advisor

Re: Standalone HP-UX 10

Thanks Eran Maor for your detailed and helpful response. Could you refer me to the document you got this information from? Before I try this I want to make sure that changing these settings doesn't remove me from the network or disable the networking capabilities. I just don't want my machine to stumble in the event the LAN is down. Thanks again.
eran maor
Honored Contributor

Re: Standalone HP-UX 10

Hi Ben

i found the doc in the knowledge base of hp .
you dont have an access to this knowledge only hp empolyer have .

but this database is stable and the docs to how to do think are check .

love computers