Navigation

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

    Edit config.xml without rebooting

    2.4 Development Snapshots
    1
    1
    807
    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
      Medi last edited by

      Hello Team,

      After 3 days in work to resolv a problem in my PfSense Plateform, i open this Ticket to see if some one can help me to resolv this problem.
      Basicly, i use a python script to add new interfaces and Vlan's in PfSense, this script will generate a file in /conf/backup/config.xml, see exemple bellow :

      <opt1><if>em1_vlanXXX</if>
      <enable></enable>
      <spoofmac></spoofmac>
      <ipaddr>10.x.x.1</ipaddr>
      <subnet>24</subnet></opt1>

      and this for Vlan :

      <vlan><if>em1</if>
      <tag>XXX</tag>

      <vlanif>em1_vlanXXX</vlanif></vlan>

      and after that, the script will copy this config in /conf/config.xml and run /etc/rc.reload_interfaces to apply configuration
      But after that, PfSense DOWN, it will be UP after à reboot.
      My task is to make auto create interface (with script ) but i don't want to reboot PfSense, i need only to apply to this changes

      Thanks for help ;)

      Best regards for all

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Products

      • Platform Overview
      • TNSR
      • pfSense
      • Appliances

      Services

      • Training
      • Professional Services

      Support

      • Subscription Plans
      • Contact Support
      • Product Lifecycle
      • Documentation

      News

      • Media Coverage
      • Press
      • Events

      Resources

      • Blog
      • FAQ
      • Find a Partner
      • Resource Library
      • Security Information

      Company

      • About Us
      • Careers
      • Partners
      • Contact Us
      • Legal
      Our Mission

      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

      Subscribe to our Newsletter

      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

      © 2021 Rubicon Communications, LLC | Privacy Policy