On 17/01/13 11:29, Tiago wrote:
Hello everyone, I'm struggling with something that should be simple to fix.
I have a rp-pppoe NAS server here that correctly understand a few attributes (radreply) that come from freeradius 1.x (w/mysql database). Example:
Download (for download rates) attribute
Simple real example, from pppoe server: # cat /var/run/radattr.ppp479 .... Framed-Compression Van-Jacobson-TCP-IP Framed-Protocol PPP Framed-MTU 1500 Download 12000 Upload 3072
"Download" and "Upload" aren't standard attributes. Where are these defined in "dictionary" files?
Sending Access-Accept of id 192 to NASPPPOE01 port 48956 Framed-Protocol = PPP Framed-Compression = Van-Jacobson-TCP-IP Cliente = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" Framed-MTU = 1500 WISPr-Bandwidth-Max-Down = 256000 WISPr-Bandwidth-Max-Up = 256000 Finished request 0. Going to the next request
What I'm missing? it seems like the attributes are not being sent to NAS, but I could be wrong
Correct. Check the attributes are actually defined in a dictionary on the 2.x installation; check raddb/dictionary on the 1.x installation, see if they were defined as custom VSAs or similar.