Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Packages» bandwidthd problems ... !
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: bandwidthd problems ... !  (Read 2834 times)
0 Members and 1 Guest are viewing this topic.
crusty2000
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: March 18, 2007, 06:36:53 am »

Hello,
I have problems with the banwithd package.
It seems that it doesn't work properly ...  Roll Eyes
look at the screenshot, the page is not finished and there ar no graphs!?
what is the problem?  Huh

best regards,
Crusty
Logged
sullrich
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
« Reply #1 on: March 18, 2007, 01:12:24 pm »

Yep, just another of the handful of bugs this program has.

I am about to start searching for a suitable replacement for this package.
Logged

Follow me on Twitter! http://twitter.com/sullrich

pfSense Commercial Support

Paying customers receive support priority and detailed answers through the official commercial support channels, forum users receive as much help as time permits.
crusty2000
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: March 18, 2007, 02:00:33 pm »

the features of this package would be great but it's not working thats the problem, no good programmer her who could debug that tool?

best regards,
Crusty
Logged
hoba
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!


What was the problem to this solution again?


View Profile WWW
« Reply #3 on: March 18, 2007, 03:35:47 pm »

All devs already have enough to do with pfSense developement. It also requires some time to get into the code of someone else. Switching to something that *simply works* is probably the better attempt.
Logged
Mercredi
Full Member
***
Offline Offline

Posts: 81


View Profile
« Reply #4 on: March 18, 2007, 11:20:19 pm »

hey guys who wants extra functionality from bandwidthd package, maybe its better to pledge another bounty for your tasks? sorry.
Logged
hoba
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!


What was the problem to this solution again?


View Profile WWW
« Reply #5 on: March 19, 2007, 08:12:36 am »

The point is not other functionality, it's simply buggy (not the pfsense package but the bandwidthd itself) and doesn't run on all systems or with all setups.
Logged
crusty2000
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #6 on: March 22, 2007, 01:31:06 pm »

All devs already have enough to do with pfSense developement. It also requires some time to get into the code of someone else. Switching to something that *simply works* is probably the better attempt.
If you know a tool with the same functionality please tell me ...
Logged
MJK
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #7 on: March 23, 2007, 07:15:58 pm »

As I already documented at length (to put it mildly  Wink ) in the main Bounty/BandWidthD thread, I failed to get BandWidthD to produce the HTML files (ie, the graphs), even though it was collecting and analysing the traffic.

I looked through the source code, but could not spot anything obvious.

If Scott, or anyone, could point me to a detailed procedure on how to compile it (preferably under pfSense, and, obviously, using the correct Source), I'll gladly dig a bit deeper... and, maybe get familiar enough with it to check on other issues also.

Alternative, if a better replacement is on the Horizon....

  - Mike

Logged
sullrich
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
« Reply #8 on: March 23, 2007, 07:27:29 pm »

builder6# cd /usr/ports/
builder6# make search name=bandwidthd
Port:   bandwidthd-2.0.1
Path:   /usr/ports/net-mgmt/bandwidthd
Info:   Tracks bandwidth usage by IP address
Maint:  clement@FreeBSD.org
B-deps: freetype2-2.2.1_1 gd-2.0.34,1 gettext-0.14.5_2 gmake-3.81_1 jpeg-6b_4 libiconv-1.9.2_2 pkg-config-0.21 png-1.2.14
R-deps: freetype2-2.2.1_1 gd-2.0.34,1 jpeg-6b_4 libiconv-1.9.2_2 pkg-config-0.21 png-1.2.14
WWW:    http://bandwidthd.sourceforge.net/


To build simply do:

cd /usr/ports/net-mgmt/bandwidthd && make install
Logged

Follow me on Twitter! http://twitter.com/sullrich

pfSense Commercial Support

Paying customers receive support priority and detailed answers through the official commercial support channels, forum users receive as much help as time permits.
MJK
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #9 on: March 24, 2007, 08:33:28 am »

Many thanks, Scott.

If I make any progress, I'll post back here immediately.

(I'm a total newbie on pfSense, and also quite raw on Linux, so if I hit a wall anywhere, I'll also post back!).

  - Mike
Logged
hoba
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!


What was the problem to this solution again?


View Profile WWW
« Reply #10 on: March 24, 2007, 02:13:48 pm »

it's not linux  Roll Eyes
Logged
MJK
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #11 on: March 24, 2007, 02:24:40 pm »

Good catch  Wink

My apologies.
  - Mike

Logged
MJK
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #12 on: April 09, 2007, 07:34:00 am »

Scott,

Quote
builder6# cd /usr/ports/
builder6# make search name=bandwidthd
Port:   bandwidthd-2.0.1
Path:   /usr/ports/net-mgmt/bandwidthd
Info:   Tracks bandwidth usage by IP address
Maint:  clement@FreeBSD.org
B-deps: freetype2-2.2.1_1 gd-2.0.34,1 gettext-0.14.5_2 gmake-3.81_1 jpeg-6b_4 libiconv-1.9.2_2 pkg-config-0.21 png-1.2.14
R-deps: freetype2-2.2.1_1 gd-2.0.34,1 jpeg-6b_4 libiconv-1.9.2_2 pkg-config-0.21 png-1.2.14
WWW:    http://bandwidthd.sourceforge.net/


To build simply do:

cd /usr/ports/net-mgmt/bandwidthd && make install


I'm about to tackle this exercise... (I don't give up easily!). As a newbie on this stuff, I need a little more info, and I apologise for hassling folks here...

The standard installation does not have a PORTS folder under USR... and MAKE does not seem to run anyway - but I've not checked properly...

So, is there a note somewhere which covers basics like where the Sources should go, how to compile, what other LIBs, etc, should be installed/compiled, how to activate the revised binary, etc - starting from a standard pfSense install?

I searched around the forums here, and other pfSense sites, and the BandWidthD sites, without finding the required HOWTO!

Thank you,
  - Mike

PS: I've just noticed that there's a DEVELOPER's build of pfSense!! Dang - therein probably lies all the explanations and solutions! In that case, I assume I should install the developer's build on a separate HD, (in the system where Bandwidthd is not running properly), unless there's some easy "fiddle" to a standard release of pfSense to enable just the compiling of BandWidthD...

  - Mike
« Last Edit: April 09, 2007, 08:03:12 am by MJK » Logged
sullrich
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
« Reply #13 on: April 09, 2007, 01:42:34 pm »

PS: I've just noticed that there's a DEVELOPER's build of pfSense!! Dang - therein probably lies all the explanations and solutions! In that case, I assume I should install the developer's build on a separate HD, (in the system where Bandwidthd is not running properly), unless there's some easy "fiddle" to a standard release of pfSense to enable just the compiling of BandWidthD...

Yep, thats the ticket.
Logged

Follow me on Twitter! http://twitter.com/sullrich

pfSense Commercial Support

Paying customers receive support priority and detailed answers through the official commercial support channels, forum users receive as much help as time permits.
MJK
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #14 on: April 19, 2007, 04:44:03 pm »

...nearly there...

[Downloading and Installing the Developers ISO went fine. I'd no idea that, on initial boots, downloading all the Source, etc, takes very many hours, and MAKE INDEX takes an hour or 2 also!! I made one possibly nasty error with GREP, as noted in another thread]

Anyway, on the MAKE INSTALL, it downloads the sources, and compiles, and flashes up a massive amount of progress messages, but ends with: "Error Code 1". Whatever that means... Dang. The associated messages suggest running
  - make deinstall && make reinstall, or
  - setting FORCE_PKG_REGISTER in the Env, or
  - setting this in the make install command-line.

Any advice welcome. Perhaps just "make install FORCE_PKG_REGISTER", but I don't want to make things worse!

Separate interesting point:
  - BandWidthD DID create the INDEX files when I ran it for the first time. Looked only beautiful!
  - BUT... next time around, which was only a few minutes later (default config parms, generally), the INDEX.HTML was set to a size of 0, and the other 3 INDEX files were still OK (not refreshed yet).
  - Then, 1 hour later, the INDEX2.HTML file was set to 0. The other 2 were still OK.
  - presumably, when its time to refresh the others, they'll be duly clobbered.
  - I believe I did not do anything very major with the entire system, apart from installing Midnight-Commander.

I dearly hope this info rings a bell with someone... I doubt if tweaking the code will readily identify why the code sometimes creates the files, and sometimes does not...

I could try removing BandWidthD, clearing out the files, and re-installing, etc...

Thanks again...
  - Mike
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.309 seconds with 19 queries.