Operating System - HP-UX
1827294 Members
1251 Online
109960 Solutions
New Discussion

How do I rename the HP computer?

 
Josie Robinson
New Member

How do I rename the HP computer?

I need to change the name of my HP workstations and servers. How do I do this? What commands do I use. I also need to change the IP address.
10 REPLIES 10
Tony Constantine_1
Regular Advisor

Re: How do I rename the HP computer?

try

set_parms hostname
Tommy Palo
Trusted Contributor

Re: How do I rename the HP computer?

Change in:
1. /etc/rc.config.d/netconf
2. /etc/hosts

reboot
Keep it simple
Tony Constantine_1
Regular Advisor

Re: How do I rename the HP computer?

the command you need is

set_parms hostname

Tommy Palo
Trusted Contributor

Re: How do I rename the HP computer?

Change in:
1. /etc/rc.config.d/netconf
2. /etc/hosts

reboot
Keep it simple
Tommy Palo
Trusted Contributor

Re: How do I rename the HP computer?

Change in:
1. /etc/rc.config.d/netconf
2. /etc/hosts

reboot
Keep it simple
federico_3
Honored Contributor

Re: How do I rename the HP computer?



Hi,
do
/sbin/set_parms hostname
Then set it and reboot the system.


federico
Paula J Frazer-Campbell
Honored Contributor

Re: How do I rename the HP computer?

Hi
Use the Systen administrator for a quick and easy method.

1. Sam
2. Networking and communications
3. network interface cards
4. action
5. modify system name - change name

select your lan card - space bar

1. action
2. modify - change ip address



HTH

Paula
If you can spell SysAdmin then you is one - anon
f. halili
Trusted Contributor

Re: How do I rename the HP computer?

Changing your hostname on a production system, you should also consider other application who have hardcoded your oroginal hostname in their application.

To change the hostname:

1) use set_parms
# set_parms newhostname

2) Reboot
# shutdown -yr 0

The set_parms will change the entries in the needed files.

- fnhalili
derekh
Tony Constantine_1
Regular Advisor

Re: How do I rename the HP computer?

to change ip address

set_parms ip_address

Re: How do I rename the HP computer?

Hi,

You can try the following to change hostname,ip address,timezone, date_time, root passwd and additional network parameters.

# set_parms initial

# sync
# reboot -q

Thanks