I tried to do this in my config

session {
# radutmp

#
# See "Simultaneous Use Checking Queries" in sql.conf
sql
if (Post-Auth-Type == reject) {
ok
block_auth_error # my own policy
}

}

but radius answer is reject whatever and pppoe didn't up



2011/12/21 Alan Buxey <A.L.M.Buxey@lboro.ac.uk>
Hi,
>    The question is not how to make captive portal on my NAS, the question is
>    how do not reject customer, who reached max value of simultaneous-use?

....if you dont care about them reaching that value, then why are you checking?

but if you really do want to  redirect them to an error page - then you need to
read/check how to do that with your NAS (as Alan said, read your NAS documentation)
and instead of the current Simultaneous-Use result, put your own result in (whatever
RADIUS attributes/values you need to set for your user to get redirected to some error
page....however that is don by your NAS)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html