Pppoe logged users



  • Hau!

    Is there a way (or patch) to implement a page which shows users logged in pppoe-server allowing disconnect them? just like that page of captive portal…

    thnx



  • @Richthofen:

    Hau!

    Is there a way (or patch) to implement a page which shows users logged in pppoe-server allowing disconnect them? just like that page of captive portal…

    thnx

    Not that I have seen.



  • I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.



  • @pk:

    I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.

    the pppoe authorizations show up in the system log. mpd has a cli as well which you can useto access all the data.
    if i get some time this month i might have a look at writing a how many loggied users page and maybe some features
    how many users have you got on pppoe local db or radius



  • @aldo:

    @pk:

    I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.

    the pppoe authorizations show up in the system log. mpd has a cli as well which you can useto access all the data.
    if i get some time this month i might have a look at writing a how many loggied users page and maybe some features
    how many users have you got on pppoe local db or radius

    I'm using RADIUS for auth.  If RADIUS accounting and interim updates could be added, that would be perfect.  I have a custom CRM to manage the RADIUS server.  I have a stats page to show bandwidth per user, and it's working great with Captive Portal (on m0n0wall, still not working right in PFsense).

    Thanks!



  • if you enable the cli in the pppoe-server startup script with  -a 127.0.0.1
    you can access it and disconnect a pppoe session

    i also ammended the pppoe load to add the /usr/local/bin/vpn-up and vpn-down to allow loggin of logged in and logged out clients on the ptpp logging tab like so.

    set iface up-script /usr/local/sbin/vpn-linkup
            set iface down-script /usr/local/sbin/vpn-linkdown

    adding radius acct-update is as simple as adding a line to vpn.inc like so

    set radius acct-update 180

    you will find the relevent area near the bottom of vpn.inc


Log in to reply