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

    "Reset to factory defaults" at console doesn't work (solution)

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 2 Posters 1.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes I would expect it to remove the IP on the interface. It wouldn't remove VIPs.

      It sounds like that unit might have had other issues and it never completed the reset. That definitely worked in 23.05 on the 2100.

      Steve

      S 2 Replies Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @stephenw10
        last edited by

        @stephenw10 Ah some of those were VIPs and it had CARP for them. Still the default gw/route ought to be tied to the primary WAN. Will see for the next one.

        FYI I didnโ€™t receive an email for either of your posts, not in quarantine either.

        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!

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

          @SteveITS never mind just got the email for the second one.

          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
          • S
            SteveITS Galactic Empire @stephenw10
            last edited by

            @stephenw10 OK so it appears I was not patient enough. ๐Ÿค• ๐Ÿ˜ฅ Since I was wiping the HA pair anyway (the 4860) I tried console option 4 on it. It did work but it took about 4-5 minutes. I timed it but not exactly just using the PC clock.

            One other notable thing on at least the first boot was this long pause. It might have been around the same 4-5 minutes:

            Starting CRON... done.
             Starting package bandwidthd...done.
             Starting package OpenVPN Client Export Utility...done.
             Starting package System Patches...done.
             Starting package IPsec Profile Wizard...done.
             Starting package freeradius3...done.
            			[<-- long delay and blank line here]
             Starting package suricata...done.
             Starting package pfBlockerNG...done.
             Starting /usr/local/etc/rc.d/pfb_dnsbl.sh...done.
             Starting /usr/local/etc/rc.d/pfb_filter.sh...done.
            Netgate pfSense Plus 23.05-RELEASE amd64 Mon May 22 15:04:36 UTC 2023
            Bootup complete
            

            After the config reset those are still there but without the delay or blank line, in a different order:

            Starting CRON... done.
             Starting package bandwidthd...done.
             Starting package freeradius3...done.
             Starting package IPsec Profile Wizard...done.
             Starting package OpenVPN Client Export Utility...done.
             Starting package pfBlockerNG...done.
             Starting package suricata...done.
             Starting package System Patches...done.
             Starting /usr/local/etc/rc.d/pfb_dnsbl.sh...done.
             Starting /usr/local/etc/rc.d/pfb_filter.sh...done.
            Netgate pfSense Plus 23.05-RELEASE amd64 Mon May 22 15:04:36 UTC 2023
            

            That may just be random, I confess I don't watch the console much. :)

            Interestingly System/Packages shows all previously installed packages are still installed, though unconfigured. Option 4 specifically says "All additional packages installed will be removed." Sounds either like incorrect advice or a bug there?

            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
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Yeah, the actual packages may remain but I would not expect to see them in the menus, is that right?

              That does seem like a bug though, the packages should be uninstalled.

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

                Ha, like this: https://redmine.pfsense.org/issues/14378

                Though there I only saw it when using the button. Which is odd since that should run the same scripts.

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

                  @stephenw10 :) I added my note.

                  They were in the menus because I could click and verify they were unconfigured as if they were newly installed (or the config removed, which was the goal).

                  I'm going to work with the 2100 some more when I have time. I think there are a couple of issues w/r/t restores and interfaces but want to understand/replicate.

                  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 1
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Do you also see the packages get re-installed in the logs?

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

                      @stephenw10 Last night I was only looking at the console, and then when done testing I reinstalled to get ZFS. I did not notice it installing packages but it doesn't mean it didn't. I can look on the 2100. Where would it show?

                      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
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        You can see it in the boot log I attached on that ticket: https://redmine.pfsense.org/attachments/5025

                        It loads the default config but then reinstalls all the previous packages.

                        Steve

                        S 2 Replies Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @stephenw10
                          last edited by

                          @stephenw10 I see it, will look.

                          I wonder if it's tied to the "reinstall all packages after an upgrade" code which was new in 22.01.

                          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
                          • S
                            SteveITS Galactic Empire @stephenw10
                            last edited by

                            I tried the console factory default on the same 2100, with a valid Internet connection. It had no delay.

                            I then installed apcupsd via the GUI, and reset to defaults again. Afterwards the package was not installed. So, not sure what the difference was between yesterday and today.

                            I doubt the hardware (and hence ADI vs Arm) matters. Possibly, is an Internet connection required to remove a package? (callback to my 4m delay above) Or "many" packages or certain packages are handled differently than one package (seems unlikely)?

                            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
                            • S SteveITS referenced this topic on
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.