qnick at qnick.ru
qnick at qnick.ru
Mon Feb 16 22:31:58 CET 2015
Thank you, now it works =)
16.02.2015, 17:03, "Alan DeKok" <aland at deployingradius.com>:
> On Feb 16, 2015, at 3:26 AM, qnick at qnick.ru wrote:
>> I cannot connect freeradius with postgres in openwrt system.
>> Please help me with this issue.
>
> You’ve edited the configuration and broken it. Don’t do that.
>> dialup.conf file is the copy of https://github.com/FreeRADIUS/freeradius-server/blob/v2.x.x/raddb/sql/postgresql/dialup.conf
>
> That’s nice. You broke sql.conf.
>> sql.conf:
>> sql {
>> database = 'postgresql'
>>
>> driver = "rlm_sql_${database}"
>> server = "localhost"
>> login = "freeradius"
>> password = "password"
>> radius_db = "radius"
>> $INCLUDE sql/${database}/dialup.conf
>> }
>
> Add “nas_table” back to that entry. It’s in the default sql.conf file. Did you try reading that?
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list