Hi, all!<br><br>I am now using a WiMAX network and I want to use freeradius+mysql (and EAP, TLS) for it. Now I need to add some new attribute (such as the service level for a single client) in the mysql database. And then the freeradius server can return the attribute to tell the AGW. <br>
<br>I have looked up some methods on the Internet and I found these pages:<br><br><a href="http://ubuntuforums.org/showthread.php?t=151781">http://ubuntuforums.org/showthread.php?t=151781</a><br><a href="http://www.frontios.com/freeradius.html">http://www.frontios.com/freeradius.html</a><br>
<br>From the above two links, I have a basic idea. I think I can create a new table in the databse to store the new attribute like this: <br>user1  attribute-value-user1<br>user1  attribute-value-user2<br>....<br><br>Then as stated in <a href="http://www.frontios.com/freeradius.html">http://www.frontios.com/freeradius.html</a>, the rlm_sql is responsible for return some pre-defined attributes to the AGW and SS. Then I write some code in rlm_wimax.c to query the database for the new defined attribute and return it to the AGW to let it know.<br>
<br>I don't know it is right? Or otherwise I should write my db operation code in rlm_sql?<br><br>Thanks a lot for your kindly help!<br>