Alexandre Chapellon wrote: > Am not sure to understand... Once the wifi user entered the network > (level2: no IP yet), I have an entry for its sessions in my accouting > database, with username, sessionID, maybe mac_address and so on...
Yes. This often includes NAS IP and port. > But when the user sends a DHCP request to obtain IP address (gain level3 > access), that request may not contain any reference to the username, but > to the mac address... that's it? And often the NAS IP and port. > So the trick would be to get the username from the mac address querying > the accouting database? Yes. > And then? Can I use any ippool module in the freeradius DHCP server? or > Do I have to use static mapping mac2ip? The ippool module doesn't do allocation for DHCP. But you could write a short Perl program to do it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html