Re: Accounting log issue

2011-06-28 Thread Tseveendorj
On 11.06.28 13:44, Fajar A. Nugraha wrote: On Tue, Jun 28, 2011 at 12:27 PM, Tseveendorjtsev...@tunamal.mn wrote: Hello, The accounting information not logged in /var/log/freeradius/radacct/IPADDRESS/detail-x.log and also in MySQL table radacct. How to solve this ? Does your NAS send

Re: Accounting log issue

2011-06-28 Thread Tseveendorj
On 11.06.28 13:44, Fajar A. Nugraha wrote: On Tue, Jun 28, 2011 at 12:27 PM, Tseveendorjtsev...@tunamal.mn wrote: Hello, The accounting information not logged in /var/log/freeradius/radacct/IPADDRESS/detail-x.log and also in MySQL table radacct. How to solve this ? Does your NAS send

Accounting log issue

2011-06-27 Thread Tseveendorj
Hello, The accounting information not logged in /var/log/freeradius/radacct/IPADDRESS/detail-x.log and also in MySQL table radacct. How to solve this ? Sincerely, Tseveen. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

for Alan DeKok

2010-05-23 Thread Tseveendorj Ochirlantuu
Dear Alan DeKok Sorry for asking bothering question again. I don't solved yet Simultaneous-Use. Few days ago I've installed new version FreeRADIUS 2.1.8. Before(a year ago) radutmp utility didn't show the current connected users but this time it works I get logged in users data in radutmp file

sqlippool

2009-09-30 Thread tseveendorj
Dear all, I'm trying to use rlm_sqlippool with mysql. User can get IP address from pool with Pool-Name attribute but all users get same IP address. How to solve this ? Best regards, Tseveendorj TunamalCom LLC - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: sqlippool

2009-09-30 Thread tseveendorj
Hi Ivan Kalik, Sorry, How to debug ? Best regards, Tseveen. Ivan Kalik wrote: I'm trying to use rlm_sqlippool with mysql. User can get IP address from pool with Pool-Name attribute but all users get same IP address. How to solve this ? Debug? Ivan Kalik Kalik Informatika ISP - List

about Cisco-AVPair attribute

2009-06-30 Thread Tseveendorj
Hello, Sorry for asking cisco related thing. What kind of Cisco-AVPair attribute's value to known for policy based shaping. Currently I'm using following configuration with known Cisco-AVPair attribute's value ip:sub-policy-Out=1024Kbps, ip:sub-policy-In=1024Kbps policy-map 1Mbps class

Re: undefined symbol: sql_get_socket

2009-05-14 Thread Tseveendorj Ochirlantuu
from sql to rlm_sql_mysql but I have found Segmentation fault :D Please help on this situation. Sincerely, Tseveendorj. On Thu, May 14, 2009 at 10:33 PM, Ivan Kalik t...@kalik.net wrote: Today I've changed my OS and install FreeRADIUS 1.1.7. Why? That version is years out of date

Simultaneous-Use

2009-04-30 Thread Tseveendorj
Hello, I'm back on Simultaneous-Use. I think the problem comes from NAS because NAS-Port gives 0 value in the Access-Request. You can see following log Apr 30 18:17:22.353 GMT: RADIUS: NAS-Port-Type [61] 6 Virtual [5] Apr 30 18:17:22.353 GMT: RADIUS: NAS-Port

Re: Vendor Specified Attribute

2009-04-29 Thread Tseveendorj
Thank you very much. I'm understanding my question was very fool when I got answer from someone. I think that's comes from my knowledge of RADIUS and AAA. Sincerely, Tseveen. Alan DeKok wrote: Tseveendorj wrote: Hello, Can I put one attribute in database like following 256Kbps

Vendor Specified Attribute

2009-04-28 Thread Tseveendorj
Hello, Can I put one attribute in database like following 256Kbps Cisco-AVPair:= ip:sub-policy-Out=256Kbps 256Kbps Cisco-AVPair:= ip:sub-policy-In=256Kbps If not. How do I define bandwidth shape both in and out ? Sincerely, Tseveen - List

Re: about /usr/local/sbin/checkrad

2009-04-24 Thread Tseveendorj Ochirlantuu
Thanks for excellent help. On Fri, Apr 24, 2009 at 5:47 PM, t...@kalik.net wrote: Do I understand right or not about checkrad? Please drive me right direction. radius# checkrad Usage: checkrad nas_type nas_ip nas_port login session_id Checkrad checks if the accounting session open

about /usr/local/sbin/checkrad

2009-04-23 Thread Tseveendorj
Hello, Do I understand right or not about checkrad? Please drive me right direction. radius# checkrad Usage: checkrad nas_type nas_ip nas_port login session_id What is nas_port ? is it mean 1645, 1646 ? I found the session_id from cisco router with following command hostname#sh pppoe

how to Simultaneous-Use

2009-04-22 Thread Tseveendorj
Hello, Following packages installed on my server. FreeRADIUS 2.1.4 Perl 5.8.9 p5-SNMP_Session-1.12 p5-Net-Telnet-3.03 MySQL-5.0.77 I decided to use SNMP_Session and BER modules. When I'm executing checkrad by hand then I got following message. # checkrad cisco 192.168.0.60 1645 tseveen 40

Re: how to Simultaneous-Use

2009-04-22 Thread Tseveendorj
Thank you Alan DeKok. Sorry for bothering you. Have a nice day. Sincerely, Tseveen. Alan DeKok wrote: Tseveendorj wrote: checkrad: No SNMP answer from cisco. checkrad: not found! The NAS doesn't respond. I thought maybe OID is not compatible for my router c3825

Re: how to disable double connection

2009-04-18 Thread Tseveendorj
Alan DeKok wrote: Tseveendorj wrote: I didn't know where is the problem. Neither do I. You haven't posted the debug output, as suggested in the FAQ, README, INSTALL, man page, and daily on this list. Really appreciate help on it more detailed. Did you follow

about sqlippool

2009-04-15 Thread Tseveendorj
Hello, I got it. I defined Pool-Name attribute in wrong place. Tseveen. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

strange for me

2009-04-15 Thread Tseveendorj
Hello, I configured bandwidth shape in FreeRADIUS's MySQL with following in radgroupreply table Cisco-AVPair:= ip:sub-policy-Out=256Kbps but today I defined Pool-Name attribute in radcheck table tseveen Pool-Name := pool the problem is when I defined Pool-Name

Re: strange for me

2009-04-15 Thread Tseveendorj
@lists.freeradius.org] On Behalf Of Tseveendorj Sent: 15 April 2009 11:34 To: FreeRadius users mailing list Subject: strange for me Hello, I configured bandwidth shape in FreeRADIUS's MySQL with following in radgroupreply table Cisco-AVPair:= ip:sub-policy-Out=256Kbps but today I defined

Re: how to disable double connection

2009-04-15 Thread Tseveendorj
Alan DeKok wrote: Tseveendorj wrote: I'm providing internet to customers via ADSL2+. I have cisco router and FreeRADIUS 2.1.3. Customer can make double connection via PPPoE. How to disable double connection ? What kind of attribute can do that ? doc/Simultaneous-Use Alan DeKok

About sqlippool

2009-04-14 Thread Tseveendorj
Hello, Sorry for ask newbie question. I would like to implement sqlippool functionality on FreeRADIUS 2.1.3. I read /usr/local/share/doc/freeradius/rlm_sqlippool there has following note IP-Pool Attribute (Keep in mind that its a **CHECK** item, not reply) I didn't understand. which

how to disable double connection

2009-04-06 Thread Tseveendorj
Hello, I'm providing internet to customers via ADSL2+. I have cisco router and FreeRADIUS 2.1.3. Customer can make double connection via PPPoE. How to disable double connection ? What kind of attribute can do that ? Thanks for any help. Sincerely, Tseveen. - List

mrtg module for FreeRADIUS

2009-04-06 Thread Tseveendorj
Hello, Does FreeRADIUS have mrtg module for monitoring bandwidth usage? Sincerely, Tseveen. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: autostart script for FreeRADIUS

2009-03-31 Thread Tseveendorj
Scott Lambert wrote: On 31/3/09 02:46, Tseveendorj tseveend...@gmail.com wrote: Hi John Thank you for trying to help me. It has but I didn't know this is exactly right. Something looks like following inside /usr/local/etc/rc.d/mysql-server # PROVIDE: mysql # REQUIRE: LOGIN # KEYWORD

Re: about VSA attribute

2009-03-30 Thread Tseveendorj
t...@kalik.net wrote: I didn't implement 2 different attribute on the one user by myself. I was trying to do following If packet goes to subnet 192.168.0.0/24 then router should use policy-map 512Kbps. If packet goes to subnet any then router should use policy-map 256Kbps. Note: policy-map

Re: autostart script for FreeRADIUS

2009-03-30 Thread Tseveendorj
Doug Hardie wrote: On Mar 29, 2009, at 20:10, Tseveendorj wrote: May be I got the problem why radiusd didn't come up. I found following error in the radiusd.log Fri Mar 27 20:09:43 2009 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Fri Mar 27 20:09:43

Re: autostart script for FreeRADIUS

2009-03-30 Thread Tseveendorj Ochirlantuu
Hi Luciano, Sorry, I didn't understand what are you saying. Please more detailed. Sincerely, Tseveen. On Mon, Mar 30, 2009 at 8:42 PM, Luciano Afranllie listas.luaf...@gmail.com wrote: On Mon, Mar 30, 2009 at 6:53 AM, Tseveendorj tseveend...@gmail.com wrote: Doug Hardie wrote: On Mar

Re: autostart script for FreeRADIUS

2009-03-30 Thread Tseveendorj
John Hawkes-Reed wrote: On 30/3/09 13:42, Luciano Afranllie listas.luaf...@gmail.com wrote: On Mon, Mar 30, 2009 at 6:53 AM, Tseveendorj tseveend...@gmail.com wrote: Doug Hardie wrote: On Mar 29, 2009, at 20:10, Tseveendorj wrote: May be I got the problem why

autostart script for FreeRADIUS

2009-03-29 Thread Tseveendorj
Hello, I was installed FreeRADIUS 2.1.3 on FreeBSD 6.4 . I want FreeRADIUS comes up when the system is rebooting. Thank you. Sincerely, Tseveen - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: autostart script for FreeRADIUS

2009-03-29 Thread Tseveendorj
Yes. I already wrote radiusd_enable=YES in /etc/rc.conf but It didn't work. Doug Hardie wrote: On Mar 29, 2009, at 18:16, Tseveendorj wrote: Hello, I was installed FreeRADIUS 2.1.3 on FreeBSD 6.4 . I want FreeRADIUS comes up when the system is rebooting. Did you add to /etc/rc.conf

Re: autostart script for FreeRADIUS

2009-03-29 Thread Tseveendorj
: On Mar 29, 2009, at 18:16, Tseveendorj wrote: Hello, I was installed FreeRADIUS 2.1.3 on FreeBSD 6.4 . I want FreeRADIUS comes up when the system is rebooting. Did you add to /etc/rc.conf: radiusd_enable=YES radiusd_flags=-y I am not sure about the flags for that version. The -y

about VSA attribute

2009-03-26 Thread Tseveendorj
Hello, I'm trying to implement ADSL service via cisco router by NAS, FreeRADIUS 2.1.3 by AAA server and daloRADIUS. On the cisco router I defined some policy-map for traffic shape. In the radgroupreply table contains following attribute with value. cisco-avpair, := , ip:sub-policy-Out=512Kbps

Re: about VSA attribute

2009-03-26 Thread Tseveendorj
Hello Ivan Kalik Thank you very much for your help. I didn't implement 2 different attribute on the one user by myself. I was trying to do following If packet goes to subnet 192.168.0.0/24 then router should use policy-map 512Kbps. If packet goes to subnet any then router should use

unsubscribe

2007-04-17 Thread Tseveendorj Ochirlantuu
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html