IP address assignment (rlm_ippool)
I want freeRADIUS to assign IP address to authenticated users, so Ive done thefollowing configuration ippool main_pool { # range-start,range-stop: The start and end ip # addresses for the ip pool range-start = 81.174.17.35 range-stop = 81.174.17.63 ...... ...... # session-db: The main db file used to allocate ip's to clients session-db = ${raddbdir}/db.ippool # ip-index: Helper db index file used in multilink ip-index = ${raddbdir}/db.ipindex ...... } Once started, I get back an error from radiusd : rlm_ippool: Failed to open file /etc/raddb/db.ippool: Permission denied radiusd.conf[1468]: main_pool: Module instantiation failed. It seems that the problem is due lack of db.ippool file. I've tried to create it manually, but nothing changed. Is there a way to generate db.ippool file so rlm_ippool can work properly? Thank you in advance, Best Regards, Carlo
"Carlo Prestopino" <c.prestopino@waitalia.com> wrote:
Once started, I get back an error from radiusd :
rlm_ippool: Failed to open file /etc/raddb/db.ippool: Permission denied
Try setting the file permissions so that the radius server has read/write access.
It seems that the problem is due lack of db.ippool file.
No. The error is "permissions denied", not "does not exist". Alan DeKok.
participants (2)
-
Alan DeKok -
Carlo Prestopino