• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.5k Views 2 Watching
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.
  • S Offline
    SteveITS Rebel Alliance @stephenw10
    last edited by Jul 7, 2023, 12:32 AM

    @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.

    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 reboot, or more depending on packages, and device or disk speed.
    Upvote 👍 helpful posts!

    S 1 Reply Last reply Jul 7, 2023, 12:36 AM Reply Quote 0
    • S Offline
      SteveITS Rebel Alliance @SteveITS
      last edited by Jul 7, 2023, 12:36 AM

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

      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 reboot, or more depending on packages, and device or disk speed.
      Upvote 👍 helpful posts!

      1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @stephenw10
        last edited by Jul 7, 2023, 2:52 AM

        @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?

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 0
        • S Offline
          stephenw10 Netgate Administrator
          last edited by Jul 7, 2023, 2:26 PM

          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
          • S Offline
            stephenw10 Netgate Administrator
            last edited by stephenw10 Jul 7, 2023, 2:28 PM Jul 7, 2023, 2:27 PM

            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 Jul 7, 2023, 2:35 PM Reply Quote 0
            • S Offline
              SteveITS Rebel Alliance @stephenw10
              last edited by Jul 7, 2023, 2:35 PM

              @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.

              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 reboot, or more depending on packages, and device or disk speed.
              Upvote 👍 helpful posts!

              1 Reply Last reply Reply Quote 1
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Jul 7, 2023, 2:38 PM

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

                S 1 Reply Last reply Jul 7, 2023, 2:43 PM Reply Quote 0
                • S Offline
                  SteveITS Rebel Alliance @stephenw10
                  last edited by Jul 7, 2023, 2:43 PM

                  @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?

                  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 reboot, or more depending on packages, and device or disk speed.
                  Upvote 👍 helpful posts!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stephenw10 Netgate Administrator
                    last edited by Jul 7, 2023, 2:48 PM

                    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 Jul 7, 2023, 2:55 PM Reply Quote 0
                    • S Offline
                      SteveITS Rebel Alliance @stephenw10
                      last edited by Jul 7, 2023, 2:55 PM

                      @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.

                      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 reboot, or more depending on packages, and device or disk speed.
                      Upvote 👍 helpful posts!

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SteveITS Rebel Alliance @stephenw10
                        last edited by Jul 7, 2023, 5:46 PM

                        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)?

                        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 reboot, or more depending on packages, and device or disk speed.
                        Upvote 👍 helpful posts!

                        1 Reply Last reply Reply Quote 0
                        • S SteveITS referenced this topic on Jul 7, 2023, 9:18 PM
                        15 out of 15
                        • First post
                          15/15
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received