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

    Hard reset & console reset not working any other options?

    Scheduled Pinned Locked Moved General pfSense Questions
    30 Posts 4 Posters 1.5k 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.
    • B
      beardedguy @SteveITS
      last edited by

      @SteveITS

      Enter an option: ^A^ZYou have stopped jobs.
      [1] + Suspended /etc/rc.initial

      ls -l /myfile.txt

      -rw-r--r-- 1 root wheel 2 Jul 17 10:39 /myfile.txt

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

        Use menu option 8 to hit the shell. That should still work.

        Then run: touch test.txt

        If no error is shown check it's actually there and the date is correct with ls -ls

        Reboot and check it's still there.

        B 1 Reply Last reply Reply Quote 0
        • B
          beardedguy @stephenw10
          last edited by

          @stephenw10
          [23.09.1-RELEASE][root@]/root: touch test.txt
          [23.09.1-RELEASE][root@]/root: ls -ls
          total 12352
          4 -rw-r--r-- 2 root wheel 1011 Dec 6 2023 .cshrc
          0 -rw-r--r-- 1 root wheel 0 Jul 16 14:34 .hushlogin
          4 -rw-r--r-- 1 root wheel 68 Dec 6 2023 .k5login
          4 -rw-r--r-- 1 root wheel 316 Dec 6 2023 .login
          4 -rw-r--r-- 2 root wheel 1199 Jul 16 14:34 .profile
          4 -rw------- 1 root wheel 1024 Jun 13 18:18 .rnd
          4 -rw------- 1 root wheel 503 Jul 17 10:49 .sh_history
          4 -rw-r--r-- 1 root wheel 2143 Jul 16 14:34 .shrc
          4 -rw-r--r-- 1 root wheel 3410 Jul 16 14:34 .tcshrc
          1408 -rw-r--r-- 1 root wheel 1381843 Mar 5 2023 packetcapture.cap
          0 -rw-r--r-- 1 root wheel 0 Mar 5 2023 packetcapture.start
          10912 -rw------- 1 root wheel 11128832 Dec 19 2022 pkg-static.core
          0 -rw-r--r-- 1 root wheel 0 Jul 17 10:52 test.txt
          [23.09.1-RELEASE][root@]/root:

          reboot

          Enter an option: ^A^ZYou have stopped jobs.
          [1] + Suspended /etc/rc.initial

          ls -l /test.txt

          ls: /test.txt: No such file or directory

          /myfile.txt

          -sh: /myfile.txt: Permission denied

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

            @beardedguy
            Your commands show you created text.txt while you were in /root/ directory but looked for it in the top level: "ls -l /test.txt"...try "ls -l /root/text.txt" instead.

            For reference, "ls" shows the directory LiSting, "-l" is "long" format meaning it shows file sizes and uses columns.

            "/myfile.txt" by itself would try to run that as a command which is why you got the error.

            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!

            B 1 Reply Last reply Reply Quote 0
            • B
              beardedguy @SteveITS
              last edited by

              @SteveITS good catch . . thanks.

              [23.09.1-RELEASE][root@]/root: touch test.txt
              [23.09.1-RELEASE][root@]/root: ls -ls
              total 12352
              4 -rw-r--r-- 2 root wheel 1011 Dec 6 2023 .cshrc
              0 -rw-r--r-- 1 root wheel 0 Jul 16 14:34 .hushlogin
              4 -rw-r--r-- 1 root wheel 68 Dec 6 2023 .k5login
              4 -rw-r--r-- 1 root wheel 316 Dec 6 2023 .login
              4 -rw-r--r-- 2 root wheel 1199 Jul 16 14:34 .profile
              4 -rw------- 1 root wheel 1024 Jun 13 18:18 .rnd
              4 -rw------- 1 root wheel 545 Jul 17 10:55 .sh_history
              4 -rw-r--r-- 1 root wheel 2143 Jul 16 14:34 .shrc
              4 -rw-r--r-- 1 root wheel 3410 Jul 16 14:34 .tcshrc
              1408 -rw-r--r-- 1 root wheel 1381843 Mar 5 2023 packetcapture.cap
              0 -rw-r--r-- 1 root wheel 0 Mar 5 2023 packetcapture.start
              10912 -rw------- 1 root wheel 11128832 Dec 19 2022 pkg-static.core
              0 -rw-r--r-- 1 root wheel 0 Jul 17 11:08 test.txt

              reboot

              Enter an option: ^A^ZYou have stopped jobs.
              [1] + Suspended /etc/rc.initial

              ls -l /root/text.txt

              ls: /root/text.txt: No such file or directory

              ls -l /root/test.txt

              -rw-r--r-- 1 root wheel 0 Jul 17 11:08 /root/test.txt

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

                Hmm, then I would try to recover to 24.03 dircetly and see if it shows errors installing. You should be able to recover the config at the same time.

                B 1 Reply Last reply Reply Quote 0
                • B
                  beardedguy @stephenw10
                  last edited by

                  @stephenw10
                  thanks, is there a process I can follow?

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

                    https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      beardedguy @stephenw10
                      last edited by

                      @stephenw10
                      i'm going though installation process and its requesting network connection

                      Verifying the Internet connection...
                      Trying to reach the Netgate Servers, please wait

                      i have internet on my laptop connected to console port. any suggestions?

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

                        You need to have the 2100 WAN connected to something valid so it can reach the pkg servers to install the latest version.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          beardedguy @stephenw10
                          last edited by

                          @stephenw10
                          back up and running, thanks for the help, excellent support!

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

                            Ah, great result! 👍

                            1 Reply Last reply Reply Quote 0
                            • B
                              beardedguy
                              last edited by

                              to prevent this kind of problem in the future I am looking for a UPS compatible with the NUT package on the 2100. is there a recommended UPS?

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

                                There isn't a Netgate recommended UPS.

                                If you ask in the UPS tools sub though I'm sure you'll get some.

                                B 1 Reply Last reply Reply Quote 1
                                • B
                                  beardedguy @stephenw10
                                  last edited by

                                  @stephenw10 thanks,

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

                                    @beardedguy said in Hard reset & console reset not working any other options?:

                                    am looking for a UPS compatible with the NUT package

                                    UPSs are all different, but basically all the same.
                                    So, if you have to chose, chose the one that works best - not with you, but with the software that is going to use the UPS : the NUT package.
                                    In other words : check out this list : Hardware compatibility list and based upon what you find, make your decision.

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

                                    B 1 Reply Last reply Reply Quote 1
                                    • B
                                      beardedguy @Gertjan
                                      last edited by

                                      @Gertjan thanks for the info, I got brave yesterday and ordered this one...

                                      APC Back-UPS 600VA, 120V, 1 USB charging port, 7 NEMA outlets (2 surge)
                                      BE600M1

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