[Chilli] Total Volume Traffic Limit
Devinder Singh
devinder at palettemm.com
Thu Feb 11 06:17:23 UTC 2010
Hi
I have the following
$INCLUDE /usr/share/freeradius/dictionary
in that directory i can see dictionary.chillispot
VENDOR ChilliSpot 14559
BEGIN-VENDOR ChilliSpot
ATTRIBUTE ChilliSpot-Max-Input-Octets 1 integer
ATTRIBUTE ChilliSpot-Max-Output-Octets 2 integer
ATTRIBUTE ChilliSpot-Max-Total-Octets 3 integer
ATTRIBUTE ChilliSpot-Bandwidth-Max-Up 4 integer
ATTRIBUTE ChilliSpot-Bandwidth-Max-Down 5 integer
ATTRIBUTE ChilliSpot-Config 6 string
ATTRIBUTE ChilliSpot-Lang 7 string
ATTRIBUTE ChilliSpot-Version 8 string
ATTRIBUTE ChilliSpot-OriginalURL 9 string
# Configuration management parameters (ChilliSpot Only)
ATTRIBUTE ChilliSpot-UAM-Allowed 100 string
ATTRIBUTE ChilliSpot-MAC-Allowed 101 string
ATTRIBUTE ChilliSpot-Interval 102 integer
# Inline with RFC 2882 use of VSE-Authorize-Only for remote config
# Note that 14559 = 0x38df is used as prefix for the VSE.
# This is recognized as the best (but bad) way of doing VSEs.
# (ChilliSpot Only - CoovaChilli uses Service-Type = Administrative-User)
VALUE Service-Type ChilliSpot-Authorize-Only 0x38df0001
END-VENDOR ChilliSpot
~
On 11 February 2010 12:51, Izak van Niekerk <vanniekerki at gmail.com> wrote:
> rlm_sqlcounter: No such attribute ChilliSpot-Max-Total-Octets
>>
>
> You need to include the Chillispot dictionary (dictionary.chillispot) in
> the freeradius dictionary file.
>
>
>
> -------- Original Message --------
> Subject: [Chilli] Total Volume Traffic Limit
> From: Devinder Singh <devinder at palettemm.com>
> To: david at coova.com, chilli at coova.org
> Date: 11/02/2010 06:24
>
>> Hi
>> I have tried this and get an error
>> Module: Instantiating noresetBytecounter
>> sqlcounter noresetBytecounter {
>> counter-name = "Total-Max-Octets"
>> check-name = "Max-Octets"
>> reply-name = "ChilliSpot-Max-Total-Octets"
>> key = "User-Name"
>> sqlmod-inst = "sql"
>> query = "SELECT (SUM(AcctInputOctets)+SUM(AcctOutputOctets)) FROM
>> radacct WHERE UserName='%{%k}'"
>> reset = "never"
>> safe-characters =
>> "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
>> }
>> rlm_sqlcounter: No such attribute ChilliSpot-Max-Total-Octets
>> /etc/freeradius/sql/mysql/counter.conf[120]: Instantiation failed for
>> module "noresetBytecounter"
>> /etc/freeradius/sites-enabled/default[176]: Failed to find module
>> "noresetBytecounter".
>> /etc/freeradius/sites-enabled/default[62]: Errors parsing authorize
>> section.
>> }
>>
>>
>> Devinder
>>
>>
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
>
>
>
--
Devinder Singh | R&D Manager
______________________________
Palette Multimedia Berhad (420056-K)
6 Floor, Unit 4,
KPMG Tower
8 First Avenue,
Bandar Utama,
47800 Petaling Jaya, Selangor
Malaysia
m. +60122248306
p. +60377289880 Ext 502
f. +60377281080
@ devinder at palettemm.com
www.palettemm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100211/298cb9a4/attachment.htm>
More information about the Chilli
mailing list