Thank you, now it works =) 16.02.2015, 17:03, "Alan DeKok" <aland@deployingradius.com>:
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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html