I need to bind the software key with the motherboard.
Everything seems ok on systems like Slackware, Debian and Arch which run as virtual machines in VirtualBox. (/sys/class/dmi/id/product_uuid
)
Now we have industry pcs, which have Arch linux and when i try to find the information about motherboard it seems to be absent. There is no folder /sys/class/dmi. I then installed dmidecode
and it failed to retrieve information with error No SMBIOS nor DMI entry point found, sorry.
Is there another way of getting the information i need?
If you know another, alternate or better, way of binding SW to HW then please do tell, but our goal is to let clients upgrade RAM, HDD, NIC or VGA without having us generate software serial for the new PC layout.
EDIT1: The software is created using c++, at this point i was only thinking of how to get the information using the bash script, as i can easily run the commands from my c++ program and get the output needed, but maybe there is another way using some c++ functions?