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

    Reset pfSense

    General pfSense Questions
    3
    9
    908
    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.
    • T
      timjaknz
      last edited by

      Hi all. I am pretty new to pfSense and know nothing about them or how they work and yet I'm the lucky winner of a HA failure. What I do have is a backup. What I don't have is access to the console, so my question is: How do I restore this backup cause every single google search tells how how to reset to factory defaults in the console

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @timjaknz
        last edited by

        @timjaknz

        You need to to have GUI (typical https://192.168.1.1) access.
        And before you go any further, make 'console' access working. About the how-to : I can give more info when you give more info, like what hardware you're using etc.

        Btw : "know nothing about them or how they work" you've won nothing special, and don't get me wrong here : don't touch them. To handle "HA failure" issues, you need to have have "some knowledge" (IMHO : already close to expert level), as this concerns two devices, and the way how they are interlinked.
        That said : If you have config copies of both devices, made at the same moment (or close), and you gave access to both devices, you might pull it off : import on both devices the config, and have them reboot both.
        That said : can't say more, never even saw a HA setup.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          What hardware are you using? What do you have access to?

          Steve

          T 1 Reply Last reply Reply Quote 0
          • T
            timjaknz @stephenw10
            last edited by

            @stephenw10 Hi Stephen. last night I build an old PC with a serial port and tested that on a Cisco router and it worked. I'm going to test now and see if I can get into the Firewall via Putty. Device info = Netgate XG-1541. If I log onto the second Firewall under system it says: Super Micro 1541. Had a look at the last backup my predecessor took and its a xml document and size = 8.6m/b. Hope this info helps. Will let you know shortly whether I have putty access

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

              The XG-1541 uses the VGA console by default. Unless the serial port has been enabled as a console you would need to connect to it directly with a keyboard and monitor.

              T 1 Reply Last reply Reply Quote 0
              • T
                timjaknz @stephenw10
                last edited by

                @stephenw10 Yeah man I just realized that the putty option will give me the same as the monitor. So the Firewall boots up and stays keeps repeating the following: login 1305 (this number changes) login on ttyv0 as root : /etc/rc.initial: not found. And then: init 1305 - getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs

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

                  Ah, sounds like it partially upgraded. Is that possible?

                  If you are running ZFS you can probably roll back the BE snapshot at the loader menu. Otherwise if you boot into single user mode from the loader menu you can try to recover from the CLI

                  You can always reinstall clean to get to 23.09 though and that's probably fastest. Open a ticket to get the recovery image:
                  https://www.netgate.com/tac-support-request

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    timjaknz @stephenw10
                    last edited by

                    @stephenw10 Hi Stephen. Booted into single user mode and I'm at; enter full pathname of shell or RETURN for /bin/sh:

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

                      Ok so hit return to reach the CLI.

                      You can use bectl there to switch BE snaps if you're running ZFS. If you're running UFS you can run an fsck:
                      https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html#manual-filesystem-check

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