unique hardware identification

Jon Passki jon.passki at hursk.com
Sun Jan 28 17:12:46 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 27, 2007, at 23:35 , Daniel Rudy wrote:

> At about the time of 12/19/2006 7:19 AM, Devon H. O'Dell stated the
> following:
>> 2006/12/19, Koen Martens <fbsd at metro.cx>:
>>> Hi All,
>>>
>>> I was wondering, if something like a unique hardware identification
>>> would be possible on FreeBSD.

[snip]

If the machine is a PXE-compliant device [2], it should have a GUID/ 
UUID [1] available.  This can be exposed by sysutil/hal [3] via the  
smbios.system.uuid field.  The sysutil/hal port, though, requires a  
decent amount of dependencies.  You might want to give the pkg  
install a try first.  (I happened to have a lot of those ports  
installed, so it was not an issue for me.)

# dbus-daemon --system
# hald --verbose=yes
16:39:24.418 [I] hald.c:469: hal 0.5.8
16:39:24.418 [I] hald.c:478: Will daemonize
16:39:24.418 [I] hald.c:479: Becoming a daemon
# hal-get-property --udi /org/freedesktop/Hal/devices/computer --key  
smbios.system.uuid
64837263-8462-7493-1212-FFFFFFFFFFFF

Cheers,

Jon

[1] http://en.wikipedia.org/wiki/Globally_Unique_Identifier
[2] http://en.wikipedia.org/wiki/Preboot_Execution_Environment
[3] http://www.freshports.org/sysutils/hal/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFvNHRZpJsLIS+QSIRAvygAJwMqBHhdPhCwkaAnEo/MSBsbeig+QCeMc+c
HR4Wcvmt4kcZyaD1S76Hby4=
=YQQw
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list