Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - draconx

Pages: [1]
1
Slightly off topic, but one idea I thought of was to make a little USB 2.0 hub expansion board connected to a PCIE bracket for the back of the computer, connected to the lone USB 2.0 port with a USB cable. It wouldn't do anything for USB bandwidth, but would give more USB ports for peripherals and such on the back. There are only 2 ports there now, so having more would bring it more in line with x86 boards.

You can very cheaply buy ready-made one-to-four-port USB2 hubs with normal motherboard headers, then you can just use any off the shelf USB bracket or case with USB ports.  I used this one and cut apart a cable with an angled USB-A connector to connect it to the Blackbird motherboard (I wanted to share photos but apparently uploads are busted on this forum).

2
Talos II / Re: OpenBMC password
« on: February 23, 2024, 04:15:13 pm »
I tried the instructions at graphcore.ai with no luck. But the instructions on the wiki for Resetting the BMC's Persistant Storage worked for me on two systems. After wiping the persistent storage, I was able to log into the BMC with the default password and get all the firmwares updated.

Wiping the entire persistent storage seems like total overkill if the only problem is that you forgot the BMC root password.

All you need to do is edit the shadow file on the overlay filesystem with a new password.

Follow that wiki page instructions to add overlay-filesystem-in-ram to the boot command line via u-boot.  This enables a root console login with the default root password of 0penBmc.  Once logged in, mount the writable overlay partition somewhere, for example:

Code: [Select]
# mount -t jffs2 /dev/mtdblock5 /mnt
Then the simplest way is probably to just copy /mnt/cow/etc/shadow over /etc/shadow, run passwd, then copy the newly-updated /etc/shadow back to the writable partition, for example:

Code: [Select]
# cp /mnt/cow/etc/shadow /etc/shadow
# passwd
New password:
Retype new password:
Retype new password:
passwd: Password updated successfully
# cp /etc/shadow /mnt/cow/etc/shadow

Or just run an editor on /mnt/cow/etc/shadow and manually change the root password hash to whatever you want.  Then reboot, and voila, shiny new BMC root password.

Pages: [1]