Alan DeKok
aland at deployingradius.com
Mon Feb 16 15:01:24 CET 2015
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.
More information about the Freeradius-Users
mailing list