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

    Netgate Device ID retrieval

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 1.2k 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.
    • P
      pbl
      last edited by

      I have a failed device which uses the older mSata drives, and I cannot locate the correct Netgate Device ID. I've got a character string recorded in our documentation, but I believe that it may have been copied incorrectly.

      We have a ruleset that would take a few days to rediscover and recreate, and even then the latest few entries would likely not be correct.

      I cannot find a computer in our inventory to use the mSata drive as a boot drive, but have managed to purchase an inexpensive external USB drive that can use an mSata drive as the storage device. I have the drive mounted on a FreeBSD system and can read the files on the drive.

      Where can I find (is it stored in a file?) or generate the Netgate Device ID for the system that was on the mSata drive? Doing so would allow me to retrieve the AutoConfig stored backups.

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @pbl
        last edited by

        @tatankachip If you had upgraded to the pfSense Plus, you would find it there by logging in.

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        P 1 Reply Last reply Reply Quote 0
        • P
          pbl @NollipfSense
          last edited by

          Many thanks for your response. We are in the process of migrating a number of our systems, but this was an older hardware platform running 2.6.0 and was slated for replacement and migration to Plus in March.

          Meanwhile, with access to the files on the drive, is there a way to retrieve (or generate) the Device ID on the hard drive for the system that resided on that drive?

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @pbl
            last edited by

            @tatankachip I don't know if there's a way to find the ID. IIRC from other posts it is generated based on device hardware. However it sounds like you can't reinstall on this device.

            If you can mount the disk you can find the config file though:
            https://docs.netgate.com/pfsense/en/latest/backup/restore.html#restoring-by-mounting-the-disk

            The config history is also stored somewhere on the drive, but I am not sure where offhand.

            @NollipfSense The device ID actually shows in CE also, at least 2.6.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

            P NollipfSenseN 2 Replies Last reply Reply Quote 0
            • P
              pbl @SteveITS
              last edited by

              @steveits That just caused me a complete face-palm maneuver.

              If I just restore the configuration file, stored in (/conf/config.xml), in place from the old system to a new one, then that will do it.

              Testing now.

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @pbl
                last edited by

                @tatankachip ๐Ÿ˜ƒ I suspect just copying it in might cause issues, if that's what you meant, for packages. Restoring via the GUI will install packages.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @SteveITS
                  last edited by

                  @steveits said in Netgate Device ID retrieval:

                  The device ID actually shows in CE also, at least 2.6.

                  I know however, he stated he couldn't access earlier.

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    If you set a hint we can search for that.

                    The ACB key is based on SSH not the NDI. Since 2.6/22.01 SSH keys are backed up in the config so if you restore a back taken since then it should also restore access to ACB for that system.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.