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

Select config.xml at boot time (for multiple uses)

Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
4 Posts 3 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.
  • D
    df
    last edited by Dec 28, 2008, 9:40 AM

    Purpose:
    I have several small box i use for various setups, each setup involving a different config file.
    The idea is to be abble to store several config files and choose which to load on boot, or via the webgui (for next restart)

    How ? Two possible ways:
    One, at boot, probably when the pfsense code starts to load the config file, have an extra 5sec prompt (prompt time configurable via webgui ?) whith a choice to either boot "default" config file, or pick another config file already stored on the box.

    Second way, via the webgui, a simple page with a POST form to upload and manage the config files, we could store them in /cf/ and keep a small file db of their filename to alias definitions (so config names can be displayed with nice helpful names such as 'My access point config", "My captiv portal config"). Add to this the ability to select which config will be booted on next restart of the server.

    Reward:
    I don't think (hope) this is not too much work for who who knows pfsense's ways

    I can propose a 100$ ?

    What do you think ?

    1 Reply Last reply Reply Quote 0
    • P
      Perry
      last edited by Dec 28, 2008, 10:14 AM

      For paying customer on portal.pfsense.org there is AutoConfigBackup that might fit your need.
      http://doc.pfsense.org/index.php/AutoConfigBackup

      /Perry
      doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • J
        jahonix
        last edited by Dec 28, 2008, 12:41 PM

        @df:

        Second way, via the webgui, a simple page with a POST form to upload and manage the config files, we could store them in /cf/ and keep a small file db of their filename …

        You know about the GUI features under  Diagnostics | Backup/Restore | Config History Tab ?
        Older configs are already stored at  cf/conf/backup/config-…

        Maybe you can use that for your needs.

        1 Reply Last reply Reply Quote 0
        • D
          df
          last edited by Dec 28, 2008, 5:33 PM

          Perry: I wasn't aware of this, it sure is a nice idea to have a live backup of your precious rules.

          jahonix: I had never noticed this ;)

          But in both case these are possible ways to juggle and more / less get what i am mentioning, but in both cases, it doesn't fully fit the needs.

          The "on boot time" select of the config is in my scenario pretty useful.
          I'm not sure keeping 5 or 6 configs in history without labeling them properly can be a good way to manage your config files..
          Specially as my embed-boxen have different uses. (transparent AP, filtering AP, AP + captiv, no AP ..)

          Thus the idea of the bounty.

          1 Reply Last reply Reply Quote 0
          2 out of 4
          • First post
            2/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received