When installing freeradius2 and sqlite3, schema.sql and dialup.conf are missing
Hello, I am using freeradius2 and sqlite3 in a router that has LEDE.https://lede-project.org/packages/pkgdata/freeradius2 https://lede-project.org/packages/pkgdata/freeradius2-mod-sql https://lede-project.org/packages/pkgdata/freeradius2-mod-sql-sqlite If I use the user file, the system works perfectly, but now I would like to use a small database, sqlite3, and for doing that the schema.sql and dialup.conf to setup the queries. When I go to github and switch to 2.x branch, I don't see a sqlite section (but for example I see mysql with those)https://github.com/FreeRADIUS/freeradius-server/tree/v2.x.x/raddb/sql I guess I can create the schema easily for example using the mysql version (removing the INNODB thing perhaps), but about the queries, I am not sure what to do. Where should I get these files exactly? searching on the net I could not find them.Any suggestion? Thanks a lot.
On Oct 9, 2017, at 5:08 PM, Ricardo Ruiz via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
I am using freeradius2 and sqlite3 in a router that has LEDE.https://lede-project.org/packages/pkgdata/freeradius2 https://lede-project.org/packages/pkgdata/freeradius2-mod-sql https://lede-project.org/packages/pkgdata/freeradius2-mod-sql-sqlite
If I use the user file, the system works perfectly, but now I would like to use a small database, sqlite3, and for doing that the schema.sql and dialup.conf to setup the queries. When I go to github and switch to 2.x branch, I don't see a sqlite section (but for example I see mysql with those)https://github.com/FreeRADIUS/freeradius-server/tree/v2.x.x/raddb/sql
They don't exist in the v2 branch. Version 2 is no longer supported or maintained.
I guess I can create the schema easily for example using the mysql version (removing the INNODB thing perhaps), but about the queries, I am not sure what to do. Where should I get these files exactly? searching on the net I could not find them.Any suggestion?
Get the files from the v3 branch, and see if they work. Or, upgrade to v3. Alan DeKok.
participants (2)
-
Alan DeKok -
Ricardo Ruiz