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

    Captive portal accounting does not work properly

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    22 Posts 4 Posters 9.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.
    • A
      Alan87i
      last edited by

      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.9M

      So in total I downloaded 240MB of files.
      CP in the syslog shows user is at 253MB used –---- This sounds correct

      BWD 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.

      1 Reply Last reply Reply Quote 0
      • A
        Alan87i
        last edited by

        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.

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