Re: Raspberry Pi Serial Number
- Reply: Archimedes Gaviola : "Re: Raspberry Pi Serial Number"
- In reply to: Archimedes Gaviola : "Raspberry Pi Serial Number"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 10:14:49 UTC
On 2022-Feb-23 17:48:18 +0800, Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote: >How to obtain the RPi serial number? I'm checking sysctl info but there >seems to be none with FreeBSD-13.0-RELEASE and 14.0-CURRENT or I just >missed it somewhere? In CentOS it is reflected in the /proc/cpuinfo such as: > >Hardware : BCM2835 >Revision : b03112 >Serial : 10000000bc8a56a3 >Model : Raspberry Pi 4 Model B Rev 1.2 I don't have a RPi4 but at least on my RPi2, the data appears to be in sysctl: hw.board.serial: 00000000d206f16c hw.board.revision: 10620993 hw.platform: bcm2836 -- Peter Jeremy