Captive portal accounting does not work properly
-
I updated then re installed BWD
A 10 MB file download for some reason was the first thing I tried. I waited for 30 minutes and BWD showed only 59KB.?
CP in the syslog showed 11MB Just where it should be.So I the next file was 100MB BWD showed 243.8M CP showed 122MB. So Cp is working fine at counting.
Next I tried a 50 MB file BWD went too 342.6MB
again 10 MB - 354.5M
'' 10 MB 376.7M
50 MB 450.9MSo in total I downloaded 240MB of files.
CP in the syslog shows user is at 253MB used –---- This sounds correctBWD counted up a total of 450.9 total sent 14.6M total received 436.3M
I'm going to try and swap out the Nic on the Lan interface.
I don't know if this might be the cause or not.
Currently I have the PF box wan connected too my home network 192.168.0.x/24
it's lan is 192.168.1.1/24
1 laptop through a switch back too the PF box. Ubuntu.
I download from an HFS file server I have running on the .0.x/24 lan. -
Ok So I swapped out my dual server nic for a realtek 8179 I think it is. PF calls it rl1
I get the same results,
100 MB file download cp counts from 258 too 368. Correct .. Bandwidthd counts from 522.4 too a whopping 743.7 witch is about double what it should be.
Is there anyway I can force BWD too get it's info from the same place CP does?
I want to set hard limits monthly some daily I would like to be able to offer users a way to keep exact tracking of what they have used/left.