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

    I cannot Access my pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 6 Posters 1.5k Views 4 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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      On the SG-2440 the reset button does reset the config:
      https://www.youtube.com/watch?v=AWQJJ5o6I_E&feature=youtu.be

      But the script that does that is not triggered until after root is mounted. From what you describe it sounds like it's stuck in a boot loop, probably due to file system damage, so it never reached that point.

      You need to connect to the console, boot into single user mode and run a manual FSCK:
      https://www.youtube.com/watch?v=4DKr1Dvan5I

      Steve

      1 Reply Last reply Reply Quote 0
      • A Offline
        akuma1x
        last edited by

        You should get yourself a USB console cable, they're very handy to have.

        https://www.amazon.com/AmazonBasics-USB-2-0-Cable-Male/dp/B00NH13S44/

        Do you have any external USB2 hard drives? It's technically the same cable type as a console cable, USB-A to Mini-B.

        Jeff

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

          Yeah, sorry I missed that.

          You need a console cable. No way to resolve that without one.

          Steve

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

            @akuma1x said in I cannot Access my pfsense:

            You should get yourself a USB console cable, they're very handy to have.

            I would quality that as "must have" or mandadtory. There is no VGA/HDMI connector, and no video support build in, so there is no "VGA + USB keyboard and go" access.
            The cable is (I hope it is) sold with the device, as you need it to initially set up the NIC's as 'WAN' LAN etc.

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

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

              @Gertjan said in I cannot Access my pfsense:

              The cable is (I hope it is) sold with the device

              It is. Or it was when the SG-2440 was sold.

              1 Reply Last reply Reply Quote 0
              • Raffi_R Offline
                Raffi_
                last edited by

                Curious if this recovery process specific to netgate devices? On my hardware, my first instinct would be a reinstall and restore config. Would a reinstall write a new file system if for example it were damaged due to improper shutdown?

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

                  Yes, reinstalling re-writes a clean filesystem.

                  The config reset via the button is specific to Netgate hardware. That would not help here as it's a filesystem issue not a config problem.

                  Steve

                  1 Reply Last reply Reply Quote 1
                  • O Offline
                    OpenWifi
                    last edited by

                    @stephenw10 how can i re-install a clean file system. I also i am getting this error from the console ( I bought a console cable yesterday ).
                    Screenshot_20200805-055114.png
                    Screenshot_20200805-055213.png
                    Screenshot_20200805-055247.png
                    Screenshot_20200805-055314.png
                    Screenshot_20200805-055340.png
                    Screenshot_20200805-055409.png

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

                      Hard to see exactly what's happening there but it's starting to boot normally and then kernel panicking so the most likely explanation is a filesystem error.
                      Try correct that by running fsck from single user mode:

                      Running a file system consistency check:
                      
                      1. Reboot your pfSense firewall and boot into Single User Mode by pressing '2' at the loader menu. It will boot to a question asking for a path to the shell, just press return to reach the # prompt.
                      
                      2. At the # prompt run the following command:
                      /sbin/fsck -y /
                      
                      Run the fsck command at least 3 times; Repeat the command until no errors are reported, even if fsck claims the filesystem has been marked "clean".
                      
                      3. Reboot by running: /sbin/reboot
                      
                      It should boot normally and with no residual long term issues
                      

                      Photos of the screen are not really very helpful here. The actual console output copy/pasted fro putty is MUCH better. Putty can also log all the output if you enable it, that would let us see exactly what is happening.

                      Steve

                      O 1 Reply Last reply Reply Quote 0
                      • O Offline
                        OpenWifi @stephenw10
                        last edited by

                        @stephenw10 Thank You Alot...I just reinstalled pfsense on the device and it worked

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