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

    Wireless usage statistics

    Scheduled Pinned Locked Moved Wireless
    7 Posts 4 Posters 5.2k 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.
    • C
      Colonel Debugger
      last edited by

      Hello,

      We are a public library. I have set up a pfsense box to control our wireless hot spot for public users. I have a wireless router connected to an interface controlled by captive portal. We do not want to authenticate, just serve up a splash page that forces the user to click a button agreeing to our usage policy before they are released to the internet, and I have that part working…

      Here's my question: How can I keep track of how many users connect to the service? For example, on the first of each month, I need to be able to collect statistics for how many unique wireless sessions there were during the previous month. Is there a package I could add to the captive portal to accomplish this? Or even just a log file where I could manually count how many times users connected? Ideally, of course, I'd like to be able to see bandwidth usage, download/upload totals, etc. Thanks for any suggestions!

      1 Reply Last reply Reply Quote 0
      • X
        XIII
        last edited by

        use a syslog server like kiwi on a windows system and pf will send its logs that should contain the info you want to the computer you specify.

        -Chris Stutzman
        Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
        Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
        freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
        Check out the pfSense Wiki

        1 Reply Last reply Reply Quote 0
        • T
          trombone
          last edited by

          I also work at a library system. I use PFsense the same way you do. I would like to have the stats too. I downloaded Kiwi and Splunk  a year or two ago but never got them configured properly to do what I wanted. If you get this working please post details about what to do. Thanks!

          1 Reply Last reply Reply Quote 0
          • D
            Dovermen
            last edited by

            I work at a library and have used a syslog server to collect portal auth for statistics.  Our captive portal has idle timeout after one hour of inactivity, so each accept on the portal page is a unique patron in the past hour.  The system log settings are setup to send only portal auth to a remote syslog server.  The logs are archived each day, then I combine each day of the month and use spreadsheet to count each “user login” minus any “concurrent logins” (assume portal page loaded twice in separate windows or tabs and accept clicked again, or browser submits accept twice).  This is setup for three branches.  Each sends auth logs to same syslog server, then separate the branches in the spreadsheet.

            1 Reply Last reply Reply Quote 0
            • T
              trombone
              last edited by

              Thanks Dovermen. I can't try this right now but in a week or two I will reload Kiwi on my new computer and start again. Once I get it up and running I will post follow up questions. My main problem was sorting the data efficiently once I

              1 Reply Last reply Reply Quote 0
              • T
                trombone
                last edited by

                Thanks Dovermen. I can't try this right now but in a week or two I will reload Kiwi on my new computer and start again. Once I get it up and running I will post follow up questions. My main problem was sorting the data efficiently once I got it exported to Kiwi. Didn't think about putting it in a spreadsheet.

                Re-posted due to prematurely posting first time.

                1 Reply Last reply Reply Quote 0
                • X
                  XIII
                  last edited by

                  there is an edit button so that one can edit their post.

                  -Chris Stutzman
                  Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                  Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                  freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                  Check out the pfSense Wiki

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