1835847 Members
2651 Online
110085 Solutions
New Discussion

HPUX 9.04

 
Ahmad Yahya_1
New Member

HPUX 9.04

I have an old release of HP-UX 9.04, and I need to know how to change the IP address of the interfaces. Can someone let me know what are the commands and sequence of changes to achieve this.
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: HPUX 9.04

I think(cobwebs moving).

You have a few choices.

ifconfig lan0 down
ifconfig lan0 ipadderss netmask.

ifconfig lan0 192.168.0.10 255.255.255.0

You may be able to make it permanent in /etc/rc.config.d/netconf, but I don't have any antiques laying around so I can check.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: HPUX 9.04

Steven is on the right track. You need to use ifconfig to change it, but I can't remember where you make the change permanent - there was no /etc/rc.config.d and run-level type setup before 10.x. Try looking at /etc/rc.


Pete

Pete
Helen French
Honored Contributor

Re: HPUX 9.04

If I remember exactly, 'set_parms' was available in 9.04 too. Check for that command and if available, you can change your IP address with that command. You can also try 'ifconfig' command. Also, check for your net configuration file in /etc and change it there.
Life is a promise, fulfill it!
melvyn burnard
Honored Contributor

Re: HPUX 9.04

set_parms is hte preferred way to do htis, but you could make the changes manually by editing netconf in /etc/rc.config.d,
modifiying the /etc/hosts file to reflect the changes, doing ifconfig on the lan to test it and hten rebooting as a final test
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ahmad Yahya_1
New Member

Re: HPUX 9.04

Thanks for the feedback thus far!!
One thing ... I don't have a /etc/rc.config.d, any other file you all know of?

Thanks
Helen French
Honored Contributor

Re: HPUX 9.04

Check for a network configuration file under /etc (may be netconf or network or *conf*). That might be the equivalent of /etc/rc.config.d/netconf in 9.04.

Btw, 9.04 is very very old and not at all supported now. You may have to consider moving to a new OS 11.00 or 11.11
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: HPUX 9.04

Ahmad,

That's what I was saying, there is no /etc/rc.config.d in a pre-10.x system. I've found some old course notes of mine that talk about setting up a lan. They suggest running /etc/set_parms. This will "prompt you for the information needed to configure the LAN". Then edit the /etc/hosts file and change the IP there. Then reboot (and pray).


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: HPUX 9.04

The prayer will do more good than any configuration changes. Maybe not. Forget about the rc.config.d thing. Its been a while.

You don't say what hardware you want to run. If it supports a later version of HP-UX and you intend to use this machie for any production purpose, go tet a newer version of HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
melvyn burnard
Honored Contributor

Re: HPUX 9.04

hmm, of course, my memory is rusty. I think (on reflection) that the file for 9.x was something like /etc/netlinkrc.
check in /etc for all files ending in rc, to make sure

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sanjay_6
Honored Contributor

Re: HPUX 9.04

Hi,

change the ip address in the /etc/rc.config.d/netconfig and /etc/hosts and reboot to make it permanent.

Hope this helps.

Regds