> Hello,
++ Hai ...

>
>   pls help :-)
>   gimana biar  Max-Daily-Session dan Max-weekly-session bener-2
>   terputus kalau sudah sampai di batas nya ? baca2 dari thread milis2
>   radius yg dulu.
>
>   " Not unless you configured the daily and or weekly counters in
radius.conf.
>
>   If the counters are not configured they will not do anything. :-) "
++ saat configure, coba ditambah --with-experimental-modules

>
>   terus baca2 dari radius.conf tentang counter juga ada, cuma di
>   tambahkan di opsi bagian mana ya ?
++ setting di radius.conf  taruh di bagian "counter module"
di rlm_sqlcounter docs ada contohnya kan ...
jangan lupa create juga file sqlcounter.conf berikut setting2 didalamnya.

>
>         #
>         #  DEFAULT  Daily-Session-Time > 3600, Auth-Type = Reject
>         #      Reply-Message = "You've used up more than one hour today"
>
>    sudah baca2 juga tentang rlm_sqlcounter, di bagian example nya
>
>    "[2] username test0002 have total time limit of 3 hours a day
>
> test0002  Max-Daily-Session := 10800, User-Password == "blah"
>           Service-Type = Framed-User,
>           Framed-Protocol = PPP
> or in sql:
> > INSERT into radcheck VALUES
('','test0002','Max-Daily-Session','10800',':=');
>
> "
>
> kok isi radcheck nya beda ya ? harus nya isi nya id, username,
> attribute, op, value. kok di insert nya yg itu ? *maaf belum di coba*
> udah mentok nigh, gimana ya cara nya ? :-)
++ id gak perlu dipikirin, dia auto increment
bisa dilihat value yg diinsert utk id pada command INSERT diatas = ''.
kalo semisal urutannya kebalik ya tinggal di sesuaikan aja ama table radius
yg anda punya.

>
>
> # mysql -u radius -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 170 to server version: 3.23.54
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql> use radius;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> desc radcheck;
> +-----------+------------------+------+-----+---------+----------------+
> | Field     | Type             | Null | Key | Default | Extra          |
> +-----------+------------------+------+-----+---------+----------------+
> | id        | int(11) unsigned |      | PRI | NULL    | auto_increment |
> | UserName  | varchar(64)      |      | MUL |         |                |
> | Attribute | varchar(32)      |      |     |         |                |
> | op        | char(2)          |      |     | ==      |                |
> | Value     | varchar(253)     |      |     |         |                |
> +-----------+------------------+------+-----+---------+----------------+
> 5 rows in set (0.00 sec)
>
>
>    aduh, mentok, please help :-)
++ moga bisa bantu

salam
-rianu-



-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke