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

    Delay bootup time options?

    General pfSense Questions
    2
    7
    2.4k
    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.
    • C
      cobrahead
      last edited by

      I would like to be able to delay the bootup of the pfsense box in case of power failure, allowing time for my modem to first come back online. It would be nice to have the option to skip the delay, in the case that I am rebooting manually and the cable modem is up. Any such options in pfsense settings?

      Thanks

      "PERFECTION IS THE ENEMY OF PERFECTLY ADEQUATE."

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        There is nothing in the options for that, and certainly nothing that would do it on a case-by-case basis, but FreeBSD does have an option you might be able to leverage:

        You can edit /boot/loader.conf.local (create it if it does not exist) and add this:

        autoboot_delay="n"
        

        Where n is the number of seconds to wait.

        This is a countdown timer at the loader screen, so if you are watching the console you could manually press enter to proceed and skip the delay that way.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          cobrahead
          last edited by

          @jimp:

          There is nothing in the options for that, and certainly nothing that would do it on a case-by-case basis, but FreeBSD does have an option you might be able to leverage:

          You can edit /boot/loader.conf.local (create it if it does not exist) and add this:

          autoboot_delay="n"
          

          Where n is the number of seconds to wait.

          This is a countdown timer at the loader screen, so if you are watching the console you could manually press enter to proceed and skip the delay that way.

          I will try that this weekend. Thanks for the pointer!

          "PERFECTION IS THE ENEMY OF PERFECTLY ADEQUATE."

          1 Reply Last reply Reply Quote 0
          • C
            cobrahead
            last edited by

            @jimp:

            You can edit /boot/loader.conf.local (create it if it does not exist)

            What is the best way to create loader.conf.local?

            "PERFECTION IS THE ENEMY OF PERFECTLY ADEQUATE."

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Depends on what you're most comfortable with. ssh in and use an editor like ee or vi, or use the GUI: Diagnostics > Edit File

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • C
                cobrahead
                last edited by

                @jimp:

                Depends on what you're most comfortable with. ssh in and use an editor like ee or vi, or use the GUI: Diagnostics > Edit File

                If I can use the GUI I will probably go that route. Thanks again.

                "PERFECTION IS THE ENEMY OF PERFECTLY ADEQUATE."

                1 Reply Last reply Reply Quote 0
                • C
                  cobrahead
                  last edited by

                  That worked perfectly. Thanks!  :)

                  I am putting this delay in place to help my network recover from a power outage. After a power failure my entire system becomes energized at the same time. This delayed boot on the pfsense box allows my modem to come back online first.

                  I know sophisticated PDU equipment is available to control the order of network devices being powered up after an electrical outage. Beyond something like that, is this the best way to accomplish a smooth recovery to 'online' status of a network after a power failure? It seems like this would come up more often… perhaps there is a setting within pfsense that handles this sort of issue.

                  "PERFECTION IS THE ENEMY OF PERFECTLY ADEQUATE."

                  1 Reply Last reply Reply Quote 0
                  • GertjanG Gertjan referenced this topic on
                  • T tedquade referenced this topic on
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.