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

    Can you make Pfsense automaticly reboot after a power outage?

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 5 Posters 4.3k 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.
    • M
      Majin Zero
      last edited by

      topic is the question.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        I think this is less a pfSense question than a question to the manufacturer of your mainboard.

        Take a look at you BIOS.
        Usually there is an option how the system should behave after a power outage (off, on, as before).

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • M
          Majin Zero
          last edited by

          As soon as I made the topic, I smacked my forehead thinking that. Thanks for confirming that.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Alternatively you could rig a coil around the power cord, a schmitt trigger, a few transistors , resistors and condensators for a monostable multivibrator so the power button gets short-cutted… :D

            (greetings from Mc Guyver ) ;)

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              If you don't have a biossetting for this it often works to use a simple jumper on the 2-pin-header where the powerswitch usually is connected. You won't be able to power off or on the machine manually then without cutting power though.

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG
                GruensFroeschli
                last edited by

                @hoba:

                If you don't have a biossetting for this it often works to use a simple jumper on the 2-pin-header where the powerswitch usually is connected.

                This can lead to problems.
                Most computers shut down if you press the power button more than 4 seconds
                –> short-cutting it will constantly shut it down and reboot it.
                That's why i was talking about a monostable multivibrator.
                So it only shortcuts the connector for a short time and then releases it :)

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  Nope, try it for yourself. If the machine is powered off push and hold the powerbutton. The machine will remain powered on. It only triggers if the system is up and the level of the button goes from 0-1 and stays there for 4 seconds but as it is not going from 0-1 it won't shut down. I used that a lot even with boards that act this way. The good old times when there was no bios setting for this you know?  ;)

                  1 Reply Last reply Reply Quote 0
                  • GruensFroeschliG
                    GruensFroeschli
                    last edited by

                    Maybe this is mainboard dependant.

                    About 3 years ago i wanted to do exactly that. The machine in question kept constantly rebooting when i just shortcut the two pins.
                    (It was a very old computer with nothing you could call a BIOS config….)

                    I solved it with the above solution (shortcut with a relais which is driven by a monostable multivibrator).

                    But then... which new mainboard doesnt support these settings :)

                    We do what we must, because we can.

                    Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                    1 Reply Last reply Reply Quote 0
                    • M
                      MicroWISP
                      last edited by

                      Use one of these…

                      http://www.digital-loggers.com/lpc.html

                      I wouldn't know what to do without them.

                      1 Reply Last reply Reply Quote 0
                      • V
                        Valhalla1
                        last edited by

                        @MicroWISP:

                        Use one of these…

                        http://www.digital-loggers.com/lpc.html

                        I wouldn't know what to do without them.

                        was just shopping these around on ebay and such, neat and useful looking.  thinking about getting one and figuring out a way to have it auto-reset my cable modem when the pfsense LoadBalance monitor detects the link is down

                        theres also a competing product, much more expensive "iBoot" but only has 1 plug, lame

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