Bandwidthd giving errror



  • I have a sort of new installation of pfsense. Has been using it for a couple of month. So far it has been stable with some minor hiccups.

    I am now ready to explore more on pfsense functions. I am trying bandwidthd now but I am unable to open it. When I click on bandwidthd, I get this error "Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_edit.php on line 423".

    I tried googling around but unable to find solution for this. Anyone can help?



  • That foreach() loops around generating all the data entry fields for a package GUI. There should always be data entry fields! Somehow it is not finding the package details at run-time.

    1. Which pfSense version are you using?
    2. Does /usr/local/pkg/bandwidthd.xml exist and have some contents?
      Maybe something went wrong during the package download/install, and remove+install will fix it?
      I have seen bandwidthd working on 2.0.2 and 2.1.


  • i have re-installed bandwidthd and it is working now. However, I ended up using ntop cause that is the only bandwidth monitoring that support multi-wan.


Log in to reply