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

Bandwidth.conf deleted at each reboot ?

Scheduled Pinned Locked Moved pfSense Packages
3 Posts 2 Posters 1.8k 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.
  • H
    hkcisonline
    last edited by Apr 17, 2008, 11:28 AM

    i have to monitor 2 different subnets with bandwidth

    • the one directly connected to my pfsense box 192.168.169.x
    • another using a static route behind the 192.168.169.x subnet : 10.46.x.x

    so i modified /usr/local/bandwidth/etc/bandwidth.conf and add the line : subnet 10.46.0.0/16

    i restart bandwidthd and it work but it seems the .conf file is overwriten after some times…
    and so it go back to the original state configured in the webconfigurator :(

    if anyone could help ? TIA!

    1 Reply Last reply Reply Quote 0
    • H
      hoba
      last edited by Apr 17, 2008, 5:44 PM

      That's the way pfSense is designed. Everything is created on bootup or configuration change from the config.xml from scratch. This way you have a single config file for all your services. Not sure how to hack that support in though. You probably have to modify the package itself that creates the config file to add that additional item.

      1 Reply Last reply Reply Quote 0
      • H
        hkcisonline
        last edited by Apr 18, 2008, 4:10 PM

        thx, i was pretty sure about that but i was expecting a specialist to say it :)

        anyway, i found a way to customize the /usr/local/pkg/bandwidthd.inc so now even after the reboot the item i added is still loaded in the config !

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