I did it MYsql+freeradius+chillispot
Thank you very much to all the participants for helping me to successfully installing the server.i have now created users in my sql and it is authenticating successfully.Now in the current scenerao I am only able to give prepaid facility to my users I mean that in the section "Simeltaneous-Use" I give the required seconds. Now I want to know what is the "attribute" for the postpaid scheme. I mean that I wont define any sort of time limitations.But I want my customer's surfing time to be appended in mysql.How can this be done?. And can the Max-All-Session value be given in minutes/hour's. Thank you Rupak Shrestha
On Wed, 1 Jun 2005 13:55:27 -0700 "Rupak" <rupak@sns.com.np> wrote:
I mean that I wont define any sort of time limitations.But I want my customer's surfing time to be appended in mysql.How can this be done?.
The session time of your users is stored in the radacct table.
And can the Max-All-Session value be given in minutes/hour's.
The value of Max-All-Session is by default "infinite". It will never reset the counter of the user with that attribute which is defined by reset = never. Read the experimental.conf.sample file: # The 'reset' parameter defines when the counters are all # reset to zero. It can be hourly, daily, weekly, monthly or # never. It can also be user defined. It should be of the # form: # num[hdwm] where: # h: hours, d: days, w: weeks, m: months # If the letter is ommited days will be assumed. In example: # reset = 10h (reset every 10 hours) # reset = 12 (reset every 12 days)
participants (2)
-
Marcin Jessa -
Rupak