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 112.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.
    • B
      Bredys
      last edited by

      I try install this package on new instaled pfsense with last snapshot from 02.02.
      But i cannot start service :

      Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
      Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
      Feb 4 16:31:36 bandwidthd: Monitoring subnet 192.168.10.0 with netmask 192.168.10.0
      Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11
      Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11

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

        how much time it need to create contents? i have allredy started service, link still not working

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

          @Bredys:

          I try install this package on new instaled pfsense with last snapshot from 02.02.
          But i cannot start service :

          Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
          Feb 4 16:31:36 bandwidthd: Syntax Error "syntax error" on line 11
          Feb 4 16:31:36 bandwidthd: Monitoring subnet 192.168.10.0 with netmask 192.168.10.0
          Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11
          Feb 4 16:31:16 bandwidthd: Syntax Error "syntax error" on line 11

          What does line 11 say of the file /usr/local/bandwidthd/etc/bandwidthd.conf

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

            Anyone having issues, please deinstall and reinstall.

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

              Line 11 is : "subnet /"

              When i delete this free subnet service start without problem
              but… i cant acces BandwidthD under Services... still page not found :(

              ;)

              ####################################################

              Bandwidthd.conf

              Commented out options are here to provide

              documentation and represent defaults

              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

                @Bredys:

                Line 11 is : "subnet /"

                When i delete this free subnet service start without problem
                but… i cant acces BandwidthD under Services... still page not found :(

                ;)

                ####################################################

                Bandwidthd.conf

                Commented out options are here to provide

                documentation and represent defaults

                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 /

                Please deinstall and reinstall the package.

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.