dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

Wrong serial number printed in console

Open Loic78570 opened this issue 10 months ago • 10 comments

Component

other

Device

NovaCustom V54 14th Gen

Dasharo version

0.9.0

Dasharo Tools Suite version

2.2.1

Test case ID

No response

Brief summary

The command sudo dmidecode -s system-serial-number returns a generic system serial number instead of the one written in the back of the laptop.

How reproducible

No response

How to reproduce

  1. Open terminal and execute sudo dmidecode -s system-serial-number.

Expected behavior

The laptop should return the same system serial number as printed in the back of the laptop.

Actual behavior

The laptop returns 123456789.

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

Loic78570 avatar Feb 25 '25 14:02 Loic78570

@Loic78570 the serial number can be customized by using DCU on te binary before flashing the device: https://github.com/Dasharo/dcu?tab=readme-ov-file#standalone

By default there is a generic serial number fixed in the firmware build. It doesn't work like that as you expect it.

Not sure if @wessel-novacustom does that for each laptop before shipping.

miczyg1 avatar Feb 25 '25 14:02 miczyg1

Not sure if @wessel-novacustom does that for each laptop before shipping.

  • @miczyg1 We do not yet since we are waiting for serial number integration support for the RTE flash device.

wessel-novacustom avatar Feb 25 '25 15:02 wessel-novacustom

Is there a way we can change manually the value of that generic serial number, for use with tools such as Google Endpoint Verification Helper ?

Loic78570 avatar Feb 25 '25 15:02 Loic78570

@Loic78570 would you mind explaining your use case more extensively? Is Google Endpoint Verification Helper an open-source project? I tried to look for it but barely understood how it is used.

pietrushnic avatar Feb 25 '25 15:02 pietrushnic

It seems that there are also other tools such us: https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/ Using dmidecode for serial number: https://developers.cloudflare.com/cloudflare-one/identity/devices/warp-client-checks/corp-device/#linux

macpijan avatar Feb 25 '25 15:02 macpijan

@Loic78570 You could use DCU tool to set the serial number yourself: https://github.com/Dasharo/dcu

Although I think it's not in the initial firmware release yet @mkopec ?

macpijan avatar Feb 25 '25 16:02 macpijan

Although I think it's not in the initial firmware release yet @mkopec ?

correct, that feature was merged quite recently

mkopec avatar Feb 25 '25 16:02 mkopec

We use a script that fetches the system serial number to make a correspondance between Google Workspace's device list and our EDR. To push our S/N on the EDR, we have to execute a shell command on the machine, as such, we execute $(sudo dmidecode -s system-serial-number) to get it.

We have recently bought three NovaCustom V54 14th Gen, are we able to do it ?

Loic78570 avatar Feb 25 '25 16:02 Loic78570

I managed to make a bootable USB key with the Dasharo Tools Suite on it, is it possible to change the serial number with it registered within the system ?

Loic78570 avatar Feb 27 '25 11:02 Loic78570

We have recently bought three NovaCustom V54 14th Gen, are we able to do it ?

Unfortunately not yet, as @mkopec said, this feature has been added recently and is not part of the official release yet.

macpijan avatar Feb 27 '25 11:02 macpijan

Tested on V540TU, Dasharo 1.0.0-rc5, Dasharo Tools Suite 2.6.0;

setting serial number in Dasharo image with dcu smbios -s XXXXXX command works.

matmacieje avatar Aug 27 '25 12:08 matmacieje