At one point in time, you will need to find out your service or asset tag. Maybe you need to find out when your machine is out of vendor warranty, or are actually finding out what is in the machine. Popping the service tag into the Dell support site will tell you this… But what if you don’t have them written down?
The Dell “tools”, it should be pointed out, require you restarting the machine with a CD in the drive or using a COM file. There is no way in hell that I’m digging out a DOS disk to try and run a COM file to get the service tag. The CD, as it turns out, is just a rebadged Ubuntu CD… Success!
So I mounted the Dell ISO, which was rather fiddly, and took a look around. A program called serviceTag was the first thing I noticed. Was this a specific Dell tool? What would happen if I ran it?
Being paranoid, I decided to see what was linked to this binary.
$ ldd serviceTag linux-gate.so.1 => (0xf773f000) libsmbios.so.2 => not found libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7635000) libm.so.6 => /lib32/libm.so.6 (0xf760b000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75ed000) libc.so.6 => /lib32/libc.so.6 (0xf7473000) /lib/ld-linux.so.2 (0xf7740000)
Hmmmm. Never heard of libsmbios before. A quick Google vision quest lead me here.
The SMBIOS Specification addresses how motherboard and system vendors present management information about their products in a standard format by extending the BIOS interface on x86 architecture systems.
Debian (and RHEL) have these tools in their standard repos! For Debian, it’s just a matter of
apt-get install libsmbios-bin
You can then, simply, run
[root@calculon /home/nick]$ /usr/sbin/getSystemId Libsmbios version: 2.2.28 Product Name: Gazelle Professional Vendor: System76, Inc. BIOS Version: 4.6.5 System ID: XXXXXXXXXXXXXX Service Tag: XXXXXXXXXXXXXX Express Service Code: 0 Asset Tag: XXXXXXXXXXXXXX Property Ownership Tag: