Stefan Puch wrote:
I've got a (maybe stupid) question concerning the Framed-IP-Address which is shown when using "radwho".
It comes from accounting packets. The content of accounting packets is whatever the NAS sends.
With the tool radwho which is provided from freeradius a can easily see which clients are connected to the different access-points. Now I recognized that for some clients also the local IP-address, which was given to the clients from the local dhcp-server, is shown as "Framed-IP-Address" when running "radwho -R" but only for SOME clients not for ALL.
Blame the NAS.
I would like to write a small script using radwho in order to log the ip-adress for each client on login/logout. Sure I could get the ip-address from logfile of the dhcp-server, but I would like to do it as easy as possible.
If the NAS doesn't send this data, you will have to find some other way to get it for yourself.
Can anyone tell me why the "Framed-IP-Address" is only shown for some clients and what I would have to do that it is show for all clients which are connected to local network?
Different NASes send different data. The same NAS can send different data in different circumstances. Alan DeKok.