Skip to content

Instantly share code, notes, and snippets.

View pierrelefevre's full-sized avatar

Pierre Le Fevre pierrelefevre

View GitHub Profile
@pierrelefevre
pierrelefevre / dell_lcd_user_string.md
Last active June 20, 2023 07:24
Change User string on Dell servers iDRAC LCD display

Introduction

While trying to set our Dell servers to have a helpful asset tag on the LCDs, we noticed that ipmitool's delloem set mode function was not working. Seeing as ipmitool is on hold due to sanctions, we tried to find an alternative solution.

From some old mailing list thread [0], and a blog post[1], we managed to change the LCD user string, however only when manually setting "Home" to be User String.

By staring at the code for a couple hours, we figured out why the existing set LCD mode command was not working - the 0x00 sent was not enough, as multiple parameters needed to be set each time. By adding the trailing zeroes, this command now works on our Precision 7920 Rack machines.

The code

#!/usr/bin/python3