🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun.hardware
Article #3259

Re: UNIX command to display Sun serial number??????

#3259
From: Craig Dewick
Date: Tue, 21 Jan 1997 00:00
30 lines
1959 bytes
In <vilainE4CHE1.IyA@netcom.com> vilain@netcom.com (Michael Vilain) writes:

>  The serial number is not possible to obtain via any
>software probe of the hardware either in the PROM prompt or from the running
>OS.  The _is_ a hostid, which is used by SUN and others who use the FLEXlm
>license software which can be obtained using the 'hostid' command.  It's
>stored in the EEPROM on the motherboard along with the ethernet address.

The Host-ID is comprised of the machine type (8 bits), followed by the hex
equivalent (24 bits) of the serial number. So, if you can find out the
host-id, then determining the serial number is trivial. 

For example, my personal machine at home is a Sparc LC (aka Classic). 
Typing 'hostid' produces:

80022858

The most significant byte (0x80) is the machine type, and the other 3 
bytes are the hex equivalent of the serial number, so the base-10 value 
of the serial number is 141400..

Regards,

Craig.
-- 
        Craig Dewick - craig@zeta.org.au - http://www.zeta.org.au/~craig  
            Professional Train Driver. Located in Sydney, Australia.
          Sun Ripened Kernels - http://www.zeta.org.au/~craig/srk.html
                Surplus and pre-loved Sun Microsystems equipment.
Technical Details
Message-ID: <5c29rd$2no@godzilla.zeta.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <mike.sage-2001971733350001@129.197.18.119> <vilainE4CHE1.IyA@netcom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4671,5afa48ce341b8efc
X-Google-Attributes: gidf4671,public
X-Google-Thread: f6653,5afa48ce341b8efc
X-Google-Attributes: gidf6653,public
X-Google-Thread: 10d053,7ddd2fad90fe0b29,start
X-Google-Attributes: gid10d053,public
From: craig@zeta.org.au (Craig Dewick)
Subject: Re: UNIX command to display Sun serial number??????
Date: 1997/01/21
Message-ID: <5c29rd$2no@godzilla.zeta.org.au>
X-Deja-AN: 211240258
references: <mike.sage-2001971733350001@129.197.18.119> <vilainE4CHE1.IyA@netcom.com>
organization: Kralizec Dialup Unix Sydney, +61-2-837-1183 V.32bis
newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,aus.computers.sun