no calling-station-id received

Alan DeKok aland at
Mon Jan 9 13:45:37 CET 2012

asgzl wrote:
> Hi, I recently installed Freeradius 2.1.7 and use mysql as db. The PPPoE
> server+Freeradius+mysql is working well, while I want to add MAC as one of
> the authorize method. The problem I meet is that I see ppp is not sending
> MAC to radius. Can you let me know how to write unlang to get
> calling-station-id send to sql? Many thanks

  It's impossible.

  Read what you wrote.  The PPP system is NOT sending the MAC to RADIUS.
 So... RADIUS doesn't have the MAC.  There is no amount of unlang you
can write which will cause it to magically discover the MAC.

  Fix the PPP system so that it sends the MAC.

  Alan DeKok.

More information about the Freeradius-Users mailing list