1

On Linux I would do something like dmidecode -s bios-version as root.

What is the equivalent for OpenBSD?

1

2 Answers 2

4

as root,

pkg_add dmidecode
# if not done so already
printf "kern.allowkmem=1\n" >> /etc/sysctl.conf
reboot

and then again as root

dmidecode -s bios-version
1
  • 1
    And then revert allowkmem, by removing the respective line on /etc/sysctl.conf, and reboot again.
    – Zé Loff
    Commented Aug 23, 2022 at 11:48
1

Often, dmesg is enough:

$ dmesg | grep ^bios0
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xa728d000 (91 entries)
bios0: vendor American Megatrends Inc. version "1205" date 05/03/2018
bios0: ASUSTeK COMPUTER INC. PRIME H270-PRO

The second line is the relevant one, in this case: the machine has BIOS version 1205.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .