Dialup Admin NAS List
Cory Robson
cory at cmi.net.au
Tue Jan 16 03:22:30 CET 2007
I'm hoping someone may be able to assist in modifying the user_finger.php
script to retrieve the list of NAS's for the online users from radacct
table.
Basically instead of reading the text file and cycling through them to add
the breakdown of NAS's I want to use something like
select DISTINCT NASIPAddress
from radacct
add them to an array and use the php gethostbyaddr() function to retrieve
the true hostname to sort them by
I don't need any of the snmp or NAS type or number of lines left as my
upstream does not allow me to connect to verify the information anyway .
This should just be a quick change for someone more talented than I to
remove the existing loop and replace it with the relevant sql loop instead.
Anyone ?
More information about the Freeradius-Users
mailing list