Packetwatch.net

Get system serial number in MythDora



Last modified: Jan. 29, 2010

Contents
1 - Summary
2 - Dmidecode installation
3 - Commands


1 - Summary

This guide will show how to get the system serial number and BIOS information
in MythDora. It will show how to install dmidecode package. This has been tested
in MythDora 10.21.


2 - Dmidecode installation

Install the dmidecode package.
# sudo yum -y install dmidecode
[sudo] password for user: 


3 - Commands

You can display the system information including serial number by typing the
following.
# sudo dmidecode -t 1 | grep -e 'Manufacturer' -e 'Product Name' -e 'Serial Number' | cut -f 2
[sudo] password for user: 
Manufacturer: System manufacturer
Product Name: System Product Name
Serial Number: System Serial Number

You can display the BIOS information by typing the following.
# sudo dmidecode -t 0 | grep -e 'Vendor' -e 'Version' -e 'Release Date' | cut -f 2
[sudo] password for user: 
Vendor: American Megatrends Inc.
Version: XXXX   
Release Date: XX/XX/XXXX


Last modified: Thu Jan 1 00:00:00 1970 UTC
Packetwatch Research 2002-2017.