ALTRAD8UD-1L2T: Cannot access OpenBMC WebUI

I have a ALTRAD8UD-1L2T which boots and runs OK, but I cannot access the OpenBMC WebUI.

I can ssh into the board using the BMC IPv4 address as described in the board’s manual and then query for the webservice:

root@altrad8ud-1l2t:~# systemctl status bmcweb.service
* bmcweb.service - Start bmcweb server
     Loaded: loaded (/usr/lib/systemd/system/bmcweb.service; enabled; preset: enabled)
     Active: active (running) since Sun 2025-04-06 08:42:08 UTC; 19min ago
TriggeredBy: * bmcweb.socket
   Main PID: 640 (bmcweb)
        CPU: 6.309s
     CGroup: /system.slice/bmcweb.service
             `-640 /usr/bin/bmcweb

I can also do this from my laptop:

$ curl -k https://192.168.88.251/redfish/v1
{
  "@odata.id": "/redfish/v1",
  "@odata.type": "#ServiceRoot.v1_15_0.ServiceRoot",
  "AccountService": {
    "@odata.id": "/redfish/v1/AccountService"
  },
  "Cables": {
    "@odata.id": "/redfish/v1/Cables"
  },
  "CertificateService": {
    "@odata.id": "/redfish/v1/CertificateService"
  },
  "Chassis": {
    "@odata.id": "/redfish/v1/Chassis"
  },
  "EventService": {
    "@odata.id": "/redfish/v1/EventService"
  },
  "Id": "RootService",
  "JsonSchemas": {
    "@odata.id": "/redfish/v1/JsonSchemas"
  },
  "Links": {
    "ManagerProvidingService": {
      "@odata.id": "/redfish/v1/Managers/bmc"
    },
    "Sessions": {
      "@odata.id": "/redfish/v1/SessionService/Sessions"
    }
  },
  "Managers": {
    "@odata.id": "/redfish/v1/Managers"
  },
  "Name": "Root Service",
  "ProtocolFeaturesSupported": {
    "DeepOperations": {
      "DeepPATCH": false,
      "DeepPOST": false
    },
    "ExcerptQuery": false,
    "ExpandQuery": {
      "ExpandAll": false,
      "Levels": false,
      "Links": false,
      "NoLinks": false
    },
    "FilterQuery": false,
    "OnlyMemberQuery": true,
    "SelectQuery": true
  },
  "RedfishVersion": "1.17.0",
  "Registries": {
    "@odata.id": "/redfish/v1/Registries"
  },
  "SessionService": {
    "@odata.id": "/redfish/v1/SessionService"
  },
  "Systems": {
    "@odata.id": "/redfish/v1/Systems"
  },
  "Tasks": {
    "@odata.id": "/redfish/v1/TaskService"
  },
  "TelemetryService": {
    "@odata.id": "/redfish/v1/TelemetryService"
  },
  "UUID": "460b7cc6-4fba-4237-9ee3-299f893cf09f",
  "UpdateService": {
    "@odata.id": "/redfish/v1/UpdateService"
  }
}

from which I understand that the webserver is up and running.

But opening a browser with that address always gives me this:

If I curl that address from my laptop, I get a binary file returned.

Maybe I somehow messed up my BMC installation.

How could I factory reset it from this state?

I’ve tried doing it through the BIOS, Server Management, Load BMC Default Settings. But I still can’t access the WebUI. Any ideas are welcome!

Did you try to upgrade your BMC to latest firmware?

Have you plug the ethernet into right BMC port?

How can I upgrade the BMC without access to its WebUI? Looking at https://www.asrockrack.com/general/productdetail.asp?Model=ALTRAD8UD-1L2T#Download it says “Update Method”: “OpenBMC WebUi”.

Yes, I plugged in the ethernet into the right port (LAN RJ-45 Port (IPMI) from the Manual).

Yes, it still can use OpenBMC regular update procedure to upgrade BMC

  1. use scp to copy the image file to ALTRAD8UD BMC
    In this case, I used the BMC 3.06.
    ex:
    $ sftp altrad8ud-1l2t_3.06.00.static.mtd.tar root@192.168.1.100:/tmp/images

  2. get the BMC image hash number on the ALTRAD8UD BMC

root@altrad8ud-1l2t:/tmp# cd images/
root@altrad8ud-1l2t:/tmp/images# ls
2bb0fdf8
root@altrad8ud-1l2t:/tmp/images#
  1. Run Update BMC command on ALTRAD8UD BMC, and remember to put the image hash number(2bb0fdf8) to the command
busctl set-property xyz.openbmc_project.Software.BMC.Updater \
  /xyz/openbmc_project/software/2bb0fdf8 \
  xyz.openbmc_project.Software.Activation RequestedActivation s \
  xyz.openbmc_project.Software.Activation.RequestedActivations.Active

After run this command, BMC will run upgrade BMC procedure in few seconds.

1 Like

Thank you, @Richard !

I only see version 02.07.00 of the BMC on the downloads page. Where did you get the 3.06 one?

I see, it is on the Beta Firmware page.

1 Like

@Richard Can I factory reset the BMC from the command line?

I saw on other websites:

ipmitool raw 0x32 0x66

or something similar, with different hex values.

Yes, it can use the command to do factory reset, but a little different, it should be like following command

ipmitool raw 0x32 0x66 1
1 Like

Doesn’t seem to work:

root@altrad8ud-1l2t:~# ipmitool raw 0x32 0x66 1
Unable to send RAW command (channel=0x0 netfn=0x32 lun=0x0 cmd=0x66 rsp=0xc1): Invalid command

Another issue that I have, and how I got here, is that when I plugin an ethernet cable in the 10G LAN RJ-45 Port (LAN1, shared NIC) port, the BMC captures it, instead of my OS. This doesn’t happen with the 1G LAN RJ-45 Port (LAN3), which is correctly captured by the OS.
I have no idea why this is happening.

Any help is welcome!

I got the BMC WebUI working! I ssh’ed into the BMC console and found out that the static files in /usr/share/www were gzipped. I gunzipped all of them and now I have access to the BMC’s WebUI.

But I still have the issue to use the 10gbits ports on my OS. I should open a new topic for that issue.

1 Like

Interesting about your NIC card, could you show me how to reproduce it.
Maybe I can try it.

I don’t know how to reproduce it on a machine that works fine.
I just plugged in the cable in the 10gbit NIC and attached it to a DHCP router. If I ssh into that newly assigned IP address, I get to the BMC console, just like I do when I ssh to the admin eth. In the BMC console, I can do # ip address and see 2 IP addresses. Lastly, rebooting, the first screen shows both addresses assigned to the BMC. The 1gbit eth works fine, I can use it from the OS.

I guess this behavior is controlled by the BMC and/or BIOS?

I haven’t tried a factory reset from the BMC WebUI yet, hopefully that solves it! I would like to upgrade the BMC, but I’m not sure I want to take the risk for the Beta release 3.06…

I had the same with Chrome.
Safari, Firefox, Vivaldi worked without issues.

In the BMC web console, you can disable DHCP for the shared 10G interface.

1 Like