Is it possible to use Chillispot just to send users to a page where they need to push login to continue, with no need for authentication?
I have tried with NoCatSplash, but it uses 100% cpu constantly, so I need something else.

2

(7 replies, posted in Radius Configuration)

Yes.

627 | gitbup6   | Max-All-Session  | := | 300        |

3

(7 replies, posted in Radius Configuration)

I already had it setup like this. But it is still not expiring the way I want it to.

sqlcounter noresetcounter {
         counter-name = Max-All-Session-Time
         check-name = "Max-All-Session"
         sqlmod-inst = sql
         key = User-Name
         reset = never
         query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{%k}'"
}
        sqlcounter dailycounter {
                counter-name = Daily-Session-Time
                check-name = Max-Daily-Session
                reply-name = Session-Timeout
                sqlmod-inst = sql
                key = User-Name
                reset = daily
                query = "SELECT SUM(AcctSessionTime - \                                                                             
                 GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) \                                                               
                 FROM radacct WHERE UserName='%{%k}' AND \                                                                         
                 UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '%b'"
        }
        sqlcounter monthlycounter {
                counter-name = Monthly-Session-Time
                check-name = Max-Monthly-Session
                reply-name = Session-Timeout
                sqlmod-inst = sql
                key = User-Name
                reset = monthly
                query = "SELECT SUM(AcctSessionTime - \                                                                             
                 GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) \                                                               
                 FROM radacct WHERE UserName='%{%k}' AND \                                                                         
                 UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '%b'"
        }
        always fail {
                rcode = fail
        }
        always reject {
                rcode = reject
        }
        always ok {
                rcode = ok
                simulcount = 0
                mpp = no
       }
        expr {
        }
        digest {
        }
        exec {
                wait = yes
                input_pairs = request
        }

exec echo {
                wait = yes
                program = "/bin/echo %{User-Name}"
                input_pairs = request
                output_pairs = reply
        }
        ippool main_pool {
                range-start = 192.168.182.3
                range-stop = 192.168.182.254
                netmask = 255.255.255.0
                cache-size = 800
                session-db = ${raddbdir}/db.ippool
                ip-index = ${raddbdir}/db.ipindex
                override = no
                maximum-timeout = 0
        }
}
authorize {
        preprocess
        chap
        mschap
        suffix
        sql
        noresetcounter
}

| 625 | gitbup6   | User-Password    | := | bonkacis   |
| 626 | gitbup6   | Simultaneous-Use | := | 1          |
| 627 | gitbup6   | Max-All-Session  | := | 300        |

4

(7 replies, posted in Radius Configuration)

I have a hotspot with chillispot and radius. When users buy for instance 1 day of internet time they can be logged on for 12 hours one day and 12 hours another.

I want to be able to make the account expire exactly 1 day after it is started instead of 1 day in total use.
How do I do this?