16 Feb
2015
16 Feb
'15
9:01 a.m.
On Feb 16, 2015, at 3:26 AM, qnick@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/postgr...
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.