OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive Portal Widget in the Dashboard
« previous next »
  • Print
Pages: [1]

Author Topic: Captive Portal Widget in the Dashboard  (Read 6472 times)

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Captive Portal Widget in the Dashboard
« on: September 28, 2016, 04:59:55 pm »
Dear Devs,

I am wondering if there's plans to add a widget for captive portal users located in the dashboard?

Cheers!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #1 on: September 29, 2016, 07:59:21 am »
Hi wifimasters,

What kind of widget are we talking about in terms of visible statistics?

Adding a widget is not hard, designing a useful widget is. :)


Cheers,
Franco
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #2 on: September 29, 2016, 03:44:03 pm »
Hello franco,

How are you doing? We appreciate your time in the forum.

I am looking at similar to M0w0wall & pfSense where in the Dashboard I can see who are the connected clients, their IPs, duration/time, etc.. Some useful information.

Cheers!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #3 on: October 01, 2016, 02:08:42 pm »
Connected IPs per network can be pretty big and we already have multiple CPs that need to be tied into one widget.

So I could see something like an overview per captive portal zone: name of zone, http/https active, active clients, current bandwidth statistics.

Would that be enough as a first version?


Cheers,
Franco
Logged

Napapong

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #4 on: October 03, 2016, 05:11:48 pm »
yes, it would be enough.  ;D
Logged
Napapong.TH

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #5 on: December 18, 2016, 06:58:01 am »
Dear Admins, do we have update on this? we are planing to run a neighborhood hot spot business and will need such feature.

thank you
Logged

gertfriend

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #6 on: April 07, 2017, 03:26:41 pm »
That would be a great feature.

Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?
Logged

gertfriend

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: Captive Portal Widget in the Dashboard
« Reply #7 on: April 18, 2017, 10:59:16 am »
Quote from: gertfriend on April 07, 2017, 03:26:41 pm
That would be a great feature.

Would it be possible also to integrate a statistic for the connected users, for example to see how much clients were connected yesterday at 09.00?

For now i solved it with the following script, witch will write date and time and the number off logged in users in the cplogins.txt and this script is scheduled every 5 minutes:

Code: [Select]
z=$(date +"%d.%m.%Y %H:%M")
l=$(configctl captiveportal list_clients 0 | grep -w "anonymous" | wc -l)
echo $z $l >> /root/cplogins.txt
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive Portal Widget in the Dashboard
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2