host_id - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > system identity
DESCRIPTION
The host_id utility reports the serial number of the host system processor board. The meaning of "serial number" is implemented differently on each platform:
-
Raspberry Pi: /proc/cpuinfo
-
BeagleBone: hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -s 16 -n 12
The host_id utility should be made available to the scs_dev/control_receiver in order that the host serial number can be verified by a remote management system.
SYNOPSIS
host_id.py
EXAMPLES
./host_id.py
DOCUMENT EXAMPLE
"0000000040d4d158"
BUGS
On Raspberry Pi, the host ID appears to be derived from the MAC address of the active interface, and is therefore unreliable on multi-homed hosts.