On Tue, Aug 28, 2012 at 1:20 PM, Murat K <[email protected]> wrote: >> I have all my users postpaid. How can I configure freeradius that all of >> them are postpaid?
Nothing > I heard there is a centralbase parameter that should be postpaid Ask whomever you heard it from, because it's not true. The simplest test example, adding a user and cleartext-password entry to the top of /etc/raddb/users (or wherever your user file is), would allow a user to authenticate to the NAS (i.e. login) with that password. And if that NAS sends accounting packets, FR will record it, and you can then use the accounting information to charge the user later (i.e. postpaid). To create a prepaid user, you need to return some limit attribute that your NAS understands (i.e. Session-Timeout, ChilliSpot-Max-Total-Octets, whatever) to limit how long that user can be online. Usually that's done by using and configuring rlm_counter or rlm_sqlcounter (see the docs and wiki for details). -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

