1753427 Members
4777 Online
108793 Solutions
New Discussion юеВ

Re: Network settings.

 
SOLVED
Go to solution
news groups
Occasional Advisor

Network settings.

In HP-UX version A.09.03, what files do you edit to change your dns, ip, gateway, subnet mask? also is there a command that you could use instead of manually editing the files such as set_parms in hp-ux 11.00.
Regards

2 REPLIES 2
Solution

Re: Network settings.

HI

Actually it is not mentioned but let me tell you the booting procedure of the NOraml hp machine.

PDC(processor dependant code)
ISL(Initialisation system loader)
hpux(loading kernal)
/sbin/rc script which calls /etc/inittab which calls /sbin/init.d
/sbin/init.d contains startup and shutdown scripts which initially calls /etc/rc.config.d which contains all the configuration files.


Now for configuring the ip/netmask/hostname/gateway you can configure in the file called

/etc/rc.config.d/netconf

try this

Thanks

Regards

Nikhil


nikhil
Andreas Voss
Honored Contributor

Re: Network settings.

Hi,

in HP-UX 9.0x you must edit the following files:
For DNS:
/etc/resolv.conf
One line looks like:
nameserver
For IP-Address, Netmask and Gateway:
/etc/netlinkrc
You have to search for a line with:
/etc/ifconfig lan0 inet netmask up
For a gateway look for a line with:
/etc/route add ......

Additional note:
If you want to change also the hostname edit the file /etc/src.sh

Greetings

Andrew