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

    Bounty $200: Monitor bandwidth use on IP adresses. NOW $250

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    151 Posts 25 Posters 105.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.
    • B
      Bredys
      last edited by

      Oki… when i use clean instalation in my vmware, services/BandwidthD works fine after editing bandwidthd config...
      But i need everytime when i made change manualy edit config file and delete line with free subnet info.

      I try this on real test PFsense box and same problem...

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        Please show me the line in question that you have to remove each time.

        I think we're getting close…

        1 Reply Last reply Reply Quote 0
        • B
          Bredys
          last edited by

          Everytime … this line : "subnet /"

          On my realbox is config like this (2 lan and 1 wan interface)
          subnet 192.168.10.0/24
          subnet /
          subnet 192.168.1.0/24

          on vmware (1 wan and 1 lan interface)
          subnet 192.168.1.0/24
          subnet /

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            Okay, deinstall and reinstall one more time.

            If it still fails to work correctly, please issue the following command from shell:

            cat /usr/local/pkg/bandwidthd.inc | grep Id

            1 Reply Last reply Reply Quote 0
            • B
              Bredys
              last edited by

              Not help …
              /* $Id: bandwidthd.inc,v 1.18 2007/02/04 20:23:27 sullrich Exp $ */

              Subnets to collect statistics on.  Traffic that

              matches none of these subnets will be ignored.

              Syntax is either IP Subnet Mask or CIDR

              subnet 192.168.1.0/24
              subnet /

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                Okay, I put some more code in to prevent the blank item.

                Please try to deinstall and reinstall again.  You should now be on 1.19 of that file.

                1 Reply Last reply Reply Quote 0
                • B
                  Bredys
                  last edited by

                  Its OK now :)

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Alrighty, everyone else that helped with the bounty, please test and send me the rest of my $$

                    Thanks ! :)

                    1 Reply Last reply Reply Quote 0
                    • L
                      LawnMowerGuy1
                      last edited by

                      The conf is still not being written out correctly. For example, instead of recover_cdf it needs to be "recover_cdf true".

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        @LawnMowerGuy1:

                        The conf is still not being written out correctly. For example, instead of recover_cdf it needs to be "recover_cdf true".

                        Thanks.  Should be fixed now.  Wait atleast 5 minutes from this message to reinstall.

                        1 Reply Last reply Reply Quote 0
                        • L
                          LawnMowerGuy1
                          last edited by

                          Wow thats quick. Now it has" recover_cdf on" which still isn't quite right. Also, the draw graphs tickbox seems to have no effect on the conf.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by

                            @LawnMowerGuy1:

                            Wow thats quick. Now it has" recover_cdf on" which still isn't quite right. Also, the draw graphs tickbox seems to have no effect on the conf.

                            Okay, reinstall plz.

                            1 Reply Last reply Reply Quote 0
                            • L
                              LawnMowerGuy1
                              last edited by

                              OK now it will start, but I cannot seem to generate any graphs. Has anyone successfully generated any graphs?

                              I get
                              "bandwidthd has nothing to graph. This message should be replaced by graphs in a few minutes. If it's not, please see the section titled "Known Bugs and Troubleshooting" in the README"

                              Also IMO the bandwidthd page should open in a new window.

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                @LawnMowerGuy1:

                                OK now it will start, but I cannot seem to generate any graphs. Has anyone successfully generated any graphs?

                                I get
                                "bandwidthd has nothing to graph. This message should be replaced by graphs in a few minutes. If it's not, please see the section titled "Known Bugs and Troubleshooting" in the README"

                                Also IMO the bandwidthd page should open in a new window.

                                Yes, but it took about 20 minutes.  Now is the time to be patient :)

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mercredi
                                  last edited by

                                  ok, i reinstalled the package and it seems to be working. should it work without any config or not?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by

                                    @Mercredi:

                                    ok, i reinstalled the package and it seems to be working. should it work without any config or not?

                                    What does any config or not mean?

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Mercredi
                                      last edited by

                                      any config mean any config at all. setting any parameters in the package configuration. for example if i choose to save output file and to recover data from it after reboot the service is failed to start…

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sullrich
                                        last edited by

                                        @Mercredi:

                                        any config mean any config at all. setting any parameters in the package configuration. for example if i choose to save output file and to recover data from it after reboot the service is failed to start…

                                        Yes, on the latest version it should be fine.  Deinstall and reinstall.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Mercredi
                                          last edited by

                                          also how to take a look at the config file? bandwidth is counted only 2kb of traffic on my opt1 interface.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sullrich
                                            last edited by

                                            Try enabling promiscuous mode.

                                            Config file is in /usr/local/bandwidthd/etc/bandwidthd.conf

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.