Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-29 Thread Tommaso Feola
Thank you...i find the solution.

Tommaso

Il giorno mar 28 nov 2023 alle ore 13:23 Federico Capoano <
f.capo...@openwisp.io> ha scritto:

> Hi,
>
> On Tue, 21 Nov 2023 at 11:24, Tommaso Feola 
> wrote:
>
>> Can you kindly suggest an example, perhaps cited in the documentation ?
>
>
> Our ansible-openwisp2 role configures this by default:
>
> https://github.com/openwisp/ansible-openwisp2/blob/master/templates/freeradius/sql.j2
>
> 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
> *openwisp.io* 
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/CAAGgX6J6LYcbeOygzCmGduKxNbh_xiu5twoj8A5zmv%2B54yy95A%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAJ3z%3DhvvN4azKoH29VFjxhegUdy1mv0qP89Jfftdm6F6VSNSRg%40mail.gmail.com.


Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-28 Thread Federico Capoano
Hi,

On Tue, 21 Nov 2023 at 11:24, Tommaso Feola  wrote:

> Can you kindly suggest an example, perhaps cited in the documentation ?


Our ansible-openwisp2 role configures this by default:
https://github.com/openwisp/ansible-openwisp2/blob/master/templates/freeradius/sql.j2

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
*openwisp.io* 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6J6LYcbeOygzCmGduKxNbh_xiu5twoj8A5zmv%2B54yy95A%40mail.gmail.com.


Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-21 Thread Tommaso Feola
Can you kindly suggest an example, perhaps cited in the documentation ?

Thank you

Il giorno martedì 21 novembre 2023 alle 15:21:49 UTC+1 f.capoano ha scritto:

> Yes.
>
> On Tue, 21 Nov 2023 at 10:30, Tommaso Feola  wrote:
>
>> *"Freeradius can be configured to use the sql modules to read the NAS 
>> clients from the DB":*
>>
>> *Are you refer to Openwisp DB ?* 
>>
>> Il giorno mar 21 nov 2023 alle ore 12:27 Federico Capoano <
>> f.ca...@openwisp.io> ha scritto:
>>
>>> 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  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
  
 
 .

>>> -- 
>>> 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/CAAGgX6LgbSZ%2BuQoT6i-f3vRSLfQ38fR5xx%3Dx9mXrMj58st%2BDcg%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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/CAJ3z%3DhvOBzahZN_2TYa3%3Dy17Bd%3DMCk9vxYmvpGGisCX%2BBMd05w%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/39725d37-28ea-4601-9fee-985087b0a9a1n%40googlegroups.com.


Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-21 Thread Federico Capoano
Yes.

On Tue, 21 Nov 2023 at 10:30, Tommaso Feola  wrote:

> *"Freeradius can be configured to use the sql modules to read the NAS
> clients from the DB":*
>
> *Are you refer to Openwisp DB ?*
>
> Il giorno mar 21 nov 2023 alle ore 12:27 Federico Capoano <
> f.capo...@openwisp.io> ha scritto:
>
>> 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 
>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web, visit
>>> https://groups.google.com/d/msgid/openwisp/410efead-16a0-4adb-9e00-6539ea3b746bn%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/openwisp/CAAGgX6LgbSZ%2BuQoT6i-f3vRSLfQ38fR5xx%3Dx9mXrMj58st%2BDcg%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/CAJ3z%3DhvOBzahZN_2TYa3%3Dy17Bd%3DMCk9vxYmvpGGisCX%2BBMd05w%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6K3HaJaRCCc1bM0H1JMTL8qMUgRfN7H4etJKCLHFHB4fQ%40mail.gmail.com.


Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-21 Thread Tommaso Feola
*"Freeradius can be configured to use the sql modules to read the NAS
clients from the DB":*

*Are you refer to Openwisp DB ?*

Il giorno mar 21 nov 2023 alle ore 12:27 Federico Capoano <
f.capo...@openwisp.io> ha scritto:

> 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 
> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/openwisp/410efead-16a0-4adb-9e00-6539ea3b746bn%40googlegroups.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/CAAGgX6LgbSZ%2BuQoT6i-f3vRSLfQ38fR5xx%3Dx9mXrMj58st%2BDcg%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAJ3z%3DhvOBzahZN_2TYa3%3Dy17Bd%3DMCk9vxYmvpGGisCX%2BBMd05w%40mail.gmail.com.


Re: [openwisp] NAS in OpenWisp-Radius - unknown client (freeradius log)

2023-11-21 Thread Federico Capoano
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  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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/410efead-16a0-4adb-9e00-6539ea3b746bn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6LgbSZ%2BuQoT6i-f3vRSLfQ38fR5xx%3Dx9mXrMj58st%2BDcg%40mail.gmail.com.