Hi,<br> This is my first email on freeradius mailing list so I would like to say thanks to freeradius development team and all those who participate in this mailing list.<br><br> I am using freeradius 2.1.11 on Debian 6.0 to have enough control over pptpd users. Everything is hosted on a single machine and freeradius works fine but I can't use some of the features I see in daloradius 0.9-9 control panel.<br>
 One of this features is "Max-All-Session" and some other attributes that allow me to limit download/upload bandwidth. I used to following checklist to install and integrate daloradius with freeradius database:<br>
<br>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br>apt-get install apache2<br>apt-get install php5<br>apt-get install php5-mysql<br>apt-get install php-pear<br>
apt-get install php5-gd<br>apt-get install php-db<br><br>wget <a href="http://www.xxxxxxxx.com/pptp/daloradius-0.9-9.tar.gz">http://www.xxxxxxxx.com/pptp/daloradius-0.9-9.tar.gz</a><br>tar -zxvf daloradius-0.9-9.tar.gz<br>
<br>mv daloradius-0.9-9 dalo<br>cp -R dalo /var/www<br><br>chown www-data:www-data /var/www/dalo -R<br>chmod 644 /var/www/dalo/library/daloradius.conf.php<br><br>mysql -u radius -pPASSWORD radius < /var/www/dalo/contrib/db/mysql-daloradius.sql<br>
<br><br># Set CONFIG_DB_USER and CONFIG_DB_PASS in daloradius.conf.php<br>nano /var/www/dalo/library/daloradius.conf.php<br>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br>
<br> I think this checklist is just a minimum to only get daloradius to work. I would be thankful if you provide a better checklist or letting me know about other things that need to be done.<br> Yesterday I spent about two hours to find out why freeradius fails to authenticate the user when I use "Max-All-Session" attribute. I just googled the error message I could see in "freeradius -X" and found that I have to add "noresetcounter" in the authorize { } section of /sites-enabled/default and uncomment "$INCLUDE sql/mysql/counter.conf" in radiusd.conf.<br>
 This eliminated the error message and the users that have a "Max-All-Session" attribute can connect but freeradius still let the user to connect even when its time credit is finished.<br><br> The only attributes that seem to work properly are "Simultaneous-Use" and "Expiration". I don't have any problem with them and they work fine.<br>
<br> Actually, I am not sure if it is about daloradius. Please correct me if I am wrong cause I am a web developer and do know just a little about networking, radius server, access server, etc.<br><br>Thanks in advance.<br>
Moby<br>