Hello,

I’ve been using Armbian on a bunch of ARM SCBs and they have a very nice MOTD on SSH login that shows CPU, RAM, Storage and networking infromation.

Is there anything similar for a regular x86 machine? I tried to grab the scripts from a NanoPi M4v2 board but had to change a ton of stuff to get it working on x86 and it isn’t portable as AMD and Intel report temps differently. Or… does anyone know if their x86 version has it working and where to get?

Just for reference I’m talking about this: https://cdn.tcb13.com/2023/armbian-motd.jpg

Thank you.

  • ik5pvx@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    you should be able to drop an executable in /etc/update-motd.d/

    also have a look at libpam-motd or at the systemd scripts that ubuntu uses

    • TCB13@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Yes… but this armbian thing has too many dependencies I wouln’t want to run the armbianmonitor service just to power this up.

      • ik5pvx@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        sorry, I should have replied as top comment. I meant that on plain debian you can put executables in /etc/update-motd.d. That should do, otherwise have a look at libpam-motd , or steal the systemd scripts from an ubuntu install