Are there ways to get the some Unique system identification

Are there ways to get the some Unique system identification

Post by Wim Delvau » Mon, 18 May 1998 04:00:00



Hi everybody,

I'm looking for a way to get some unique system identification (globally
unique I mean)

I need a key that is unique for each system in a network ...

Thanx

Wim Delvaux

 
 
 

Are there ways to get the some Unique system identification

Post by Keith Wrigh » Mon, 18 May 1998 04:00:00



> I'm looking for a way to get some unique system identification (globally
> unique I mean)

> I need a key that is unique for each system in a network ...

If they have Ethernet cards, the Ethernet addresses are unique
in the known universe.

--
     --Keith

This mail message sent by GNU emacs and Linux.
Food, Shelter, Source code.

 
 
 

Are there ways to get the some Unique system identification

Post by Frank Sweetse » Mon, 18 May 1998 04:00:00




> > I'm looking for a way to get some unique system identification (globally
> > unique I mean)

> > I need a key that is unique for each system in a network ...

> If they have Ethernet cards, the Ethernet addresses are unique
> in the known universe.

usually... and they can also usually be changed via software.  pc's don't
have any kind of cpu-encoded serial number, though, so ethernet address
isn't much good for commercial type stuff.  if it's just as a simple
identifier, though, yes it will work - in fact, if it's not unique, it can
cause some interesting problems... ;*)

--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.res.wpi.net RH 5.0 kernel 2.0.33/2.1.102  i586 | at public servers
Not me, guy. I read the Bash man page each day like a Jehovah's Witness reads
the Bible. No wait, the Bash man page IS the bible. Excuse me...
(More on confusing aliases, taken from comp.os.linux.misc)

 
 
 

Are there ways to get the some Unique system identification

Post by Peter A Fei » Tue, 19 May 1998 04:00:00



> Hi everybody,

> I'm looking for a way to get some unique system identification (globally
> unique I mean)

> I need a key that is unique for each system in a network ...

If it's on a network, IP should be ok.  If you have multiple IP's
you're going to have bigger problems.  Note however, that this
identifier can easily be changed.  Ethernet ID should work well as
suggested.  You might also try hard drive ID.  IIRC, hard drives get a
random ID when formatted.  Again, this can be changed by some
programs, swapping hard drives or reformatting.

--
Peter Fein                                                         773-834-6206
1005 E. 60th St.                                              Chicago, IL 60637

 
 
 

Are there ways to get the some Unique system identification

Post by Robert Hyat » Tue, 19 May 1998 04:00:00




:>
:> > I'm looking for a way to get some unique system identification (globally
:> > unique I mean)
:> >
:> > I need a key that is unique for each system in a network ...
:> >
:>
:> If they have Ethernet cards, the Ethernet addresses are unique
:> in the known universe.

: usually... and they can also usually be changed via software.  pc's don't
: have any kind of cpu-encoded serial number, though, so ethernet address
: isn't much good for commercial type stuff.  if it's just as a simple
: identifier, though, yes it will work - in fact, if it's not unique, it can
: cause some interesting problems... ;*)

I can see changing the software (IP) address.  But I know of no way to
change the "hardware" address.  In fact, this is vendor specific as well
and is supposed to be "hard" (unchangable) so far as I know...  note
that we are talking about the so-called "hardware ethernet address"
here...

--
Robert Hyatt                    Computer and Information Sciences

(205) 934-2213                  115A Campbell Hall, UAB Station
(205) 934-5473 FAX              Birmingham, AL 35294-1170

 
 
 

Are there ways to get the some Unique system identification

Post by Peter Verth » Tue, 19 May 1998 04:00:00




: :> If they have Ethernet cards, the Ethernet addresses are unique
: :> in the known universe.
:
: : usually... and they can also usually be changed via software.  pc's don't
: : have any kind of cpu-encoded serial number, though, so ethernet address
: : isn't much good for commercial type stuff.  if it's just as a simple
: : identifier, though, yes it will work - in fact, if it's not unique, it can
: : cause some interesting problems... ;*)
:
: I can see changing the software (IP) address.  But I know of no way to
: change the "hardware" address.  In fact, this is vendor specific as well
: and is supposed to be "hard" (unchangable) so far as I know...  note
: that we are talking about the so-called "hardware ethernet address"
: here...

Nope, even that is changeable.  We had in our company a faulty Ethernet card,
so the vendor (HP in this case) came and replace it.  The guy that replaced
it asked whether we wanted the same hardware Ethernet address as the old card
and when we answered 'yes', he changed it.

From what I've heard you can only do it once, so the guy didn't really 'change'
it, but 'set' it.  But I suppose it is somewhere in a flash prom that you
could reset...

--
Peter Verthez                                 Software Engineer


WWW:                         http://www.club.innet.be/~pub01180
            << No HTML formatted mail please ... >>
--
Intel Inside: the world's most widely used warning label.

 
 
 

Are there ways to get the some Unique system identification

Post by Robert Hyat » Tue, 19 May 1998 04:00:00


: Nope, even that is changeable.  We had in our company a faulty Ethernet card,
: so the vendor (HP in this case) came and replace it.  The guy that replaced
: it asked whether we wanted the same hardware Ethernet address as the old card
: and when we answered 'yes', he changed it.

: From what I've heard you can only do it once, so the guy didn't really 'change'
: it, but 'set' it.  But I suppose it is somewhere in a flash prom that you
: could reset...

I wonder what he set.. IE the high-order part is mandated to vendor-specific
codes.  Maybe the lower-order end is done with PLA's or something...

--
Robert Hyatt                    Computer and Information Sciences

(205) 934-2213                  115A Campbell Hall, UAB Station
(205) 934-5473 FAX              Birmingham, AL 35294-1170

 
 
 

Are there ways to get the some Unique system identification

Post by Wim Delvau » Tue, 19 May 1998 04:00:00


Thanx for the response.

Unfortunately, the IP address thingy is not OK.  The systems might not be
connected to the
network ( all the time ).

The MAC address thing is better but not all systems do have a LAN
connection (eg ppp)

Someone has suggested that one could also detect the volume identification
of the hard disk

- How do I program this
- Does the mechanism depend on the type of dist (e.g. SCSI, IDE, ...)

Thanx

 
 
 

Are there ways to get the some Unique system identification

Post by James Youngma » Tue, 19 May 1998 04:00:00


  rh> I can see changing the software (IP) address.  But I know of no
  rh> way to change the "hardware" address.  In fact, this is vendor
  rh> specific as well and is supposed to be "hard" (unchangable) so
  rh> far as I know...  note that we are talking about the so-called
  rh> "hardware ethernet address" here...

Some Ethernet cards really do allow you to change the MAC address.

 
 
 

Are there ways to get the some Unique system identification

Post by Stefan Monnie » Tue, 19 May 1998 04:00:00



> I need a key that is unique for each system in a network ...

Depending on the use you want to make of that key, you can probably use the
hostname for that (isn't it its only use ?).

        Stefan

 
 
 

Are there ways to get the some Unique system identification

Post by Juergen Hein » Tue, 19 May 1998 04:00:00



>Hi everybody,

>I'm looking for a way to get some unique system identification (globally
>unique I mean)

man 1 hostid
man 2 gethostid

Bye, Juergen

--
\ Real name     : Juergen Heinzl     \       no flames      /

  \ Phone Private : +49 911-4501186    \                  /

 
 
 

Are there ways to get the some Unique system identification

Post by Przemek Klosowsk » Tue, 19 May 1998 04:00:00




> : I can see changing the software (IP) address.  But I know of no way to
> : change the "hardware" address.  In fact, this is vendor specific as well
> : and is supposed to be "hard" (unchangable) so far as I know...  note
> : that we are talking about the so-called "hardware ethernet address"
> : here...

> Nope, even that is changeable.  We had in our company a faulty Ethernet card,
> so the vendor (HP in this case) came and replace it.  The guy that replaced
> it asked whether we wanted the same hardware Ethernet address as the old card
> and when we answered 'yes', he changed it.

There are two separate issues: every card has a default Media Access
Code (MAC) address, a 48-bit (12 hex digits) number, whose top half is
the manufacturer code, and bottom half is the unique card
identification. This number is indeed in a non-volatile memory, while
indeed some manufacturers have private protocols to change it by
re-burning FLASH or EEPROM on-board memory.

HOwever, the Ethernet specs require that there is a way to change the
effective MAC address during actual operation (a non-permanent change
that is achieved via software, and disappears when you reset the
card). This is so that old protocols, which use MAC as a routing code,
can work. An example of such protocol is DECnet, where a network node
ZONE.NODE (e.g. 1.234) is reprogrammed to have MAC address of
AA-00-04-00-xx-yy, where NODE = ((yy*256+xx) mod 1024) and
ZONE=(((yy*256)+xx) % 1024)

DEC original MAC addresses have a form of 08-00-2B-....

--

                        NIST Center for Neutron Research (bldg. 235), E111
                        National Institute of Standards and Technology
                        Gaithersburg, MD 20899,      USA
                        .. and for spam extractors, FCC Commisioners' email is:

 
 
 

Are there ways to get the some Unique system identification

Post by bill davids » Tue, 19 May 1998 04:00:00




| HOwever, the Ethernet specs require that there is a way to change the
| effective MAC address during actual operation (a non-permanent change
| that is achieved via software, and disappears when you reset the
| card).

See "man ifconfig," depending on your version the option is called
either "mac" or "hw" and does just this.
--

 "If I were a diplomat, in the best case I'd go hungry.  In the worst
  case, people would die."
                -- Robert Lipe

 
 
 

Are there ways to get the some Unique system identification

Post by Tim Daws » Tue, 19 May 1998 04:00:00




>   rh> I can see changing the software (IP) address.  But I know of no
>   rh> way to change the "hardware" address.  In fact, this is vendor
>   rh> specific as well and is supposed to be "hard" (unchangable) so
>   rh> far as I know...  note that we are talking about the so-called
>   rh> "hardware ethernet address" here...

> Some Ethernet cards really do allow you to change the MAC address.

On Sun's, 'ifconfig -ether xx:xx:xx:xx:xx:xx' makes this a trivial event.  This
is not, however, in the man page, but is used rather routinely in HA solutions
to enable machines to take over from others transparently.  On a Sun, with the
appropriate commands, you can also change the systems hostid in the boot prom
from the keyboard.  I would not regard either of these to be 'hard' parameters to
change - merely undocumented.

--
================================================================================

Invincible Technologies Corporation                 Bellnet: (972)-503-0440
Dallas, Texas 75240                                 FAXnet:  (972)-503-5676
"The world is complex. Sendmail.cf reflects this...."

 
 
 

Are there ways to get the some Unique system identification

Post by H. Peter Anv » Tue, 19 May 1998 04:00:00




In newsgroup: comp.os.linux.development.system

Quote:

> I wonder what he set.. IE the high-order part is mandated to vendor-specific
> codes.  Maybe the lower-order end is done with PLA's or something...

On nearly all current Ethernet cards, the entire Ethernet address
lives in an EEPROM (which may or may not be a part of the driver chip,
but usually not.)

        -hpa
--
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bah' -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misrables

 
 
 

1. Getting unique system ID from OS5

I would like to gain read-only access to the system ID (the same one
shown via scoadmin lic) from within a C program.

I know that I could use "brand -I", but the man page for brand
specifically states that this will not be supported in the future,
plus I'd rather not use the system() call to do it. I've tried using
the __scoinfo(), but the system ID is not part of the scoutsname
structure. (The system serial number is, however I would like to use
the system ID since it's guaranteed to be unique).

Any ideas?


See ya at SCOForum and death to spammers!

2. which PCI hardware for Linux?

3. Q: Why am I getting "Sorry - PPP is not available on this system"?????

4. HELP: Out of memory when booting

5. Getting a userid on server side, generating a unique number, etc.

6. Lilo revisited

7. Getting a Unique ID from hardware?

8. PCI token ring support needed

9. Getting unique names, no duplicates with awk????

10. Script help - Getting unique entries from a list

11. req. known ways to crash a system

12. changing system identification

13. jfs, vxfs, different file system , different ways of increasing