Operating System - HP-UX
1751933 Members
4865 Online
108783 Solutions
New Discussion юеВ

changing output of command uname -a in hpux10.20

 
SOLVED
Go to solution
taics
Advisor

changing output of command uname -a in hpux10.20

Dear all,

With command uname -a I will get the following output.
HP-UX ehmgs2 B.10.20 E 9000/770 2015637448 8-user license

Can somebody help how do I change this number 2015637448 above ?

Thanks and have a nice day!!!

Best Regards
Taics
10 REPLIES 10
Robert-Jan Goossens
Honored Contributor

Re: changing output of command uname -a in hpux10.20

Hi Taics,

Have a look at this thread.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627

Regards,
Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: changing output of command uname -a in hpux10.20

Hi:

You can't. Why would you (other than for licensing, perhaps)?

This is a unique system serial number assigned to the server by HP.

Regards!

...JRF...
taics
Advisor

Re: changing output of command uname -a in hpux10.20

Dear Robert-Jan & JRF,

Thanks for your infor. I believe too that is the serial number assign by HP which can not be changed.

But we hope it can be changed via other ways ( I have no idea why the end user want to change it )

I hope to get more information about it.

Thanks and have a nice day!!!
Taics
Torsten.
Acclaimed Contributor
Solution

Re: changing output of command uname -a in hpux10.20

This is the system ID built by the system itself based on the mac address of the internal lan chip (for very old hardware).

Looks like an old J-class workstation.

You cannot change it, unless you use or modify the lan chip itself.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: changing output of command uname -a in hpux10.20

Create an alias for the uname command, hiding the real uname so that the user only uses the alias, which uses awk to substitute the desired string in place of 2015637448.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: changing output of command uname -a in hpux10.20

The system id is normally used for machine based licenses.

This workaround won't help much, since

uname -i

and


getconf CS_MACHINE_IDENT

will return the same ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: changing output of command uname -a in hpux10.20

In the past I heard that if you pay for time and materials HP would send out a SE to change the ID. But it may be that Torsten's right that it can't change?
Bill Hassell
Honored Contributor

Re: changing output of command uname -a in hpux10.20

The uname -i value is indeed a unique serial number stored in the machine firmware and is used by many, many software products for licensing. If it were possible to change the value, it would violate licensing agreements with many vendors including HP. This number is a combination of the actual serial number plus some bits that signify hardware features. Only HP personnel can change this value and only for valid reasons such as a motherboard replacement. A wrapper for uname to return another number may not work since many programs call the library routine uname(2).


Bill Hassell, sysadmin
taics
Advisor

Re: changing output of command uname -a in hpux10.20

Dear all,

Thanks for your info. I did replaced mother board for other HP unix workstation long time ago.

The HP workstation request the STATION ADDRESS to be key for new mother board when power up. ( We can get the STATION ADDRESS on the HP workstation box )

From HP instruction that we have to key in the same STATION ADDRESS and we NEVER try to key in different STATION ADDRESS.

1. Does anybody know, if I key in different STATION ADDRESS( any number with same number of digit), will it work ?

2. Does the STATION ADDRESS same as 2015637448 the output of the uname -a ?

If STATION ADDRESS can be changed and STATION ADDRESS same as 2015637448 the output of the uname -a.

Then we can try replace mother board for key in different STATION ADDRESS to get the number we want of output of uname -a.

Thanks and have a nice day!!!

Best Regards
Taics