• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Show serial number in webgui?

Scheduled Pinned Locked Moved webGUI
9 Posts 5 Posters 3.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    almw
    last edited by Oct 31, 2018, 7:31 PM

    To my knowledge there is no option to have the webgui show the serial number of the server. I was wondering if the devs could add this or is there already a way to show it? It would be super useful to be able to see the serial number on the main page of the webgui under the System Information widget.

    1 Reply Last reply Reply Quote 0
    • N
      NogBadTheBad
      last edited by Oct 31, 2018, 8:38 PM

      It's a BIOS thing that is vendor specific, it shows with official Netgate hardware:-

      0_1541018324527_Screenshot 2018-10-31 at 20.35.32.png

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      1 Reply Last reply Reply Quote 0
      • N
        NogBadTheBad
        last edited by Oct 31, 2018, 8:46 PM

        You might actually see it depending on the motherboard by using the dmidecode command from Diagnostics -> Command Prompt

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        A 1 Reply Last reply Nov 4, 2018, 4:41 PM Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Nov 2, 2018, 2:29 PM

          Check and see if it shows in kenv or dmidecode.

          The dashboard widget shows it if it's in a common place. It isn't specific to Netgate hardware, but we do make sure that Netgate hardware shows its serial number there. Serials will show for other devices that properly populate the expected serial fields.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          A 1 Reply Last reply Nov 4, 2018, 4:39 PM Reply Quote 0
          • A
            almw @jimp
            last edited by almw Nov 4, 2018, 4:46 PM Nov 4, 2018, 4:39 PM

            @jimp Sorry for the delayed response. The serial number shows properly using

            dmidecode -t system | grep Serial.
            

            Without grep the output is:

            # dmidecode 3.1
            Scanning /dev/mem for entry point.
            SMBIOS 2.7 present.
            
            Handle 0x0001, DMI type 1, 27 bytes
            System Information
                    Manufacturer: Dell Inc.
                    Product Name: OptiPlex 7010
                    Version: 01
                    Serial Number: 9X0RDX1
                    UUID: 4C4C4544-0058-3010-8052-B9C04F445831
                    Wake-up Type: Power Switch
                    SKU Number: OptiPlex 7010
                    Family: Not Specified
            

            EDIT: It also shows in kenv

            LINES="24"
            acpi.oem="DELL  "
            acpi.revision="2"
            loader_brand="pfSense"
            loader_color="NO"
            loader_logo="pfSensebw"
            module_path="/boot/kernel;/boot/modules;/boot/dtb;/boot/dtb/overlays"
            smbios.chassis.maker="Dell Inc."
            smbios.chassis.serial="9X0RDX1"
            smbios.memory.enabled="8388608"
            smbios.planar.maker="Dell Inc."
            smbios.planar.product="0773VG"
            smbios.planar.serial="/9X0RDX1/CN7220032Q01Z3/"
            smbios.planar.version="A02"
            smbios.socket.enabled="1"
            smbios.socket.populated="1"
            smbios.system.maker="Dell Inc."
            smbios.system.product="OptiPlex 7010"
            smbios.system.serial="9X0RDX1"
            smbios.system.sku="OptiPlex 7010"
            smbios.system.uuid="4c4c4544-0058-3010-8052-b9c04f445831"
            ...
            
            1 Reply Last reply Reply Quote 0
            • A
              almw @NogBadTheBad
              last edited by Nov 4, 2018, 4:41 PM

              @nogbadthebad Yeah I'm aware that dmidecode can get it from the command line. I was wanting it to show up in the webgui so I wouldn't have too access all of my machines through ssh to check the serial numbers.

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Nov 5, 2018, 3:04 PM

                Probably being ignored since it's so short. Looks like the widget expects the serial to be 10-16 digits. If you change this line to say 7 instead of 10 it should show up for you.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                B 1 Reply Last reply Sep 17, 2019, 11:32 PM Reply Quote 0
                • B
                  bulletproof @jimp
                  last edited by Sep 17, 2019, 11:32 PM

                  @jimp The link you referenced appears to invalid?

                  2368 return (array('name' => 'XG-1541', 'descr' => 'Super Micro XG-1541'));
                  

                  Is this issue going to be addressed in a future update? I use a lot of Dell hardware when setting up pfSense firewalls, and am guessing others do as well.

                  The command:

                  dmidecode -t system | grep Serial.
                  

                  Does work.

                  Thanks!

                  P 1 Reply Last reply Sep 17, 2019, 11:47 PM Reply Quote 0
                  • P
                    provels @bulletproof
                    last edited by provels Sep 18, 2019, 12:09 AM Sep 17, 2019, 11:47 PM

                    @bulletproof Try 2265.

                    	if (strlen($serial) >= 10 && strlen($serial) <= 16 &&
                    

                    Maybe rename the box to fw_9X0RDX1?
                    Ignore at will! ;)

                    Peder

                    MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                    BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received