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

    Edit config.xml without rebooting

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    1 Posts 1 Posters 1.1k 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
      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
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.