NAS in OpenWisp-Radius - unknown client (freeradius log)

115 views
Skip to first unread message

Tommaso Feola

unread,
Nov 20, 2023, 10:43:03 AM11/20/23
to OpenWISP
I installed Openwisp with the Radius module ( freeradius ): even if I insert a new NAS in openwisp, in the freeradius log ( freeradius - X ) the client (NAS inserted) is not recognized. The only way for freeradius not to give the error - unknown client - is to insert the client (NAS) in the freeradius clients.conf file. Can you give me some advice on what to do? Thank you

Federico Capoano

unread,
Nov 21, 2023, 6:27:23 AM11/21/23
to open...@googlegroups.com
Freeradius can be configured to use the sql modules to read the NAS clients from the DB.
The important point to keep in mind is that it reads it only at startup, so if you add any client afterwards you'll need to restart/reload it.

Fedrico


On Mon, 20 Nov 2023 at 12:43, Tommaso Feola <tommas...@gmail.com> wrote:
I installed Openwisp with the Radius module ( freeradius ): even if I insert a new NAS in openwisp, in the freeradius log ( freeradius - X ) the client (NAS inserted) is not recognized. The only way for freeradius not to give the error - unknown client - is to insert the client (NAS) in the freeradius clients.conf file. Can you give me some advice on what to do? Thank you

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/410efead-16a0-4adb-9e00-6539ea3b746bn%40googlegroups.com.

Tommaso Feola

unread,
Nov 21, 2023, 8:30:27 AM11/21/23
to open...@googlegroups.com
"Freeradius can be configured to use the sql modules to read the NAS clients from the DB":

Are you refer to Openwisp DB ? 

Federico Capoano

unread,
Nov 21, 2023, 9:21:49 AM11/21/23
to open...@googlegroups.com

Tommaso Feola

unread,
Nov 21, 2023, 9:24:48 AM11/21/23
to OpenWISP
Can you kindly suggest an example, perhaps cited in the documentation ?

Thank you

Federico Capoano

unread,
Nov 28, 2023, 7:23:08 AM11/28/23
to open...@googlegroups.com
Hi,


On Tue, 21 Nov 2023 at 11:24, Tommaso Feola <tommas...@gmail.com> wrote:
Can you kindly suggest an example, perhaps cited in the documentation ?

Pay attention to:

read_clients = yes

The freeradius docs and mailing list can further help you if you need.

I hope this helps.

Best regards
Federico Capoano
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729

Tommaso Feola

unread,
Nov 29, 2023, 6:43:42 AM11/29/23
to open...@googlegroups.com
Thank you...i find the solution.

Tommaso

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages