Re: [openwisp] Confused about `Merge Configuration`

2024-09-27 Thread Federico Capoano
Hi Ryan,

If the configuration test fails it may mean there's a problem with the
configuration, in that case the configuration is rolled back.
This process takes time, the total time it takes depends on the amount of
test_retries set, see the OpenWISP Config agent Settings documentation
<https://openwisp.io/docs/dev/openwrt-config-agent/user/settings.html> for
more info.

In some cases, like if your devices are getting their internet uplink
wirelessly, changing templates that affect the wireless stack can cause
loss of connection for a few minutes and the test may fail because of this,
generating a false positive situation: the config works, but the test fails
because it's failing too early. In these cases you need to increase the
amount of test_retries.

If the test is failing no matter what, the only solution is to test your
changes on a test device before rolling it out to the entire network, which
is pretty much standard practice in network automation.

I hope I have understood your concerns well and provided some clarification.

Best regards
Federico Capoano


On Thu, 26 Sept 2024 at 10:43, Ryan de Kock 
wrote:

> Hi.
>
> First off - just getting started with openwisp & its pretty awesome!
>
>
> *The issue I'm having is as follows (with `Merge Configuration` enabled)*
> 1. I create a template with some configuration variables
> 2. Using automatic registration, the device gets it config - *all good*
> 3. I adjust the configuration variables on the *device* settings, device
> gets updated config - *all good*
> 4. I modify the config `on device`, changes are applied - *all good*
> 5. I modify the original template json, devices locally applied changes
> are overridden - *bad*
>
> So i thought that turning off `Merge Configuration` would resolve my
> issue, but this just seems to open another set of problems
>
>
> *The issue I'm having is as follows (with `Merge Configuration` disabled)*
>
> 1. I create a template with some configuration variables
> 2. Using automatic registration, the device gets it config - *all good*
> 3. I adjust the configuration variables on the *device* settings, device
> gets updated config - *all good*
> 4. I modify the config `on device`, changes are applied - *all good*
> 5.  I modify the original template json, devices locally *NOT *applied
> BUT device goes offline as the Configuration Test seems to fail.
>
>
> So I guess my question is, lets say I have a few hundred devices using a
> template to get an `initial` set of configuration properties (that the user
> can change at a later stage), every time I made an adjustment to that
> template, it will take all those devices offline for the period it takes
> for the test to fail - no way around this?
>
> logread -f
>
> Thu Sep 26 10:53:11 2024 daemon.info openwisp: Local configuration
> outdated
>
> Thu Sep 26 10:53:11 2024 daemon.info openwisp: Downloading configuration
> from controller...
>
> Thu Sep 26 10:53:11 2024 daemon.info openwisp: Configuration downloaded,
> now applying it...
>
> Thu Sep 26 10:53:11 2024 daemon.info openwisp: Service network has been
> reloaded via procd/ubus
>
> Thu Sep 26 10:53:11 2024 daemon.info openwisp: Service wireless has been
> reloaded via procd/ubus
>
> Thu Sep 26 10:53:16 2024 daemon.info openwisp: Testing configuration...
>
> Thu Sep 26 10:53:21 2024 daemon.warn openwisp: Configuration test failed
> (attempt 1)
>
> Thu Sep 26 10:53:31 2024 daemon.warn openwisp: Configuration test failed
> (attempt 2)
>
> Thu Sep 26 10:53:41 2024 daemon.warn openwisp: Configuration test failed
> (attempt 3)
>
> Thu Sep 26 10:53:46 2024 daemon.err openwisp: Configuration test failed!
> Restoring previous backup
>
> Thu Sep 26 10:53:46 2024 daemon.info openwisp: Service network has been
> reloaded via procd/ubus
>
> Thu Sep 26 10:53:46 2024 daemon.info openwisp: Service wireless has been
> reloaded via procd/ubus
>
>
> --
> 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/1a99e751-70c8-4707-88ba-430b81f58b6an%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/1a99e751-70c8-4707-88ba-430b81f58b6an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6Jfv10%2B3W2vN5pJkUHbXDk2dnzWo6p7e1iXYiab5a%2B1XQ%40mail.gmail.com.


Re: [openwisp] Please answer three questions

2024-09-27 Thread Federico Capoano
Hi and welcome!
See my answers below.

On Wed, 25 Sept 2024 at 22:38, 김혜진  wrote:
...

> *Q1. The status of the device is showing as "unknown." I understand this
> means it is a recently registered device. However, even after a few days,
> the status does not change to "OK" or "Critical." Is there anything I need
> to do to change the status to "OK"? Please let me know in detail.*
>
It's all explained in Setting up the management VPN documentation page
<https://openwisp.io/docs/dev/user/vpn.html>, please read carefully.
If something is still not clear after reading that page, please let us know.

> *Q2. As you know, OpenWRT has configuration files such as
> /etc/config/network and /etc/config/wireless. Is there a way to read the
> default values of these config files from OpenWISP? I noticed that when
> adding templates, they are all empty by default, and only the contents of
> the added config templates are shown in the "Preview configuration." I am
> looking for a way to check the default values or the entire contents of the
> config files, similar to the output of "cat /etc/config/network." In short,
> how can I view the values stored in LuCI or the contents of /etc/config?*
>
> At the moment OpenWISP won't receive the configuration stored in the
device.
We started doing some work on that a while ago but concluded that the
resources and amount of work needed to get that right are significant and
we opted for a more lightweight implementation that allowed us to do what
we needed in a reasonable timeframe.

The configuration from OpenWISP is merged with the local configuration,
it's up to you to define the templates that play well with your firmware.

> *Q3. Could you please explain how to check the version information and
> update it?*
>
In the development version there's a system info page.
In the old 22.05 release you'll need to do something like:

cd /opt/openwisp2
source env/bin/activate
pip freeze | grep openwisp

I hope this helps.

Best regards
Federico Capoano

-- 
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/CAAGgX6%2BpcftVBbhCv1ESONaTsop0eb-7ouqmRfaYbWH-oqiDNw%40mail.gmail.com.


Re: [openwisp] Re: In Configuration - Devices Group , template option is not there : reg

2024-09-25 Thread Federico Capoano
Please just use follow the development version install instructions
<https://openwisp.io/docs/dev/ansible/user/quickstart.html#deploying-the-development-version-of-openwisp>
until the new version is released as the redesign and launch of the new
website and documentation has required a lot of our effort and has been
launched just last week, so we'll need a few more weeks to merge some
outstanding large PRs, test and publish the final release of all the
remaining modules.

Best regards
Federico Capoano

On Wed, 25 Sept 2024 at 09:46, 'Philip Game' via OpenWISP <
openwisp@googlegroups.com> wrote:

> Hello,
>
> I am running v22.5.3 from ansible-galaxy and I am also missing templates
> in 'Device Groups'
>
> Is this feature available in a public release yet please or do you have an
> idea on timeframe before it is added?
>
> Thank you in advance.
>
> On Friday, May 19, 2023 at 4:56:00 AM UTC+1 manu...@relysys.co.in wrote:
>
>> Ok. Thank you
>>
>> On Fri, May 19, 2023 at 9:12 AM Federico Capoano 
>> wrote:
>>
>>> Hi,
>>>
>>> this feature is not released yet, it's available in the development
>>> version.
>>>
>>> Federico
>>>
>>> On Thu, 18 May 2023 at 08:56, Manukumar NM 
>>> wrote:
>>>
>>>> Greetings..
>>>>  Hi Federico,
>>>> In the Configuration - Devices
>>>> Group If we select and create groups the Template option is not showing
>>>> here. I have attached a screenshot of that. What could be the reason?. I
>>>> have gone through the listed docs but I could not find anything.
>>>>
>>>>
>>>> *https://github.com/openwisp/openwisp-controller#group-templates
>>>> <https://github.com/openwisp/openwisp-controller#group-templates>*
>>>>
>>>> *https://github.com/openwisp/openwisp-controller/issues/631
>>>> <https://github.com/openwisp/openwisp-controller/issues/631>*
>>>> [image: image.png]Thanks in advance.
>>>>
>>> --
>>> 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/CAAGgX6LfuLPoFwdZ%2B5T1xAN49sVPH9%2BeJHUtP3AMrURBZW70aw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6LfuLPoFwdZ%2B5T1xAN49sVPH9%2BeJHUtP3AMrURBZW70aw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/26d9fad9-19e3-4856-8180-8522b9b0cb16n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/26d9fad9-19e3-4856-8180-8522b9b0cb16n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6Kj2R2Q0BObiZAQk6QCTDCPSY5aC-o-f2hBVN5DQF_pgg%40mail.gmail.com.


Re: [openwisp] Doubt on process running as a root: reg

2024-09-16 Thread Federico Capoano
That should not be an issue.

F.

On Mon, 16 Sept 2024 at 08:16, Logunath K  wrote:

> I used to use: ps aux and ls -alrt
>
> But the python and openwisp2 packages which are present in this path: 
> */opt/openwisp2/env/lib/python3.20site-packages/*
> *are all displaying like* root:root *when I do the ls -alrt.
> *Does it cause/affect anything on openwisp2?*
>
> Regards,
> Logu
>
>
> On Tue, Sep 10, 2024 at 7:13 AM Federico Capoano 
> wrote:
>
>> I think you may be confusing python package files with processes.
>> What's the command you use to see running processes?
>>
>> Not all files in the openwisp directory are owned by www-data. In the
>> unfortunate case in which a vulnerability in the OpenWISP python
>> application is found and exploited to write on disk, the attacker wouldn't
>> be able to change much because most important files are not writable by
>> www-data. That's why many files are owned by root and writable only by the
>> owner.
>>
>> Best regards
>> Federico Capoano
>>
>> On Mon, 9 Sept 2024 at 06:01, Logunath K  wrote:
>>
>>> Dear team,
>>>   All our processes are running smoothly on the ubuntu
>>> server but when I read the documents it's showing "All processes are
>>> running as the www-data user".
>>> but when I saw in* /opt/openwisp2/env/lib/python3.20site-packages/* *all
>>> processes were running as "root" not as www-data.
>>>
>>> Only in /*opt/openwisp2/openwisp2* path files are in the user  "root"
>>> group as "www-data".  Does it cause any effect on the server or application?
>>>
>>> I have installed the application via ansible package.
>>>
>>> Regards,
>>> Logu
>>>
>>> --
>>> 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/CAJy2ivpaAJ-esFkeO%2Bp6Xq8Fm%3DC8OXRFMKgWGVOfV%2BiTkLHx6w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/openwisp/CAJy2ivpaAJ-esFkeO%2Bp6Xq8Fm%3DC8OXRFMKgWGVOfV%2BiTkLHx6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CAAGgX6KDMVU3yDA-76LCuTj%2BkbkB2xMDOmT5z7NMqdbvzuCGvg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6KDMVU3yDA-76LCuTj%2BkbkB2xMDOmT5z7NMqdbvzuCGvg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAJy2ivqFXR38-pdOTQK6Ff41mnSRDrkeDNSx6W4XQtNczW2oKA%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAJy2ivqFXR38-pdOTQK6Ff41mnSRDrkeDNSx6W4XQtNczW2oKA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LbudpfWbRmFpPsinLHQRCXdBXJDDkrYJLnv-Zs98P1aw%40mail.gmail.com.


Re: [openwisp] Doubt on process running as a root: reg

2024-09-09 Thread Federico Capoano
I think you may be confusing python package files with processes.
What's the command you use to see running processes?

Not all files in the openwisp directory are owned by www-data. In the
unfortunate case in which a vulnerability in the OpenWISP python
application is found and exploited to write on disk, the attacker wouldn't
be able to change much because most important files are not writable by
www-data. That's why many files are owned by root and writable only by the
owner.

Best regards
Federico Capoano

On Mon, 9 Sept 2024 at 06:01, Logunath K  wrote:

> Dear team,
>   All our processes are running smoothly on the ubuntu
> server but when I read the documents it's showing "All processes are
> running as the www-data user".
> but when I saw in* /opt/openwisp2/env/lib/python3.20site-packages/* *all
> processes were running as "root" not as www-data.
>
> Only in /*opt/openwisp2/openwisp2* path files are in the user  "root"
> group as "www-data".  Does it cause any effect on the server or application?
>
> I have installed the application via ansible package.
>
> Regards,
> Logu
>
> --
> 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/CAJy2ivpaAJ-esFkeO%2Bp6Xq8Fm%3DC8OXRFMKgWGVOfV%2BiTkLHx6w%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAJy2ivpaAJ-esFkeO%2Bp6Xq8Fm%3DC8OXRFMKgWGVOfV%2BiTkLHx6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6KDMVU3yDA-76LCuTj%2BkbkB2xMDOmT5z7NMqdbvzuCGvg%40mail.gmail.com.


Re: [openwisp] Openwisp Radius

2024-09-05 Thread Federico Capoano
I've never seen anything like this before and I am not sure what kind of
misconfiguration is causing this.
In order to help we would need to be able to replicate this in a
development environment.

Federico

On Thu, 5 Sept 2024 at 07:17, Pragati Dumre 
wrote:

> Hi sir,
> PFA screenshot of openwisp GUI.
> Here 11 accountings are showing but detailed view of accountings in table
> is not showing.
> Thank You.
> Regards,
> Pragati Dumre
>
> On Wednesday 4 September 2024 at 14:04:01 UTC+5:30 f.capoano wrote:
>
>> Hi Pregati,
>>
>> Can you please expand on what you mean with the following?
>>
>> - "not displaying table regarding the accounting sessions"
>> - "but the detailed view does not align with the expected data"
>>
>> A screenshot of what you see accompanied with a description of what
>> you're expecting would help.
>>
>> Best regards
>> Federico Capoano
>>
>>
>> On Tue, 3 Sept 2024 at 08:44, Pragati Dumre 
>> wrote:
>>
>>> Hi,
>>> I hope this message finds you well.
>>>
>>> I am writing to bring to your attention an issue we are experiencing
>>> with the OpenWISP interface related to accounting sessions.
>>>
>>> We have observed that while OpenWISP GUI is correctly showing the number
>>> of accounting sessions (e.g., 2 accounting sessions), the detailed
>>> information about these sessions is not being displayed in the
>>> corresponding table. Specifically:
>>>
>>>- *Accounting sessions* are being correctly stored in the database.
>>>- The GUI indicates the presence of accounting sessions.
>>>- But not displaying table regarding the accounting sessions.
>>>
>>> Could you please assist in diagnosing the issue? We are unsure whether
>>> this is a problem with data synchronization, display settings, or a
>>> potential configuration mismatch.
>>>
>>> For your reference, the data is correctly inserted into the database,
>>> and the GUI reflects the number of sessions, but the detailed view does not
>>> align with the expected data.
>>>
>>> Your guidance on resolving this discrepancy would be greatly appreciated.
>>>
>>> Thank you for your assistance.
>>>
>>> Best Regards,
>>>
>>> Pragati Dumre
>>>
>>> --
>>> 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/ec80c5dc-ebbd-4d75-a72c-448da9fb9fecn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/ec80c5dc-ebbd-4d75-a72c-448da9fb9fecn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/ab874ea8-f85e-489b-b537-d5af548b4c2an%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/ab874ea8-f85e-489b-b537-d5af548b4c2an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BEztRy%3Df%2BHpTvwH5ficnjYttfaqtE7vW0ijZnVU5AkYQ%40mail.gmail.com.


Re: [openwisp] Error TLS FreeRadius certbot

2024-09-04 Thread Federico Capoano
Permission denied should be the issue here.
Ensure freeradius has access to that file.

F.

On Tue, 3 Sept 2024 at 15:46, Michele Salerno  wrote:

> Hi,
> I use acme for certificates but I have error with freeradius.
> To get the certificates I used this script.
>
> #!/bin/bash
> .acme.sh/acme.sh --issue --dns dns_nsupdate \
> -d openwisp.nnxx.ninux.org \
> -d *.nnxx.ninux.org \
> --cert-file  /etc/ssl/openwisp/cert.pem  \
> --key-file   /etc/ssl/openwisp/key.pem  \
> --fullchain-file /etc/ssl/openwisp/fullchain.pem \
> --capath /etc/ssl/openwisp/ca.pem --force
>
> ---
>
> root@openwisp:~ # systemctl status freeradius.service
> ● freeradius.service - FreeRADIUS multi-protocol policy server
>  Loaded: loaded (/lib/systemd/system/freeradius.service; enabled;
> preset: enabled)
>  Active: activating (auto-restart) (Result: exit-code) since Tue
> 2024-09-03 21:30:16 CEST; 748ms ago
>Docs: man:radiusd(8)
>  man:radiusd.conf(5)
>  http://wiki.freeradius.org/
>  http://networkradius.com/doc/
> Process: 1798 ExecStartPre=/bin/chown freerad:freerad
> /var/run/freeradius (code=exited, status=0/SUCCESS)
> Process: 1799 ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS
> -Cx -lstdout (code=exited, status=1/FAILURE)
> CPU: 46ms
> root@openwisp:~ # systemctl restart freeradius.service
> Job for freeradius.service failed because the control process exited with
> error code.
> See "systemctl status freeradius.service" and "journalctl -xeu
> freeradius.service" for details.
>
> ---
>
> oot@openwisp:~ # journalctl -xeu freeradius.service
> ░░ L'unità freeradius.service ha iniziato la fase di avvio.
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: FreeRADIUS
> Version 3.2.6
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: Copyright (C)
> 1999-2023 The FreeRADIUS server project and contributors
> CUT
>
>
> *set 03 21:30:29 openwisp.nnxx.ninux.org 
> freeradius[1818]: tls: (TLS) Failed reading private key file
> "/etc/ssl/openwisp/key.pem" set 03 21:30:29 openwisp.nnxx.ninux.org
>  freeradius[1818]: tls: (TLS)
> error:800D:system library::Permission denied*
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: tls: (TLS)
> error:10080002:BIO routines::system lib
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: tls: (TLS)
> error:0A080002:SSL routines::system lib
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: rlm_eap_ttls:
> Failed initializing SSL context
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]: rlm_eap
> (openwisp_eap): Failed to initialise rlm_eap_ttls
> set 03 21:30:29 openwisp.nnxx.ninux.org freeradius[1818]:
> /etc/freeradius/mods-enabled/openwisp_eap[1]: Instantiation failed for
> module "openwisp_eap"
> set 03 21:30:29 openwisp.nnxx.ninux.org systemd[1]: freeradius.service:
> Control process exited, code=exited, status=1/FAILURE
> ░░ Subject: Uscito processo unità
> ░░ Defined-By: systemd
> ░░ Support: https://www.debian.org/support
> ░░
> ░░ Un processo ExecStartPre appartenente all'unità freeradius.service è
> uscito.
> ░░
> ░░ Il codice di uscita del processo è 'exited' ed è uscito con 1.
> set 03 21:30:29 openwisp.nnxx.ninux.org systemd[1]: freeradius.service:
> Failed with result 'exit-code'.
> ░░ Subject: Unit fallita
> ░░ Defined-By: systemd
> ░░ Support: https://www.debian.org/support
> ░░
> ░░ Unità freeradius.service entrata nello stato 'failed' (fallito) con
> risultato 'exit-code'.
> set 03 21:30:29 openwisp.nnxx.ninux.org systemd[1]: Failed to start
> freeradius.service - FreeRADIUS multi-protocol policy server.
> ░░ Subject: L'unità freeradius.service è fallita
> ░░ Defined-By: systemd
> ░░ Support: https://www.debian.org/support
> ░░
> ░░ L'unità freeradius.service è fallita.
> ░░
> ░░ Il risultato è failed.
>
> root@openwisp:~ #
>
> 
>
> oot@openwisp:~ # cd /etc/ssl/openwisp/
> root@openwisp:openwisp # ll
> totale 32K
> drwxr-xr-x 2 root root 4,0K 10 lug 18.56 .
> drwxr-xr-x 5 root root 4,0K  3 set 21.28 ..
> -rw-r--r-- 1 root root 2,7K 10 lug 18.56 ca.pem
> -rw-r--r-- 1 root root 1,5K 10 lug 18.56 cert.pem
> -rw-r--r-- 1 root root  769 10 lug 19.00 dhparams.pem
> -rw-r--r-- 1 root root 4,1K 10 lug 18.56 fullchain.pem
> -rw--- 1 root root  227 10 lug 18.56 key.pem
>
>
>
> --
> 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/fdf15b73-d7dc-470c-9f15-ae5b8b09f242%40gmail.com
> 
> .
>

-- 
You 

Re: [openwisp] Openwisp Radius

2024-09-04 Thread Federico Capoano
Hi Pregati,

Can you please expand on what you mean with the following?

- "not displaying table regarding the accounting sessions"
- "but the detailed view does not align with the expected data"

A screenshot of what you see accompanied with a description of what you're
expecting would help.

Best regards
Federico Capoano


On Tue, 3 Sept 2024 at 08:44, Pragati Dumre 
wrote:

> Hi,
> I hope this message finds you well.
>
> I am writing to bring to your attention an issue we are experiencing with
> the OpenWISP interface related to accounting sessions.
>
> We have observed that while OpenWISP GUI is correctly showing the number
> of accounting sessions (e.g., 2 accounting sessions), the detailed
> information about these sessions is not being displayed in the
> corresponding table. Specifically:
>
>- *Accounting sessions* are being correctly stored in the database.
>- The GUI indicates the presence of accounting sessions.
>- But not displaying table regarding the accounting sessions.
>
> Could you please assist in diagnosing the issue? We are unsure whether
> this is a problem with data synchronization, display settings, or a
> potential configuration mismatch.
>
> For your reference, the data is correctly inserted into the database, and
> the GUI reflects the number of sessions, but the detailed view does not
> align with the expected data.
>
> Your guidance on resolving this discrepancy would be greatly appreciated.
>
> Thank you for your assistance.
>
> Best Regards,
>
> Pragati Dumre
>
> --
> 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/ec80c5dc-ebbd-4d75-a72c-448da9fb9fecn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/ec80c5dc-ebbd-4d75-a72c-448da9fb9fecn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6KxUtLRutf-QUuEWCs2-1zz6OWig8feqD48RSK2JGygtQ%40mail.gmail.com.


Re: [openwisp] Error when install on debian 12

2024-08-31 Thread Federico Capoano
The main error is "[Errno 13] Permission denied: '/var/www/.ansible'".
Ensure you are escalating to root privileges with --become, more info at
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html
.

F.


On Sat, 31 Aug 2024 at 13:11, Al-fatih Esport 
wrote:

> Unable to use /var/www/.ansible/tmp as temporary directory, failing back
> to system: [Errno 13] Permission denied: '/var/www/.ansible'
>
>
> PLAY RECAP
> **
> wireless   : ok=98   changed=0unreachable=0
>  failed=0skipped=83   rescued=0ignored=0
>
> --
> 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/52e6cfd2-89c6-45a3-8b01-9751708efc59n%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/CAAGgX6%2BxQf8nX-TGruGYOh8U1fZFStb%2BLA5wZ0EmEqinxdpMkg%40mail.gmail.com.


Re: [openwisp] info openwisp-wifi-login-pages

2024-08-28 Thread Federico Capoano
I tried it locally on the latest master and the plans URL is not loaded, as
expected. I am not sure what is wrong exactly in your environment but I
can't replicate this issue.

[image: Screenshot from 2024-08-27 18-53-29-min.png]

On Tue, 27 Aug 2024 at 18:38, Michele Salerno  wrote:

> I attach my file, i run with playbook ansible.
>
> Michele
>
>
> Il 28/08/24 00:17, Federico Capoano ha scritto:
> > I checked the latest version locally and I can't replicate this issue,
> > it's working fine.
> > If you can, please try cloning the repository from scratch in another
> > directory, try creating a new organization and let me know if you get
> > the same error.
> > If you do, give us the list of steps you followed and we can try to
> > replicate it.
>
> --
> Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si
> precisa che le informazioni contenute in questo messaggio sono riservate e
> ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse
> pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non
> inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.
>
> Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy
> Code), may contain confidential and/or privileged information. If you are
> not the addressee or authorized to receive this for the addressee, you must
> not use, copy, disclose or take any action based on this message or any
> information herein. If you have received this message in error, please
> advise the sender immediately by reply e-mail and delete this message.
> Thank you for your cooperation.
>
> --
> 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/311ae7d4-acd6-4a68-a11e-df526a948557%40gmail.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/CAAGgX6Jk6BdUwVDPvYvuxG3iKa5R7k1gFQbUa%3DEw-ntHuTbNKw%40mail.gmail.com.


Re: [openwisp] info CaptivePortal

2024-08-23 Thread Federico Capoano
That's what we have now.
It can be improved, yes, but my main purpose in adding it was to show it
can be done.
Coova-chilli needs to be compiled with SSL and redir support, unfortunately
that's not the case with the default OpenWrt package.
There's no secrets here, everything can be easily audited, the code is open
source and published, so it's all doable for those who are going to put in
the time.
When I will have time, I will surely improve the tutorial, in the meantime,
contributions are welcome.

Federico


On Fri, 23 Aug 2024 at 11:32, Michele Salerno  wrote:

> Hi,
>
> I looked at the documentation:
> https://openwisp.io/docs/dev/tutorials/hotspot.html
>
> And I also looked at the demo, particularly the template WPA Enterprise
> 2 (EAP-PAP-TTLS):
>
> https://demo.openwisp.io/admin/config/template/5f279920-60fd-4274-b367-450aa4d30004/change/
>
> I don't see any examples of configuration in Chilli to work with OpenWisp.
>
> I agree that the Chilli package is not part of OpenWisp but you did fork
> the feed with some changes:
> https://github.com/openwisp/coova-chilli-openwrt
>
> Because there is no documentation/configuration example to make it
> interact with OpenWisp and Wifi-login-pages
>
> Forgive me, but in my opinion the documentation is incomplete.
>
> Saying you can hotspot but not saying how to do it!
>
> It is like throwing a rock and hiding your hand.
>
> Same for freeradius. In the demo, the NAS configuration was hidden.
>
> Can anyone in the group share some configurations?
>
> My openwisp is for the ninux.org network community, not for profit.
>
> Thanks.
>
> Best regards,
>
> Michele Salerno
>
> --
> 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/675fc3cd-7709-419e-ac99-57b5e2c84b67%40gmail.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/CAAGgX6%2BVT_ew_Q7BqPn_po2P7%3DW1xhdUTP6kSTP35iB0kPniSQ%40mail.gmail.com.


[openwisp] Re: Security Fix for WiFi Login Pages

2024-08-20 Thread Federico Capoano
The link to the cloudflare blog was cut short, here's the full working link:
https://blog.cloudflare.com/automatically-replacing-polyfill-io-links-with-cloudflares-mirror-for-a-safer-internet

F.

On Tue, 20 Aug 2024 at 15:59, Federico Capoano 
wrote:

> Hi everyone,
>
> I was informed only today by a partner of the OpenWISP Community that the
> polyfill.io domain was unmaintained and got in the wrong hands.
>
> The WiFi Login Pages application uses that old domain for loading polyfill
> and ensuring compatibility with old browsers.
>
> Fortunately, the domain has been blocked by internet authorities, but it's
> nonetheless advised to upgrade.
>
> For more info see:
> https://blog.cloudflare.com/automatically-replacing-polyfill-io-links-with
> .
> https://github.com/openwisp/openwisp-wifi-login-pages/pull/810
>
> Best regards
> *Federico Capoano*
>

-- 
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/CAAGgX6LEF7YH1EG3srbuArohpAaVYYgd8gCxTU851TBf3tkkqQ%40mail.gmail.com.


[openwisp] Security Fix for WiFi Login Pages

2024-08-20 Thread Federico Capoano
Hi everyone,

I was informed only today by a partner of the OpenWISP Community that the
polyfill.io domain was unmaintained and got in the wrong hands.

The WiFi Login Pages application uses that old domain for loading polyfill
and ensuring compatibility with old browsers.

Fortunately, the domain has been blocked by internet authorities, but it's
nonetheless advised to upgrade.

For more info see:
https://blog.cloudflare.com/automatically-replacing-polyfill-io-links-with.
https://github.com/openwisp/openwisp-wifi-login-pages/pull/810

Best regards
*Federico Capoano*

-- 
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/CAAGgX6LXu%2BCg8S80Tsmabc9e6bRyouKeSEQTBnbvjRngEygjyw%40mail.gmail.com.


Re: [openwisp] Menu Items appear locally but not in deployment

2024-08-20 Thread Federico Capoano
What does your playbook look like?
Are Django settings being updated if you change the extra settings
variables?

Federico

On Tue, 20 Aug 2024 at 08:41, Dillonsw  wrote:

> I have added some menu items to openwisp-utils, previously this was
> working perfectly fine but now suddenly it seems like when I try and deploy
> these changes using ansible the menu items do not appear, however if I run
> openwisp-utils as a standalone django application locally I can indeed see
> them.
>
> --
> 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/3a17ce41-3bc6-4eb3-9da6-ff2c21b053dbn%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/CAAGgX6%2B7hW8JzJnudCAfi8ip%3D86suwNwz_Gpj0bria-D%2BcX23g%40mail.gmail.com.


Re: [openwisp] Re: Info for join notebook to openwisp and zerotier

2024-08-09 Thread Federico Capoano
Hi Michele,

If you're joining your laptop to a ZeroTier network but not receiving an IP
address, here are some suggestions based on common issues reported by users:

   1. Authorization of Members: Ensure that your device is authorized on
   the ZeroTier network. IP addresses are not assigned to devices until they
   are authorized. Check the ZeroTier Central web interface to confirm that
   your device appears as online and is authorized to join the network.
   2. Check IP Assignment Pool: Verify that the IPv4 Auto-Assign pool on
   your ZeroTier network is not full. If the pool is exhausted (for example,
   if it only allows a limited number of IP assignments), new devices will not
   receive an IP address. You may need to expand the pool or remove some
   existing assignments.
   3. Managed Routes and IP Configuration: Double-check your ZeroTier
   Central settings for any typos or misconfigurations in the Managed IPs or
   Managed Routes. If there are inconsistencies, it can prevent IP assignment.
   4. Service Status: Make sure the ZeroTier service is running correctly
   on your laptop. Sometimes, restarting the ZeroTier service can resolve
   issues with IP assignment. You can do this using the following commands:

   bash
   sudo systemctl restart zerotier-one

   5. Manual IP Assignment: If automatic assignment fails, consider
   manually assigning an IP address to your ZeroTier interface. You can do
   this using the ZeroTier CLI:

   bash
   zerotier-cli set  allowmanaged=0

   Then, manually configure the IP address on your system.
   6. Network Configuration: Ensure that your laptop's network
   configuration allows for ZeroTier connections. Sometimes firewall settings
   or network policies can block ZeroTier traffic.


If you follow these steps and still encounter issues, consider checking the
ZeroTier community forums for further assistance or troubleshooting
specific to your setup.

Best regards
Federico Capoano

On Thu, 8 Aug 2024 at 16:16, Michele Salerno  wrote:

> Hi, I can do the join but on the notebook I don't get the IP assigned.
> How do I do that?
> Best regards.
>
> Michele
>
>
> Il 17/05/24 17:08, Gagan Deep (pandafy) ha scritto:
>
>
> Hello Michele,
>
> By default, the ZeroTier configuration generated by OpenWISP flags the
> network as "private". This ensures that only authorised peers can join the
> network. OpenWISP automatically authorises managed devices using ZeroTier
> One API. For devices (i.e. Linux machine) that are not managed by OpenWISP,
> you will need to manually approve each peer that joins the ZeroTier
> network.
>
> Here's a small guide on how you can connect your Linux machine to the
> ZeroTier network managed by OpenWISP:
>
>1. Get the ZeroTier network ID from the VPN details page on OpenWISP
>admin
>[image: Screenshot from 2024-05-17 15-46-55.png]
>2. Install ZeroTier <https://www.zerotier.com/download/> on your Linux
>machine
>3. Join the ZeroTier network using zerotier-cli
><https://docs.zerotier.com/network-join/#from-the-command-line>
>*zerotier-cli join  *
>4. Using the script below, authorise the Linux machine to connect to
>your ZeroTier network.
>
>You can retrieve the *HOST*, *WEBHOOK_AUTHTOKEN* and *NETWORK_ID* from
>the OpenWISP admin page of the ZeroTier VPN.
>
>[image: Screenshot from 2024-05-17 20-26-31.jpg]
>
>The NODE_ID for your Linux machine can be retrieved by running 
> *zerotier-cli
>info* command on your Linux machine. The output will contain
>*200 info  1.14.0 ONLINE*
>
>Run this script on the VM where ZeroTier One is installed (typically
>the OpenWISP VM).
>#!/bin/bash
># The hostname that you used in the OpenWISP for the ZeroTier.
># If the hostname field includes a port, you need to add that too.
>HOST="yourhostname:9993"
># The "Webhook AuthToken" that is present in the OpenWISP for the
>ZeroTier.
>WEBHOOK_AUTHTOKEN="zerotier_webook_authtoken"
># The network ID which retrieved earlier for joining the network
>NETWORK_ID="zerotier_network_id"
># The node ID for you Linux machine.
># You can retrieve this using the command "zerotier-cli info" on
># you Linux machine.
>NODE_ID="linux_machine_network_id"
>curl -X POST "http://$HOST/controller/network/${NETWORK_ID}/member/${
>NODE_ID}" \
>-H "X-ZT1-Auth: $WEBHOOK_AUTHTOKEN" \
>-H "Content-Type: application/json" \
>-d '{"authorized": true}'
>
> If you run into any problems, let us know.
>
> Regards,
> Gagan Deep
> On Friday, May 17, 2024 at 3:39:58 AM UTC+5:30 miky...@gmail.com wrote:
>

[openwisp] Re: Suggestions for Optimizing Redis Memory Settings

2024-08-06 Thread Federico Capoano (nemesisdesign)
Thanks for the information Muhammad.

I want to add that similar optimizations can be done to pretty much any 
component used by the OpenWISP application, eg:

- Linux OS settings about networking, memory, swap usage
- Redis
- InfluxDB
- SQL DB (depending on which one you're using)
- Management VPN (depending on which one you're using)

The optimizations will likely depend on your particular case (how much 
memory, CPU, storage you have available, what latency you have with 
devices, whether you have multiple machines or just 1, etc).
Google and ChatGPT will help a lot to find more details about how to 
perform these optimizations.

I hope this helps!

Federico
On Friday, July 26, 2024 at 5:55:14 AM UTC-4 Wit wrote:

> Dear OpenWisp Community,
>
> I hope this message finds you well.
>
> I have been exploring ways to optimize the memory usage of Redis in our 
> OpenWisp deployments. After seeking advice, it was suggested to me that 
> adjusting the `maxmemory-policy` and `maxmemory` settings could help 
> improve performance and stability.
>
> ### Suggested Settings
>
> 1. **Maxmemory Policy:**
>It was recommended to set the `maxmemory-policy` to `allkeys-lru`. This 
> policy helps manage memory usage by evicting the least recently used (LRU) 
> keys when the memory limit is reached.
>
>**Configuration:**
>```plaintext
>maxmemory-policy allkeys-lru
>```
>
> 2. **Maxmemory Size:**
>As for the `maxmemory` setting, it was suggested to configure it based 
> on a percentage of the available RAM on the server. Allocating around 75% 
> of the total RAM for Redis could be a good starting point, while leaving 
> the remaining 25% for other processes and the operating system.
>
>**Configuration:**
>```plaintext
>maxmemory 
>```
>
> ### Steps to Update Configuration
>
> 1. **Edit the Redis Configuration File:**
>Open the Redis configuration file (`/etc/redis/redis.conf`) in a text 
> editor:
>```bash
>sudo nano /etc/redis/redis.conf
>```
>
> 2. **Update `maxmemory` and `maxmemory-policy`:**
>Add or update the following lines as per your server's RAM percentage 
> allocation:
>```plaintext
>maxmemory 
>maxmemory-policy allkeys-lru
>```
>
> 3. **Save and Exit:**
>Save the changes and exit the text editor. For `nano`, press `Ctrl+X`, 
> then `Y`, and then `Enter`.
>
> 4. **Restart Redis Server:**
>Restart the Redis service to apply the changes:
>```bash
>sudo systemctl restart redis-server
>```
>
> I hope these suggestions are helpful. If anyone has further insights or 
> alternative recommendations, I would greatly appreciate your input.
>
> Best regards, And thanks ChatGPT 😁
>
> Muhammad
>

-- 
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/a7eb6079-a30f-4531-a11d-cf72bd4e1c58n%40googlegroups.com.


[openwisp] Re: New Unified OpenWISP Documentation

2024-08-06 Thread Federico Capoano
The new documentation has been launched!

It's available at: https://openwisp.io/docs/dev/
We'll be focusing on launching the new release and website next!

In the meantime, I would be really grateful if the community here could
help us spread the word about the work we're doing on social media, here's
the links below:

https://twitter.com/openWISP/status/1820553273222349301
https://www.linkedin.com/feed/update/urn:li:activity:7226321396639965184/
https://www.facebook.com/OpenWISP/posts/pfbid02E9UG3A5FtpPpq1gPP3Uc5mVczof1XYsqszJR5wSmjuLth2KuSNM51XnYzTAzjGisl

Thanks
Best regards
Federico Capoano


On Thu, 25 Jul 2024 at 22:30, Federico Capoano 
wrote:

> Hi everyone!
>
> We are almost  done with the first phase of the new unified documentation
> website for OpenWISP, in the coming days I'll be doing the last refinements
> and preparing the publication.
>
> *It would be incredibly helpful if, before then, you could take a look at
> it and send us some constructive feedback.*
>
> Find it here: https://openwisp.io/docs/__new__/dev/index.html
>
> *If you're a newcomer in OpenWISP* and you have just started setting it
> up, *this revisited documentation should be superior to the one currently
> published* at https://openwisp.io/docs/, if you don't agree with this
> statement please let me know.
>
> Best regards
> Federico Capoano
>

-- 
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/CAAGgX6LhfbzrgRn9T1NeatCJ1HTPjVkiifsajSPCmd5iFVbuKg%40mail.gmail.com.


Re: [openwisp] Failing to do fresh install Ubuntu 24 LTS

2024-08-04 Thread Federico Capoano
I remember having suggested you install the development version of OpenWISP
on Ubuntu 24 LTS.

However, from the output you shared, it seems that is not the development
version: openwisp-controller~=1.0.1 indicates the latest stable release of
OpenWISP from 2022.
That version of the ansible role won't work on Ubuntu 24 LTS, even if you
resolve that error.

I recommend installing the latest github master of the playbook as
explained here:
https://openwisp.io/docs/dev/ansible/user/quickstart.html#ansible-deploying-development-version

Best regards
Federico Capoano

On Sat, 3 Aug 2024 at 17:43, Oscar Jacuinde  wrote:

> Installed setuptools with apt install python3-setuptools
>
>
> Getting the following message
>
>
>
> FAILED - RETRYING: [openwisp2.mrwireless.com.mx]: Install openwisp2
> controller and its dependencies (3 retries left).Result was: {
> "attempts": 3,
> "changed": false,
> "cmd": [
> "/opt/openwisp2/env/bin/pip3",
> "install",
> "-U",
> "openwisp-controller~=1.0.1",
> "service_identity"
> ],
> "invocation": {
> "module_args": {
> "break_system_packages": false,
> "chdir": null,
> "editable": false,
> "executable": null,
> "extra_args": null,
> "name": [
> "openwisp-controller~=1.0.1",
> "service_identity"
> ],
> "requirements": null,
> "state": "latest",
> "umask": null,
> "version": null,
> "virtualenv": "/opt/openwisp2/env",
> "virtualenv_command": "virtualenv",
> "virtualenv_python": "python3",
> "virtualenv_site_packages": true
> }
> },
> "msg": "stdout: Collecting openwisp-controller~=1.0.1\n Using cached
> openwisp_controller-1.0.3-py2.py3-none-any.whl.metadata (139
> kB)\nRequirement already satisfied: service_identity in
> /usr/lib/python3/dist-packages (24.1.0)\nCollecting django-sortedm2m~=3.1.1
> (from openwisp-controller~=1.0.1)\n Using cached django_
> sortedm2m-3.1.1-py2.py3-none-any.whl.metadata (19 kB)\nCollecting
> django-reversion~=4.0.1 (from openwisp-controller~=1.0.1)\n Using cached
> django_reversion-4.0.2-py3-none-any.whl.metadata (3.6 kB)\nCollecting
> django-x509~=1.1.0 (from openwisp-controller~=1.0.1)\n Using cached django_
> x509-1.1-py2.py3-none-any.whl.metadata (19 kB)\nCollecting
> django-taggit~=2.1.0 (from openwisp-controller~=1.0.1)\n Using cached
> django_taggit-2.1.0-py3-none-any.whl.metadata (3.5 kB)\nCollecting
> django-loci~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached django_
> loci-1.0.1-py2.py3-none-any.whl.metadata (16 kB)\nCollecting
> django-flat-json-widget~=0.2.0 (from openwisp-controller~=1.0.1)\n Using
> cached django_flat_json_widget-0.2-py2.py3-none-any.whl.metadata (5.1
> kB)\nCollecting openwisp-utils~=1.0.1 (from
> openwisp-utils[rest]~=1.0.1->openwisp-controller~=1.0.1)\n Using cached
> openwisp_utils-1.0.5-py2.py3-none-any.whl.metadata (63 kB)\nCollecting
> netjsonconfig~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached
> netjsonconfig-1.0.2-py2.py3-none-any.whl.metadata (3.8 kB)\nCollecting
> openwisp-users~=1.0.0 (from openwisp-controller~=1.0.1)\n Using cached
> openwisp_users-1.0.2-py2.py3-none-any.whl.metadata (44 kB)\nCollecting
> openwisp-notifications~=1.0.0 (from openwisp-controller~=1.0.1)\n Using
> cached openwisp_notifications-1.0.3-py2.py3-none-any.whl.metadata (55
> kB)\nCollecting openwisp-ipam~=1.0.0 (from openwisp-controller~=1.0.1)\n
> Using cached openwisp_ipam-1.0-py2.py3-none-any.whl.metadata (24
> kB)\nCollecting djangorestframework-gis~=0.18.0 (from
> openwisp-controller~=1.0.1)\n Using cached djangorestframework_
> gis-0.18-py2.py3-none-any.whl.metadata (29 kB)\nCollecting
> paramiko~=2.10.3 (from
> paramiko[ed25519]~=2.10.3->openwisp-controller~=1.0.1)\n Using cached
> paramiko-2.10.6-py2.py3-none-any.whl.metadata (4.6 kB)\nCollecting
> scp~=0.14.2 (from openwisp-controller~=1.0.1)\n Using cached
> scp-0.14.5-py2.py3-none-any.whl.metadata (4.3 kB)\nCollecting
> celery~=5.2.3 (from openwisp-controller~=1.0.1)\n Using cached
> celery-5.2.7-py3-none-any.whl.metadata (20 kB)\nCollecting
> django-cache-memoize~=0.1 (from openwisp-controller~=1.0.1)\n Using cached
> django_cache_memoize-0.2.0-py3-none-any.whl.metadata (15 kB)\nCollecting
> shortuuid~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached
> shortuuid-1.0.13-py3-none-any.whl.metadata (5.8 kB)\nRequirement already
> satisfied: netaddr~=0.8.0 in /usr/lib/python3/dist-packages (from
> openwisp-controller~=1.0.1) (0.8.0)\nRequirement already satisfied:
> attrs>=19.1.0 

[openwisp] New Unified OpenWISP Documentation

2024-07-25 Thread Federico Capoano
Hi everyone!

We are almost  done with the first phase of the new unified documentation
website for OpenWISP, in the coming days I'll be doing the last refinements
and preparing the publication.

*It would be incredibly helpful if, before then, you could take a look at
it and send us some constructive feedback.*

Find it here: https://openwisp.io/docs/__new__/dev/index.html

*If you're a newcomer in OpenWISP* and you have just started setting
it up, *this
revisited documentation should be superior to the one currently published*
at https://openwisp.io/docs/, if you don't agree with this statement please
let me know.

Best regards
Federico Capoano

-- 
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/CAAGgX6%2BZ%3DZLjmLSUw%2BtC4DviRhZYFXPm-vY9T1ELDKhVd7v1ww%40mail.gmail.com.


Re: [openwisp] device details storing in openwisp and automating templates

2024-07-17 Thread Federico Capoano
Without more information, I can't really give much help.

If you could share your script (removing any sensitive data) in a Github
gist <https://gist.github.com/>, give us more context and explain what you
mean exactly with "integrating it with the project", we may be able to give
some more advice.

Best regards
Federico Capoano

On Tue, 16 Jul 2024 at 11:28, AlphaGhost  wrote:

>
> Hi all,
>
> I am understanding what you have explained. I wanted to get clear
> on my understanding. Do we need to write a separate script and to integrate
> with our project so that at the time of pushing template to the edge
> device, the script should execute and push the template along with the
> device specific values. I wrote a python script which interacts with the
> db, fetch details and fill in the configuration automatically, but I dont
> know how to integrate it in the project. I am stuck at this place, Is my
> approach on this template is correct or kindly guide on this.
>
> Thanks,
> Thrisha,
> On Tuesday, July 9, 2024 at 10:31:28 PM UTC+5:30 f.capoano wrote:
>
>> The data is stored in the SQL database.
>> You can automate this either with the REST API or with Python scripts,
>> the exact way to do this depends on the details.
>> The REST API is documented in the README of OpenWISP Controller, or as
>> soon as the unified documentation is published, it will be available there.
>> If you want to use a Python script, you need to be familiar with the
>> Django ORM, you can find the model definitions in the source code of OpenWISP
>> Controller on Github
>> <https://github.com/openwisp/openwisp-controller/tree/master/openwisp_controller/config/base>
>> .
>>
>> I hope this helps.
>> Best regards
>> Federico Capoano
>>
>> On Mon, 8 Jul 2024 at 11:29, AlphaGhost  wrote:
>>
>>> Hi all,
>>>
>>>   I am new to openwisp. right now i am monitoring 4 openwrt
>>> devices through openwisp. I was trying templates for pushing ipsec
>>> configuration for all the openwrt devices, I used placeholders for
>>> replacing the values while applying configuration, But my doubt is, It will
>>> be a time taking task if we have 100 devices monitored by openwisp while
>>> pushing device specific templates via place holders. so, can anyone guide
>>> me on how to automate the template pushing and also where the device
>>> details are stored and how to access those details and male it to fill in
>>> templates automatically.
>>>
>>> Thanks,
>>> Thrisha.
>>>
>>> --
>>> 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/338c533f-197b-42cc-bc8f-4b7e53a0bbf4n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/338c533f-197b-42cc-bc8f-4b7e53a0bbf4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/8f43a5f6-ce63-4050-8e66-e6e2c9557ed3n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/8f43a5f6-ce63-4050-8e66-e6e2c9557ed3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JNbqY0uSXyg17hUEEFF%2B-xnAZGiA24%2BmVVPjNkPC2D9w%40mail.gmail.com.


Re: [openwisp] nginx error on docker

2024-07-17 Thread Federico Capoano
Try pulling the latest images tagged with the "edge" tag from either Docker
Hub <https://hub.docker.com/u/openwisp> or Git Container Registry
<https://gitlab.com/openwisp/docker-openwisp/container_registry>.

That error was already resolved.

Best regards
*Federico Capoano*
OpenWISP OÜ
Kotkapoja tn 2a-10, 10615, Harju maakond, Tallinn, Estonia
VAT: EE101989729
+372 59361689
*openwisp.io* <http://openwisp.io>


On Wed, 17 Jul 2024 at 09:23, Devesh Ghag  wrote:

> hello,
>
> nginx: [emerg] host not found in upstream "radius" in
> /etc/nginx/conf.d/radius.https.conf:71
>
> iam getting this error some configuration issues to add upstream in
> radius.https.conf im not able to connect docker container shell as its keep
> restarting.
>
> is there any other way to install openwisp on docker
>
> --
> 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/2437a201-478e-4bd9-942d-6bad7e2040aan%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/2437a201-478e-4bd9-942d-6bad7e2040aan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6Knua524t0LHg7VziXdcEMNFk-u24hHBB6XNHDOU7iFhA%40mail.gmail.com.


Re: [openwisp] Re: SOCIAL CAPTIVE PORTAL module 'rlm_authorize'

2024-07-15 Thread Federico Capoano
Try using the new version, look for "Deploying the upcoming release" in the
ansible role of OpenWISP.

Best regards
Federico Capoano


On Sat, 13 Jul 2024 at 17:43, François Noah  wrote:

> hello @notovn
> how do you solved that, i have the same issue
>
> Regards
> Le mardi 31 janvier 2023 à 16:34:23 UTC+1, not...@gmail.com a écrit :
>
>> Hi Guys! i would like to make a captive portal with social
>> authentication, so i followed all the steps to install openwisp on debian
>> 10 i enabled the radius module i downloaded and installed the dependencies
>> of openwisp-social-login page, but now i am stopped as i can't start the
>> freeradius daemon, i get the error:
>> /etc/freeradius/mods-enabled/rest[6]: Failed to link to module
>> 'rlm_authorize': /usr/lib/freeradius/rlm_authorize.so:
>> Reading online they say to reinstall freeradius, I tried this way too but
>> nothing..
>> What am I doing wrong? Thank you all very much for the help
>>
> --
> 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/bd53e8f0-b909-438d-88fa-861fe34c0dddn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/bd53e8f0-b909-438d-88fa-861fe34c0dddn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LpXB_4rcddwN%3DpnOvahkEsLQCPEoUCZ59nGjfjh%3DYykg%40mail.gmail.com.


[openwisp] OpenWISP Forum on Github Discussions

2024-07-13 Thread Federico Capoano
What do you think of adding Github Discussions as an option for asking
questions regarding OpenWISP?

Have your say: https://github.com/orgs/openwisp/discussions/885

We could keep the mailing list as a backup option.
I'll continue using it.
But I think the forum format may be handy to newer generations.

I would prefer to use discourse but we don't have much bandwidth now to
maintain a self hosted discourse instance.

Best regards
Federico Capoano

-- 
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/CAAGgX6JKR5DnP1501YXvk9u6foHsNqOn30vmhw_FuNOHhYw%3Deg%40mail.gmail.com.


Re: [openwisp] router unreachable

2024-07-12 Thread Federico Capoano
Refer to the OpenWrt documentation: Failsafe mode, factory reset, and
recovery mode

.

F.

On Fri, 12 Jul 2024 at 09:30, Piviul  wrote:

> Hi all, I have installed openwisp and changed some parameters in a
> openwisp template relative to the wireless configuration. When they are
> deployed to the router I've got these logs:
>
> Fri Jul 12 12:59:26 2024 daemon.info openwisp: Local configuration
> outdated
> Fri Jul 12 12:59:26 2024 daemon.info openwisp: Downloading configuration
> from controller...
> Fri Jul 12 12:59:26 2024 daemon.info openwisp: Configuration downloaded,
> now applying it...
> Fri Jul 12 12:59:28 2024 daemon.info openwisp: Service network has been
> reloaded via procd/ubus
> Fri Jul 12 12:59:28 2024 daemon.info openwisp: Service system has been
> reloaded via procd/ubus
> Fri Jul 12 12:59:28 2024 daemon.info openwisp: Service wireless has been
> reloaded via procd/ubus
> Fri Jul 12 12:59:30 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12
> names
> Fri Jul 12 12:59:30 2024 daemon.info dnsmasq[1]: read
> /tmp/hosts/dhcp.dnsmasq1 - 0 names
> Fri Jul 12 12:59:33 2024 daemon.info openwisp: Testing configuration...
> Fri Jul 12 12:59:33 2024 daemon.info openwisp: Configuration test
> succeeded
> Fri Jul 12 12:59:33 2024 daemon.info openwisp: Configuration applied
> successfully
> Fri Jul 12 12:59:33 2024 kern.info kernel: [14951.527763] device wlan0
> left promiscuous mode
> Fri Jul 12 12:59:33 2024 kern.info kernel: [14951.532411] br-lan: port
> 3(wlan0) entered disabled state
> Fri Jul 12 12:59:34 2024 daemon.notice netifd: lan (7004): udhcpc:
> received SIGTERM
> Fri Jul 12 12:59:34 2024 daemon.notice netifd: lan (7004): udhcpc:
> unicasting a release of 192.168.64.70 to 192.168.64.2
> Fri Jul 12 12:59:34 2024 daemon.notice netifd: lan (7004): udhcpc:
> sending release
> Fri Jul 12 12:59:34 2024 daemon.notice netifd: lan (7004): udhcpc:
> entering released state
> Fri Jul 12 12:59:35 2024 daemon.notice netifd: lan (7004): Command
> failed: ubus call network.interface notify_proto { "action": 0,
> "link-up": false, "keep": false, "interface": "lan" } (Permission denied)
> Fri Jul 12 12:59:35 2024 daemon.notice netifd: Interface 'lan' is now down
>
> So the openwrt device lan is down now and I can't reach the device any
> more. In this cases I have to reset with the device button or there is
> some other way getting control on it?
>
> Piviul
>
> --
> 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/55d5e249-1912-4f3f-aa08-947e1adb950d%40gmail.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/CAAGgX6LkcWGVRk%2BP9a18herjD%2BgS8dQLSzKM0GZx%3DLk4gea3Fg%40mail.gmail.com.


Re: [openwisp] WPA2 Enterprise

2024-07-12 Thread Federico Capoano
It *MAY* be due to the fact WPA Enterprise configuration settings in
OpenWrt have changed in the last versions.
We had to update the config library of OpenWISP:
https://github.com/openwisp/netjsonconfig/commit/8396e4fcf8cc24e5c3135991c2939c0f3603677f
These changes are not released yet, so you would need to use the
development version to try this.
However, I am not 100% this is the problem here.
So further debugging is needed on your end, you can try to generate the
configuration through the OpenWrt Luci Web Interface first and see if you
get it working, then compare the config with the one generated by OpenWISP
to see if they're different (probably).

I hope this helps.

Federico

-- 
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/CAAGgX6Lp9NQXufRZiFnALGQ7sLeSrBH0xQuEKWZ2zik2OjXbCA%40mail.gmail.com.


Re: [openwisp] device details storing in openwisp and automating templates

2024-07-09 Thread Federico Capoano
The data is stored in the SQL database.
You can automate this either with the REST API or with Python scripts, the
exact way to do this depends on the details.
The REST API is documented in the README of OpenWISP Controller, or as soon
as the unified documentation is published, it will be available there.
If you want to use a Python script, you need to be familiar with the Django
ORM, you can find the model definitions in the source code of OpenWISP
Controller on Github
<https://github.com/openwisp/openwisp-controller/tree/master/openwisp_controller/config/base>
.

I hope this helps.
Best regards
Federico Capoano

On Mon, 8 Jul 2024 at 11:29, AlphaGhost  wrote:

> Hi all,
>
>   I am new to openwisp. right now i am monitoring 4 openwrt
> devices through openwisp. I was trying templates for pushing ipsec
> configuration for all the openwrt devices, I used placeholders for
> replacing the values while applying configuration, But my doubt is, It will
> be a time taking task if we have 100 devices monitored by openwisp while
> pushing device specific templates via place holders. so, can anyone guide
> me on how to automate the template pushing and also where the device
> details are stored and how to access those details and male it to fill in
> templates automatically.
>
> Thanks,
> Thrisha.
>
> --
> 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/338c533f-197b-42cc-bc8f-4b7e53a0bbf4n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/338c533f-197b-42cc-bc8f-4b7e53a0bbf4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6L8kxn-6VaOf_cXkqKruy9NPcM%2BsThB_LyiWS0tK4cW7w%40mail.gmail.com.


Re: [openwisp] Ansible target version for openWisp

2024-07-02 Thread Federico Capoano
The CI Build of the role, which deploys a basic openwisp instance and runs
tests on it each time we push to master, is installing the latest ansible
version available from the python package index:
https://github.com/openwisp/ansible-openwisp2/blob/master/.github/workflows/ci.yml#L75-L76

I guess we meant the minimum ansible version, you should be able to use
something more recent.

I will update the README, thanks for reporting this.

Best regards
Federico Capoano

On Tue, 2 Jul 2024 at 10:10, Piviul  wrote:

> Hi all, I would like to install openwisp and in the openWisp
> documentation[¹] I read that the raccomanded ansible version  is 2.12 but
> on ansible documentation[²] I read that the 2.12 version is unmaintained
> (end of life). To install openWisp I have to install an unsupported version
> of ansible or I can install the current stable ansible version?
>
> Best regards
>
> Piviul
>
> [¹]
> https://github.com/openwisp/ansible-openwisp2?tab=readme-ov-file#install-ansible
> [²]
> https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-changelogs
>
> --
> 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/dac45762-d4e8-4fb1-8472-f2673e90de9an%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/dac45762-d4e8-4fb1-8472-f2673e90de9an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LrJLhY%3DLuqY7jeRCpArR%2B_wKpzJ6tQ-pL7oEQXQnvF2g%40mail.gmail.com.


Re: [openwisp] OPENWISP RADIUS

2024-06-22 Thread Federico Capoano
You would have to deploy that manually, on your own, or edit the settings
generated by ansible to remove anything not related to what you need.
You can use the test project of OpenWISP RADIUS for reference:
https://github.com/openwisp/openwisp-radius/blob/master/tests/openwisp2/settings.py

Best regards
Federico Capoano

On Fri, 21 Jun 2024 at 13:32, Tommaso Feola  wrote:

> I would need to install openwisp with just the radius module. If I follow
> the instructions in https://github.com/openwisp/openwisp-radius where I
> read "It can be used as a standalone application or integrated with the
> rest of OpenWISP",
>
> I can't understand how it works: I still have to install ausible ? if so,
> how do I install just the openwisp-radius module?
>
> 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/d1cefa52-96b5-4e17-94bb-13df086cb266n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/d1cefa52-96b5-4e17-94bb-13df086cb266n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BjW0OoCboRmniiJoevaET1%3DxBp%3DwCiVyeTstkusTTe9A%40mail.gmail.com.


Re: [openwisp] Openwisp2 modules

2024-06-17 Thread Federico Capoano
The ansible role was designed mainly to deploy OpenWISP Controller and
other optional modules that are aimed at network management and
visualization.
At a later stage we added the RADIUS module, but the Controller module is
still the default module installed.

In this case, you could add some custom python settings at the end of
settings.py that remove the modules you don't want from INSTALLED_APPS,
e.g.:

INSTALLED_APPS.remove('openwisp_controller')
INSTALLED_APPS.remove('openwisp_ipam')

If you want to continue handling the playbook with ansible you can use the
"openwisp2_extra_django_settings_instructions" variable to add these
settings.
But before doing it with ansible I would try this manually, eg:

cd /opt/openwisp2
source env/bin/activate
vim openwisp2/settings.py
# add the custom instructions, save and exit
# now try to launch the django shell to see if any error comes up
./manage.py shell_plus

If an exception is raised, you may need to adjust some more settings.

I hope this helps.
Federico

-- 
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/CAAGgX6K%3D0OKdU4N0xNZH7y9ZXb1YRfuZr8%2BiJ2Qg1a%3D_5QQLYA%40mail.gmail.com.


Re: [openwisp] Openwisp2 modules

2024-06-16 Thread Federico Capoano
If you're using the ansible-openwisp2 role (
https://github.com/openwisp/ansible-openwisp2), you can disable a specific
module by setting its corresponding flag to false
The README provides instructions on how to enable modules, and you can use
the same variables to disable them.

There are other methods as well. Could you please specify which modules you
want to disable and the deployment method you used?

Technically, most modules can function as standalone applications if
necessary, but some modules depend on others.
For more information on these dependencies, please refer to the
architecture documentation:
https://openwisp.io/docs/general/architecture.html

I hope this helps. Let us know if you have any further questions.

Best regards
Federico Capoano

On Sun, 16 Jun 2024 at 17:09, Tommaso Feola  wrote:

>
> I installed Openwisp2: it works correctly, but I would like to understand
> if it is possible to disable modules post-installation and what is the
> correct method to do it .
>
> Thank you
>
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/b6b71c2e-a8dd-4fd2-b45a-ae9df0f9371cn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/b6b71c2e-a8dd-4fd2-b45a-ae9df0f9371cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BKTs7OojPX2%2BTMZ8Fw-M0q41%2B0WTssFnGq2LgkYNj3og%40mail.gmail.com.


Re: [openwisp] Default Web Gui Language

2024-06-16 Thread Federico Capoano
Dear Tommaso,

See LANGUAGE_CODE in the Django Settings reference:
https://docs.djangoproject.com/en/5.0/ref/settings/#language-code

While the Django framework provides translations for the admin interface,
the OpenWISP modules that offer admin dashboard functionality do not
include translations.
Consequently, you may see a partially translated interface.

Currently, we only maintain translations for OpenWISP RADIUS and WiFi Login
Pages, specifically for features designed for end-users, such as
subscribing to a WiFi hotspot service.
Due to our limited resources, we are unable to maintain translations for
the admin interface of OpenWISP at this time.
The admin interface is primarily intended for tech-savvy users who are
generally proficient in English.

I hope this helps.

Best regards
Federico Capoano

On Sat, 15 Jun 2024 at 14:17, Tommaso Feola  wrote:

> a simple question: how do you change the language of the Openwisp web
> interface?
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/f5822cc7-56d6-4557-a5fc-e9abd8bf8086n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/f5822cc7-56d6-4557-a5fc-e9abd8bf8086n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LWk%3DVOQRq6uhFK_8i3-e2td64E1%3DxkV7mN3SXHGwhh5w%40mail.gmail.com.


Re: [openwisp] When I m trying to add device in the devices tab, I m getting Please correct the errors below.

2024-06-06 Thread Federico Capoano
Hi Kolla,

Please read here about OPENWISP_CONTROLLER_REGISTRATION_SELF_CREATION:
https://github.com/openwisp/openwisp-controller?tab=readme-ov-file#openwisp_controller_registration_self_creation
Set it to False, then you can pre-create the devices that are allowed, any
other device trying to register will be rejected.

See also How to edit Django settings:
https://openwisp.io/docs/user/django-settings.html

Best regards
Federico Capoano


On Thu, 6 Jun 2024 at 09:16, Kolla Honey  wrote:

> In the openwisp server, I want to create a list of devices for that only
> registration has to be allowed, for the remaining even though it has shared
> secret, openwisp server should not allow it to register . For that  I m
> trying to add device in the devices tab with all essential details, but  I
> m getting  "Please correct the errors below". How can I solve this problem?
> or is there any better way  to add valid radio list to the openwisp
> server?
>
> --
> 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/89a05df9-9f40-42b8-90a0-6c619c5d84c5n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/89a05df9-9f40-42b8-90a0-6c619c5d84c5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JzU1Kt%2BZ5mUp146R7C8U5GazvE3i7_H_yTPLCTdhP5AA%40mail.gmail.com.


[openwisp] Re: Great advancement but at what cost? Where's the support of the community?

2024-06-05 Thread Federico Capoano
Hi everyone,

Forgive me for insisting a bit more on this thread, especially the
following:

   - *Star the main OpenWISP repositories or modules you use on GitHub
   <https://github.com/openwisp/>. *This is such a quick thing to do, eg:
   go to https://github.com/openwisp/ and start the main modules which are
   pinned to the top.

Thanks to those who replied and have started supporting us!
I hope more can join and give back to the community.
We're working on great advancements for the project:

- New website
- New unified documentation
- New release

I'll share the progress in the coming weeks. It will be great to have more
feedback from our user base.

Thanks for your attention!
Best regards
Federico Capoano

On Fri, 24 May 2024 at 20:04, Federico Capoano 
wrote:

> Dear OpenWISP users,
>
> I'm reaching out to encourage more involvement from our community. While
> our user base has been steadily growing, I haven't seen much contribution
> back to the project lately (last 2 years).
>
> It's also true that when there's been contributions, we have been slow to
> integrate them due to our own pipeline of work being full. But sooner or
> later we did integrate most of your contributions, so THANK YOU to all of
> those who contributed.
>
> However, it is evident that we need to improve our side of things and find
> more maintainers to help with the technical side of the project, we're
> working hard on that, along with the next release, new website and
> restructured comprehensive documentation website.
>
> However, I think *users could be a bit less careless* and help us a tiny
> bit more with small acts of love and support, which would surely help us
> out.
>
> I urge those of you who are using OpenWISP in production to consider
> giving back, even in small ways that don't require a lot of time, effort or
> financial commitment.
>
> Please read: How to Help Us?
> <https://openwisp.io/docs/general/help-us.html>
>
> Here are a few quick ways you can support OpenWISP:
>
>- Share your success story
><https://bit.ly/openwisp-success-stories-form>, we're selecting the
>best ones to share on our website.
>- *Star the main OpenWISP repositories or modules you use on GitHub
><https://github.com/openwisp/>. *This is such a quick thing to do, eg:
>go to https://github.com/openwisp/ and start the main modules which
>are pinned to the top.
>- Share information about the work you've been doing with OpenWISP on
>social media, LinkedIn and X/Twitter really help us to gain visibility.
>- Become a *financial sponsor* and be featured on the new website, if
>interested please contact me privately.
>
> These small contributions help increase our visibility and if performed by
> a sufficient amount of people make a big difference over time. Your support
> is greatly appreciated!
>
> We have great work in the pipeline which is going to be published and
> released in the coming months, and after this upcoming release we'll be
> working more and more on UX improvements thanks to the collaboration with
> Ura Design and the OpenTechFund.
>
> I ask for your collaboration to help us reach more people so we can grow
> the project with the aim of improving OpenWISP faster. I promise you will
> benefit too from the improvements we're working on.
>
> *Thank you 🙏*
> Best regards
>
> *Federico Capoano*
>

-- 
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/CAAGgX6J2sYe4xhKJm-_Hc3ECwRsv7k53iWaWfWh31oqsDS%3DerA%40mail.gmail.com.


Re: [openwisp] OpenWisp monitoring tool documentation

2024-05-24 Thread Federico Capoano
Hi,

You can look into the tasks executed by the ansible-openwisp2 role to find
out the steps you need to take to deploy on any OS:
https://github.com/openwisp/ansible-openwisp2/blob/master/tasks/main.yml

If you have any specific problem and need help, please post the details of
the error you're getting in plain text here.

I hope this helps
Best luck
Federico

On Thu, 23 May 2024 at 11:03, Shatakshi  wrote:

> Hello members,
>
> Does anyone have proper documentation for setting up openwisp monitoring
> tool for Centos 7?
> I am having trouble setting it up, struggling at *python manage.py
> createsuperuser.*
> Please provide some solution for that.
>
> --
> 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/7863effc-932b-42ca-9182-0b547c8915bdn%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/CAAGgX6KzZBXrsZP0izaeGF-JUusqQzbgzzwSJ12uf6p%2BNmVodA%40mail.gmail.com.


Re: [openwisp] Re: OpenWISP case studies & success stories, share yours!

2024-05-20 Thread Federico Capoano
It was reported that the Sucess Story
<https://bit.ly/openwisp-success-stories-form> form wasn't accessible
publicly, I fixed that, sorry for the misunderstanding!

Federico

On Thu, 16 May 2024 at 17:45, Federico Capoano 
wrote:

> Hi everyone!
>
> *Share your OpenWISP Success Story and Inspire Others!*
>
> There's still time to be featured on our brand new website launching soon!
> We're looking for inspiring stories from the community about how you're
> using OpenWISP to automate your network management and configuration or to
> provide internet access to bridge the digital divide.
>
> *Here's how you can contribute:*
>
>- Fill out our *quick and easy success story form*
><https://bit.ly/openwisp-success-stories-form>!
>
> *Why participate?*
>
>- Your story will help us showcase the power of OpenWISP and inspire
>others.
>- It's a fantastic opportunity to gain recognition for your work
>within the community.
>- The new website will be a valuable resource for potential users
>looking to see OpenWISP in action.
>
> We encourage everyone to participate! Every success story, big or small,
> helps build a stronger OpenWISP community.
> I hope you can help us!
> Federico Capoano
>
> On Wed, 8 May 2024 at 19:00, f.capoano  wrote:
>
>> Hi,
>>
>> If you have deployed OpenWISP in any situation that deals with digital
>> divide, internet access, education or network automation in general, please
>> get in touch with me, I would like to know your story.
>>
>> I know you guys are busy, I am too, so I promise I won't waste your time
>> and be quick.
>> It's a small favour I am asking, consider it a way to give back and
>> contribute to the community.
>>
>> Thanks in advance
>> Federico
>>
>> On Thursday, May 2, 2024 at 12:15:07 PM UTC-4 f.capoano wrote:
>>
>>> Hi everyone!
>>>
>>> Among other things, we are working on a new version of the OpenWISP
>>> Website which aims to communicate our value proposition a lot better.
>>>
>>> One problem we have on the current website is that the information about
>>> the organizations actively using it are very outdated.
>>>
>>> There's a few case studies we are going to cite that are the result of
>>> the work done by the core contributors and advisors, but it would be great
>>> to have a few more case studies of projects deployed by the community here.
>>>
>>> This will be immensely helpful in showing to newcomers what can be built
>>> with it.
>>>
>>> Thank you in advance.
>>> Best regards
>>> Federico Capoano
>>>
>> --
>> 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/601e90c3-f90c-4bfa-9dae-9a267855edb1n%40googlegroups.com
>> <https://groups.google.com/d/msgid/openwisp/601e90c3-f90c-4bfa-9dae-9a267855edb1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAAGgX6L4g_rG9AkP8SYcitku0MDjqkrcSXYVG0wmnZL0UY0qTA%40mail.gmail.com.


Re: [openwisp] Re: OpenWISP case studies & success stories, share yours!

2024-05-16 Thread Federico Capoano
Hi everyone!

*Share your OpenWISP Success Story and Inspire Others!*

There's still time to be featured on our brand new website launching soon!
We're looking for inspiring stories from the community about how you're
using OpenWISP to automate your network management and configuration or to
provide internet access to bridge the digital divide.

*Here's how you can contribute:*

   - Fill out our *quick and easy success story form*
   <https://bit.ly/openwisp-success-stories-form>!

*Why participate?*

   - Your story will help us showcase the power of OpenWISP and inspire
   others.
   - It's a fantastic opportunity to gain recognition for your work within
   the community.
   - The new website will be a valuable resource for potential users
   looking to see OpenWISP in action.

We encourage everyone to participate! Every success story, big or small,
helps build a stronger OpenWISP community.
I hope you can help us!
Federico Capoano

On Wed, 8 May 2024 at 19:00, f.capoano  wrote:

> Hi,
>
> If you have deployed OpenWISP in any situation that deals with digital
> divide, internet access, education or network automation in general, please
> get in touch with me, I would like to know your story.
>
> I know you guys are busy, I am too, so I promise I won't waste your time
> and be quick.
> It's a small favour I am asking, consider it a way to give back and
> contribute to the community.
>
> Thanks in advance
> Federico
>
> On Thursday, May 2, 2024 at 12:15:07 PM UTC-4 f.capoano wrote:
>
>> Hi everyone!
>>
>> Among other things, we are working on a new version of the OpenWISP
>> Website which aims to communicate our value proposition a lot better.
>>
>> One problem we have on the current website is that the information about
>> the organizations actively using it are very outdated.
>>
>> There's a few case studies we are going to cite that are the result of
>> the work done by the core contributors and advisors, but it would be great
>> to have a few more case studies of projects deployed by the community here.
>>
>> This will be immensely helpful in showing to newcomers what can be built
>> with it.
>>
>> Thank you in advance.
>> Best regards
>> Federico Capoano
>>
> --
> 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/601e90c3-f90c-4bfa-9dae-9a267855edb1n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/601e90c3-f90c-4bfa-9dae-9a267855edb1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6KyZk17qTrOrGUrvMBYVZsKMZ8iGX1mjrXm1D4BTU2Dpw%40mail.gmail.com.


Re: [openwisp] OPENWISP RADIUS

2024-05-11 Thread Federico Capoano
If I was you I wouldn't bother to do that and would simply get a valid SSL
certificate from Letsencrypt

.

For anything about freeradius, refer to the freeradius documentation
 and community support
.

I hope this helps.

Federico

-- 
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/CAAGgX6KwkCE%3DCK1SvOrM6h72cWjfW4VDEuCC3fitToip1_NgkA%40mail.gmail.com.


Re: [openwisp] OPENWISP RADIUS

2024-05-10 Thread Federico Capoano
If you open the URL of the OpenWISP admin web interface, do you see any SSL
certificate warning?
If so, you're using an untrusted certificate. You can still use it, but
will have to configure freeradius to either not verify the validity of the
certificate or trust it.

Best regards
*Federico Capoano*

On Fri, 10 May 2024 at 08:31, Kolla Honey  wrote:

> Hello, I m new to openwisp. I have downloaded RADIUS using ansible and I
> followed the documentation provided in the web, yet whenever I m running my
> freeradius server, I m getting error as rest: ERROR: Request failed: 60
> -SSL peer certificate or SSHkey was not ok.
> rest:ERROR: Server returned no data. I did try different combinations to
> make it work but it is still throwing same error. Can anyone help me what
> need to done? any inputs are needed from my end.
>
> --
> 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/a3be1e62-45e4-42ea-825a-8cc0e94b986bn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/a3be1e62-45e4-42ea-825a-8cc0e94b986bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6Ko2SzmCFUpeG0gK8FzY1Fb0-ZRAuRt-ij-Rbxjk4E5SA%40mail.gmail.com.


[openwisp] Google Summer of Code 2024 Starting

2024-05-06 Thread Federico Capoano
Hi everyone!

I just wanted to inform you that we have started the Google Summer of Code
2024 with two contributors which will be working on exciting projects:

- Prapti Sharma will be working on adding support for the new version of
InfluxDB (InfluxDB 2.0), more info here:
https://openwisp.io/docs/developer/gsoc-ideas-2024.html#add-more-timeseries-database-clients-to-openwisp-monitoring
- Dhanus SL will bee working on Improving UX for the Notifications Module,
more info here:
https://openwisp.io/docs/developer/gsoc-ideas-2024.html#improve-ux-of-the-notifications-module

If anyone is interested in following the developments on these two
projects, please follow the openwisp-gsoc mailing list:
https://groups.google.com/g/openwisp-gsoc

Best regards
Federico Capoano

-- 
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/CAAGgX6J_i6S%2BPw5DeXHz0NAXThyWjP%3D1DuNS_4FKZ4Ai2xQQCQ%40mail.gmail.com.


[openwisp] Help OpenWISP to Improve its Usability

2024-05-02 Thread Federico Capoano
Hi everyone!

We would like to invite you to participate in a user research initiative
aimed at enhancing the usability of OpenWISP. Your insights and feedback
are crucial in shaping the future of our platform.

To contribute, please take a few moments to complete the survey, where you
can share your experiences using the platform. Additionally, if you're
available for a user interview, further instructions can be found within
the form.

Survey Link: https://cloud.ura.design/apps/forms/s/zmmqDiZekRfnnWZQiX5ear53

Your participation will greatly assist us in refining OpenWISP to better
meet your needs and those of our community. Thank you in advance for your
time and input.

Best regards
Federico Capoano

-- 
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/CAAGgX6%2B5yUA9APByNORC%2BYEb1WFHWNJod8bGGYt0Fw--5ZUaiA%40mail.gmail.com.


[openwisp] OpenWISP case studies & success stories, share yours!

2024-05-02 Thread Federico Capoano
Hi everyone!

Among other things, we are working on a new version of the OpenWISP Website
which aims to communicate our value proposition a lot better.

One problem we have on the current website is that the information about
the organizations actively using it are very outdated.

There's a few case studies we are going to cite that are the result of the
work done by the core contributors and advisors, but it would be great to
have a few more case studies of projects deployed by the community here.

This will be immensely helpful in showing to newcomers what can be built
with it.

Thank you in advance.
Best regards
Federico Capoano

-- 
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/CAAGgX6L9iVak-X%2B56QLE09qE0_rw%3DV3wAQ-8OkE-g--WYwbsWA%40mail.gmail.com.


Re: [openwisp] Cannot change the configuration status from modified to appiled in the device tab of openwisp server

2024-04-25 Thread Federico Capoano
Ensure openwisp-config is running, eg:

ps | grep openwisp
 8062 root  1460 S{openwisp_config} /bin/sh
/usr/sbin/openwisp_config --url https://broadmesh.broadgee.com --interval
300 --verify-ssl 1 --shared-secret 5rIVMdF6KuLXkaJ4oHYaetqhTVqKkTTh
--consistent-ke
 8289 root  1428 S{openwisp-monito} /bin/sh
/usr/sbin/openwisp-monitoring --interval 300 --verbose_mode 0
--required_memory 0.05 --mode collect --monitored_interfaces wlan0 wlan1
wwan0 mesh0 mesh1 tun0
 8290 root  1432 S{openwisp-monito} /bin/sh
/usr/sbin/openwisp-monitoring --url https://broadmesh.broadgee.com --uuid
895bd3ac7cbb43ffa2d95bea1c1b31ac --key c4372030098d1d43b1eeba7217f52264
--verify_ss

If it's not running, start it and look at the syslog output:

/etc/init.d/openwisp_config start; logread -f

If it's running, revise the syslog output while you change the
configuration on the OpenWISP server:

logread -f

The log should help you to understand what's going on.

I hope this helps.
Best regards
Federico Capoano

On Thu, 25 Apr 2024 at 09:41, Kolla Honey  wrote:

> Hello, I m new to openwisp, I have installed openwisp controller in my
> ubuntu system. I have done auto registration my access point to the
> openwisp server. I m also able to make remote configuration using send
> custom command and able to check those changes in my access point. But I m
> unable to change the configuration status in the devices tab from modified
> to applied. What I need to do now?
>
> --
> 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/05e99b6a-46db-4274-8e1d-9db7193b8630n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/05e99b6a-46db-4274-8e1d-9db7193b8630n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LPRgjDQDoN-Tdbx3TiPayY__caT8Uu3-eR-_Wk9iTtPg%40mail.gmail.com.


[openwisp] FAQ page suggestions

2024-04-03 Thread Federico Capoano
Hi everyone,

I am preparing a draft for a potential FAQ page, which is currently not
available on the website. I would like to take this opportunity to ask if
there were any questions that crossed your mind while learning about
OpenWISP. Having these questions answered in a FAQ page could have
potentially saved you time. Your input would be greatly appreciated.

You may respond to me privately (off-list) if you don't want the response
to be included in the mailing list archive.

Any feedback is welcome.

Thanks in advance
Best regards
Federico

-- 
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/CAAGgX6LcE_qR2EB-O%2BLAFpjYoiE8t%2B6gZpYoMjyvMK7mc4yxFA%40mail.gmail.com.


Re: [openwisp] Feature proposal : Schedule a reboot upon next device connection on interval.

2024-03-29 Thread Federico Capoano
Hi Muhammed,

This is one of those custom behaviours which I always recommend users to
build on their own.
Given OpenWISP openness and programmability, it's not hard at all to do
this, the application gives a lot of tools to do that.
If every time someone needs something like this we'd build it as a core
feature we'll end up with an unmaintainable pile of code.
It is possible to implement this in many ways, both on the openwrt side
with bash or lua or on the server side with python (using django signals,
the monitoring module has a signal for the health status change and
openwisp controller has the logic which can be used to send SSH commands).
I recommend picking what you like most and implement this on your own. I
honestly think building this on the router is easier.

Regards
Federico

On Thu, 28 Mar 2024 at 07:48, Mohammed Ismail  wrote:

> Hi
>
> It would be useful if we can mark a device for a reboot upon next
> connection interval
> Default `option interval '120'`
>
> If the device is behind a VPN and it becomes unreachable for any reason.
> it would be useful for the admin to trigger a reboot upon the next
> connection attempt from device to the server.
> so the server side device gets marked for reboot.
> and from openwisp-config  if the signal received from the server would
> execute.
>
> it could be a whole command to execute on the next connection interval or
> just a reboot.
>
>
> Best regards.
> Muhammed Al-Qadhy.
>
>
>
>
> --
> 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/CAKOr0YQRpWw%3DyXAqcXu30jKwPT6H-P5tb9RqYvX5pTjkArFTFw%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/CAAGgX6%2By_R6YPCDWt2%3D4BWrCa%2B34y0PihQr1OxJ8omDjhPnaBA%40mail.gmail.com.


Re: [openwisp] Re: WI-FI sessions

2024-03-27 Thread Federico Capoano
The WiFi sessions data is not exportable right now from the web UI.

You may be able to export it from the command line using the django dump
data command:
https://docs.djangoproject.com/en/4.2/ref/django-admin/#dumpdata

cd /opt/openwisp2
source env/bin/activate
./manage.py dumpdata device_monitoring.WiFiSession > wifisessions.json

I hope this helps.
Federico

On Mon, 25 Mar 2024 at 12:22, 'Gowtham Krishna Ravella' via OpenWISP <
openwisp@googlegroups.com> wrote:

> Hi Federico,
>
> I was able to export the charts data in Devices -> TP-Link-1 -> Charts ->
> export data. But I was looking for something (like export data) in
> Monitoring -> Wi-Fi Sessions for further processing. I deployed the
> upcoming release using the above link and I didn't see any change ( unless
> I did something wrong ).
>
> Is there a file path in the server where I can find the sessions data?
>
>
> On Friday 22 March 2024 at 08:40:33 UTC-4 federico...@gmail.com wrote:
>
>> This feature is not released yet but you can get it by deploying the
>> upcoming release of OpenWISP, more info here:
>> https://github.com/openwisp/ansible-openwisp2?tab=readme-ov-file#deploying-the-upcoming-release-of-openwisp
>>
>> F.
>> On Thursday, March 21, 2024 at 12:07:34 AM UTC-3 Gowtham Krishna Ravella
>> wrote:
>>
>>> Hello,
>>>
>>> I am trying to download the wifi-sessions from Monitoring in OpenWISP
>>> web interface but there is no option for those. Where exactly can I find
>>> them in the server?
>>>
>>> I need this to see who exactly is connecting to each access-point.
>>>
>>> Thank you,
>>> Gowtham Ravella
>>>
>> --
> 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/a7a3b6d6-a58b-448d-bc50-0fd87fc20db9n%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/CAAGgX6KsYjXsdaQby%3DiuX8xMTf-nZ7kTqHRZzAv2neLFUypt%3DQ%40mail.gmail.com.


[openwisp] Re: Health status issues:reg

2024-03-22 Thread Federico Capoano (nemesisdesign)
It's definitely an anomaly, I have never seen this. If you find a way to 
replicate this issue on a new instance or in the dev environment let us 
know.
I would start looking at the logs in /opt/openwisp2/log to see if there's 
any error being logged.

F.

On Thursday, March 21, 2024 at 1:51:19 AM UTC-3 manu...@relysys.co.in wrote:

> Greetings...
> Dear team,
>  I have noticed this problem in 
> openwisp2 server, the devices are able to ping from server to device and 
> vice versa. The charts are also appearing and I am able to send commands to 
> the devices. But still the device health status is showing "CRITICAL". What 
> could be the problem? This is happening in so many devices. I have attached 
> the screenshots below for your reference. 
>
> Thanks in advance
> [image: 36fd1937-d017-40e8-8138-1f4a23c1ca4b.png][image: image.png]
> [image: c6b108e9-b3c7-4901-be66-0364d3d5b2d8.png]
> [image: image.png][image: image.png]
>

-- 
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/c6248dbd-9b09-4f03-9608-769a6ce4108dn%40googlegroups.com.


[openwisp] Re: WI-FI sessions

2024-03-22 Thread Federico Capoano (nemesisdesign)
This feature is not released yet but you can get it by deploying the 
upcoming release of OpenWISP, more info here: 
https://github.com/openwisp/ansible-openwisp2?tab=readme-ov-file#deploying-the-upcoming-release-of-openwisp

F.
On Thursday, March 21, 2024 at 12:07:34 AM UTC-3 Gowtham Krishna Ravella 
wrote:

> Hello,
>
> I am trying to download the wifi-sessions from Monitoring in OpenWISP web 
> interface but there is no option for those. Where exactly can I find them 
> in the server?
>
> I need this to see who exactly is connecting to each access-point.
>
> Thank you,
> Gowtham Ravella
>

-- 
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/b6f5de4e-bd85-434a-b395-c8d9f0f613can%40googlegroups.com.


Re: [openwisp] Custom interface to the device 'status' menu

2024-03-16 Thread Federico Capoano
Hi Daniele,

OpenWrt doesn't "see" interfaces which are not defined in its network
configuration.

Try defining a new interface called "bond0" and set it to "proto" none.
That may help OpenWrt to see this interface and allow openwisp to report
its address to the controller.

I hope it helps.

Federico

-- 
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/CAAGgX6%2BH4phXnp3rEH38964yfzKBmzn7NceJY230JSTAQ-HUiA%40mail.gmail.com.


Re: [openwisp] Custom interface to the device 'status' menu

2024-03-15 Thread Federico Capoano
Hi Daniele,

Could you share the OpenWrt UCI configuration sample for your use case so
we can better understand what you're trying to do?
What do you mean by "main ip address"? Is this the management interface
address? Or what exactly?

The library which deals with configurations is here:
https://github.com/openwisp/netjsonconfig/
Docs: https://netjsonconfig.openwisp.org/en/latest/

Federico

-- 
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/CAAGgX6%2BLA-9p9VBLLb0NRx%3DgYkBC%3D5xQXMQQZMPSzdx4U9JNJg%40mail.gmail.com.


Re: [openwisp] fping command understanding: reg

2024-03-15 Thread Federico Capoano
Each task sends a ping to one specific device, if there's a timeout it will
be retried according to the configuration.
The default configuration is here:
https://github.com/openwisp/openwisp-monitoring/blob/master/openwisp_monitoring/check/classes/ping.py#L20-L41
(Count: 5, Interval: 25, Timeout: 800, consult the fping help for more
information about each option).

There can be multiple processes running ping tasks, so multiple ping
operations can be performed simultaneously, but they act on different
devices.
Each ping task operates only on 1 device.

Federico

-- 
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/CAAGgX6KHstzv78A0UxE8o%2BWHDUUH%3DhX9th%2BdSJq9M2CQV4A4MQ%40mail.gmail.com.


Re: [openwisp] run openwisp on different ports

2024-03-14 Thread Federico Capoano
Hi Michele!

It is possible, however, I don't think it can be done easily via the
ansible-openwisp2 role because the port is not configurable:
https://github.com/openwisp/ansible-openwisp2/blob/master/templates/nginx/site-conf.j2#L12-L13

So you would have to do this change on your own.
Changing this would mean also changing the URL in the configuration of the
openwisp-config agent, or the devices will not be able to reach the
controller anymore.

Federico

On Thu, 14 Mar 2024 at 17:07, Michele Salerno  wrote:

> Hi,
>
> Is it possible to run OpenWisp with Let's on ports other than 80 and 443?
>
> Best regards,
>
> Michele
>
> --
> 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/516fb1d6-92c1-45c9-b7c2-e7a762959c02%40gmail.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/CAAGgX6K%3Db-QZbT3XuLNj7Un_4qhqm-vwBPdbuL1g6OahnKCjfg%40mail.gmail.com.


Re: [openwisp] Subdivision rule

2024-03-14 Thread Federico Capoano
At the moment what you can do is choose a /31.

I created a couple of issues which should make this use case possible:

https://github.com/openwisp/openwisp-controller/issues/842
https://github.com/openwisp/openwisp-controller/issues/843

I hope this is better than nothing.

F.

On Thu, 14 Mar 2024 at 16:24, Radu Rambet  wrote:

> Actually same idea came to my mind . But i abandoned it as it populates
> with a lot of subnets and makes managing them a mess. Instead of avoiding
> mistakes one may create mistake due to too many subnets generated (one per
> ip per device) son 20 devices allready 20 subnets.
>
> And yes it cannot create /32 network . might be a bug but in my opinion
> doenst matter as that is not the intended functionality.
>
>  [image: subnet1.PNG]
>
> On Thursday, March 14, 2024 at 1:01:50 PM UTC+2 f.capoano wrote:
>
> You can try instructing the rule to create very small subnets (eg: /32 or
> /31) and get 1 IP.
> I remember there was an issue with subnets sized /32 which would not allow
> to get 1 IP but I don't remember if this bug is still there.
> Let me know if you try and if the bug is still there we should open an
> issue and fix it.
>
> Federico
>
>
> On Wed, 13 Mar 2024 at 15:08, Radu Rambet  wrote:
>
>
>
> On Tuesday, March 12, 2024 at 3:29:48 PM UTC+2 f.capoano wrote:
>
> The help text tries to explain this:
>
> "indicates how many addresses will be created for each subnet."
>
> So if you have 2 subnets,  you will get 1 ip for each subnet, so you get a
> total of 2 IP addresses reserved for each device.
>
>
> Yes but that creates 2 new subnets for each device and reserves one ip
> from each subnet.
> it should be an option to create one subnet for instance 10.10.1.0/24
> with one IP from the same range to each device
> Eg: xx_subnet1_ip1 should be 10.10.1.1 for device 1 and 10.10.1.2 for
> device 2 . in this way one can deploy more devices in the same L2/L3
> network .
>
> This is exactly waht VPN rule does but only with VPN server.
>
> I was sure that such functionality exists as it is very useful deploying
> large networks.
>
> There are more complcated situations where one would have an DHCP server
> per each device where for example 3rd octet would identify the device in
> range and 4th would be used for individual device assignemnt over wifi. But
> that is just a naming convention.
>
> Unfortunately as is I have to asign manually ip's for each device that is
> not a drama but in order to avoid mistakes automation would help.
>
> Anyhow existing VPN automation is just awsome and saves immense amount of
> work.
>
>
> We currently have 2 built-in subnet division rules:
>
> 1. device: the rule is triggered each time a device is created
> 2. vpn: the rule is triggered each time a device gets a particular
> VPN-client template assigned
>
> I hope this helps.
> Federico
>
> --
> 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/017d4d1b-37f2-4ea6-89d3-892ef51f6706n%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/8d4910ed-f81b-4df9-9505-1a5eca1ea108n%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/CAAGgX6K8Ej2RkCya%3DxinqFR4MK963KSUYD1cGhNGOk3SHNi%3Dcg%40mail.gmail.com.


Re: [openwisp] Subdivision rule

2024-03-14 Thread Federico Capoano
You can try instructing the rule to create very small subnets (eg: /32 or
/31) and get 1 IP.
I remember there was an issue with subnets sized /32 which would not allow
to get 1 IP but I don't remember if this bug is still there.
Let me know if you try and if the bug is still there we should open an
issue and fix it.

Federico


On Wed, 13 Mar 2024 at 15:08, Radu Rambet  wrote:

>
>
> On Tuesday, March 12, 2024 at 3:29:48 PM UTC+2 f.capoano wrote:
>
> The help text tries to explain this:
>
> "indicates how many addresses will be created for each subnet."
>
> So if you have 2 subnets,  you will get 1 ip for each subnet, so you get a
> total of 2 IP addresses reserved for each device.
>
>
> Yes but that creates 2 new subnets for each device and reserves one ip
> from each subnet.
> it should be an option to create one subnet for instance 10.10.1.0/24
> with one IP from the same range to each device
> Eg: xx_subnet1_ip1 should be 10.10.1.1 for device 1 and 10.10.1.2 for
> device 2 . in this way one can deploy more devices in the same L2/L3
> network .
>
> This is exactly waht VPN rule does but only with VPN server.
>
> I was sure that such functionality exists as it is very useful deploying
> large networks.
>
> There are more complcated situations where one would have an DHCP server
> per each device where for example 3rd octet would identify the device in
> range and 4th would be used for individual device assignemnt over wifi. But
> that is just a naming convention.
>
> Unfortunately as is I have to asign manually ip's for each device that is
> not a drama but in order to avoid mistakes automation would help.
>
> Anyhow existing VPN automation is just awsome and saves immense amount of
> work.
>
>
> We currently have 2 built-in subnet division rules:
>
> 1. device: the rule is triggered each time a device is created
> 2. vpn: the rule is triggered each time a device gets a particular
> VPN-client template assigned
>
> I hope this helps.
> Federico
>
> --
> 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/017d4d1b-37f2-4ea6-89d3-892ef51f6706n%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/CAAGgX6LQtkiGSpa7ZdoUgDqWj8K%3DtmdgzZXY-TuCh6b-JNGpNw%40mail.gmail.com.


Re: [openwisp] Subdivision rule

2024-03-12 Thread Federico Capoano
The help text tries to explain this:

"indicates how many addresses will be created for each subnet."

So if you have 2 subnets,  you will get 1 ip for each subnet, so you get a
total of 2 IP addresses reserved for each device.

We currently have 2 built-in subnet division rules:

1. device: the rule is triggered each time a device is created
2. vpn: the rule is triggered each time a device gets a particular
VPN-client template assigned

I hope this helps.
Federico

-- 
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/CAAGgX6J-K-vjc7GitUQmFUvxTRZraii-kzQAzAiFdDCAwW%3Diow%40mail.gmail.com.


Re: [openwisp] registering device in openwisp

2024-03-12 Thread Federico Capoano
Please share the relevant log lines.

F.

On Tue, 12 Mar 2024 at 10:23, AlphaGhost  wrote:

> Hi ,
>
>   I am new to openwisp. I started the agent in openwrt, I checked the
> logs, it is stoped at the stage of registering the device like , failed to
> reach the controller while registering the device, how to resolve it, can
> anyone kindly help on this.
>
> Thanks & regards
> Thrisha
>
> --
> 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/cbc777b7-5208-47cd-80e5-9a94e254a276n%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/CAAGgX6K1K9fieBH3tBNsk9zZ1M5Fs9Vw9fNGbCdsqmzCapAuGw%40mail.gmail.com.


[openwisp] Looking for GSoC 24 mentors

2024-03-12 Thread Federico Capoano
Hi everyone!

We have a list of 5 great potential GSoC projects this year!
https://openwisp.io/docs/developer/gsoc-ideas-2024.html

We're looking for mentors who are willing to help us with code review,
testing and assisting the contributors during their project.

Anybody interested in helping out this year?

Federico

-- 
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/CAAGgX6KNz1cyrVv1FPYuj5k-vfMnZ71rE9ULxa%2BfNXurB9Hg2A%40mail.gmail.com.


Re: [openwisp] Firmware upgrade related :reg

2024-03-06 Thread Federico Capoano
Hi,

I have not noticed issues in which the new configuration is not applied
after a firmware upgrade.
Make sure the agent is running after the upgrade.

Federico

On Sun, 3 Mar 2024 at 13:37, Manukumar NM  wrote:

> Greetings...
> Dear team,
>   Day by day when am exploring
> openwisp2 am getting interest things the firmware upgrade module is very
> useful for upgrading routers firmware remotely. When I do the firmware
> upgrade from Openwisp2 it will hold the old configuration to stay connected
> to the openwisp2 server i.e actually good or else it will disconnect from
> the openwisp2 server. But one thing I have noticed here, if the latest
> firmware has some new configurations or changes it will not apply to it
> because it will do the openwrt "upgrade -c" option. If I have some new
> configurations in the latest build but it will not apply to it. Has anyone
> noticed this.  If you knew this, How to solve this problem.
>
> Thanks in advance.
>
> --
> 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/CAG6AGHci0F1b4ZwL6k2eEYtsn5NnP-8Y22_i%2BpcCv%2BWkU2M%2BHw%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/CAAGgX6K4sUSt7tUu51o26TSp%3DLzPvdFuj6HfYcSThgw8MpAB0g%40mail.gmail.com.


Re: [openwisp] Re: openwisp server unique device key regarding

2024-03-06 Thread Federico Capoano
Hi,

the device key is generated when the device is created.
Each organization has a shared secret which if configured in the
openwisp-config agent will allow it to register and configure the key
automatically.
More info here:
https://openwisp.io/docs/user/configure-device.html#configuration

Best regards
*Federico Capoano*


On Wed, 6 Mar 2024 at 11:36, AlphaGhost  wrote:

> Hi all,
>
> can anyone help on this.
>
> Thanks,
> Thrisha
>
> On Monday, March 4, 2024 at 6:38:57 PM UTC+5:30 AlphaGhost wrote:
>
>> Hi everyone,
>>
>> I am new to this openwrt and openwisp. while registering the
>> device in openwisp server, it is asking for a unique device key right, can
>> anyone tell what is that key. we need to generate it or it is already there
>> in openwrt device. kindly help on this.
>>
> --
> 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/2c061c05-e2f2-438e-b553-141746e5e48bn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/2c061c05-e2f2-438e-b553-141746e5e48bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BZj9PTBzRYVcBYaoh4aahk93WC_t5cXdrLJcexODpWCw%40mail.gmail.com.


Re: [openwisp] Installation bug to be fixed

2024-02-29 Thread Federico Capoano
Thanks for reporting, I increased the minimum recommended version of
ansible:
https://github.com/openwisp/ansible-openwisp2/commit/cef94b4d6fbb72fe3f9f8b0c3ba46021deef7f15

Best regards
Federico Capoano


On Wed, 28 Feb 2024 at 15:09, Radu Rambet  wrote:

> Its difficult to replicate now as i have installed ansible 2.12 but the
> error was something like:
>
> "Unsupported parameters for (lineinfile) module:
>
> Did a little searching and found that I need more tha 2.10. Problem is
> that even Debian12 comes with 2.10 and you have to do a little research.
> Probably if you run Ubuntu you wont notice this issue.
>
> On Tuesday, February 27, 2024 at 1:22:53 AM UTC+2 f.capoano wrote:
>
>> Welcome back Radu,
>>
>> Can you share the error you were getting please?
>>
>> Federico
>>
>> On Mon, 26 Feb 2024 at 10:29, Radu Rambet  wrote:
>>
>>> Hi all after so many years I turned back to OpenWisp only to find much
>>> has been improved .
>>>
>>> There is a small bug in the installation instruction as is it states
>>> that requires Ansible 2.10 but the script throws an error on 2.10.
>>>
>>> It works perfectly in 2.12 but that is is not standard on Debian .
>>>
>>> I managed to install but just to point out that 2.10 is not enough
>>> anymore as stated in the installation instruction.
>>>
>>>
>>> --
>>> 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/a3ae634b-afc1-4657-913a-510f762a7f9dn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/a3ae634b-afc1-4657-913a-510f762a7f9dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/2da07639-652f-4deb-95fb-5d88222ecbbdn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/2da07639-652f-4deb-95fb-5d88222ecbbdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JdrxVVazi23bVpVj4JBzconGy_Kj1P8DhMH-HG8%2B-ZJw%40mail.gmail.com.


Re: [openwisp] Installation bug to be fixed

2024-02-26 Thread Federico Capoano
Welcome back Radu,

Can you share the error you were getting please?

Federico

On Mon, 26 Feb 2024 at 10:29, Radu Rambet  wrote:

> Hi all after so many years I turned back to OpenWisp only to find much has
> been improved .
>
> There is a small bug in the installation instruction as is it states that
> requires Ansible 2.10 but the script throws an error on 2.10.
>
> It works perfectly in 2.12 but that is is not standard on Debian .
>
> I managed to install but just to point out that 2.10 is not enough anymore
> as stated in the installation instruction.
>
>
> --
> 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/a3ae634b-afc1-4657-913a-510f762a7f9dn%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/CAAGgX6Ly2fw1xaKYjtWv-X1RbHNrDqgL0yiEUOpSSvwyupHn%3Dg%40mail.gmail.com.


Re: [openwisp] Firmware upgrade or Templates conf applying issue through SSH: reg

2024-02-26 Thread Federico Capoano
Templates will be applied anyway by the agent.
For firmware upgrades there's no other way than enabling SSH.

Federico

On Thu, 22 Feb 2024 at 13:18, Manukumar NM  wrote:

> Greetings...
> Dear team,
>   What If the *devices SSH is not
> enabled*, am not able to apply *template configurations *and *firmware
> upgrade*. But I want to apply configurations for multiple devices. Should
> I enable all the devices ssh then I have to apply configuration ?? It's a
> long process right can we solve this problem? by any other way.
>
> Thanks in advance
>
> --
> 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/CAG6AGHc2WY%2BUw7r2bj%2Bf%2BjRgZm8OZxAiCQMJHU-XdARxbvAJnQ%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/CAAGgX6KtVFpwwKJNXqWY8P4dKARX%3DE350XP6EBT6Txc%3D-Hcm8A%40mail.gmail.com.


[openwisp] GSoC 24, Improve OpenWISP General Map: Indoor, Mobile, Linkable URLs

2024-02-12 Thread Federico Capoano
Something that has been requested for a while by the OpenWISP community and
I've wanted to tackle for a while is the following project idea:

Improve OpenWISP General Map: Indoor, Mobile, Linkable URLs
https://openwisp.io/docs/developer/gsoc-ideas-2024.html#improve-openwisp-general-map-indoor-mobile-linkable-urls

I think those tasks are doable within the scope of the Google Summer of
Code.

I also have in mind more improvements to the mapping library:

https://github.com/openwisp/netjsongraph.js/issues?q=is%3Aopen+is%3Aissue+label%3Agsoc-idea
The draft for this idea is here:
https://github.com/openwisp/openwisp2-docs/pull/186

Feedback and mentors are welcome!

Best regards
Federico Capoano

-- 
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/CAAGgX6LVRKtRnDcOVFSY%3DQVY5CaWHC7Gxjbhog29x73iS_ac_Q%40mail.gmail.com.


Re: [openwisp] Re: Data location for mobile devices

2024-02-10 Thread Federico Capoano (nemesisdesign)
Me and Gagan are working on a Google Summer of Code idea to improve the 
mapping features in the UI:
https://github.com/openwisp/openwisp2-docs/pull/183
Feedback and help is welcome!
On Friday, February 9, 2024 at 12:00:48 PM UTC d.cer...@gematica.com wrote:

> Thank you for the support!
>
> Il giorno ven 9 feb 2024 alle ore 12:32 Federico Capoano <
> f.ca...@openwisp.io> ha scritto:
>
>> We have issues with the generation of the README documentation of some 
>> modules on github, so I'll point out to the README text which explains how 
>> to update coordinates via API:
>>
>> https://github.com/openwisp/openwisp-controller/blob/226442c47be5031e64033ae44c8b00aaf2623c68/README.rst#L2129-L2163
>> The UUID and Key are available in /etc/config/openwisp.
>>
>> The general map doesn't update the coordinates in real time yet, but the 
>> map in the device page does.
>>
>> Best regards
>> *Federico Capoano*
>> OpenWISP OÜ
>> Harjumaa, Tallinn, Sepapaja tn 6, 15551
>> VAT: EE101989729
>> *openwisp.io* <http://openwisp.io>
>>
>>
>> On Thu, 8 Feb 2024 at 11:32, Andrei Vaganov  wrote:
>>
>>> Hi Guys,
>>> Excellent question! 
>>> Just wanted to ask the same,  I'll stick to this thread too
>>>
>>>
>>> On Thursday, February 8, 2024 at 1:25:46 PM UTC+2 d.cer...@gematica.com 
>>> wrote:
>>>
>>>> hello everyone, 
>>>> in the 'Map' tab of the device there is a flag for 'mobile device', is 
>>>> it possible to send information (maybe gps coordinates) about the location 
>>>> in real time? if not, what kind of information can be configured for 
>>>> mobile 
>>>> devices and how is it done?
>>>>
>>> -- 
>>> 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/6d2cc650-7acb-452f-852c-d3e34fe194bcn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/openwisp/6d2cc650-7acb-452f-852c-d3e34fe194bcn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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/CAAGgX6LPej_AM-SJBEYYD8GUAJZSWaMk%2BeZ1a1zHb3mwetxMUA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6LPej_AM-SJBEYYD8GUAJZSWaMk%2BeZ1a1zHb3mwetxMUA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
> *Daniele Cerasuolo*
>
> Via Diocleziano, 107 
>
> 80125 – Napoli (NA) , Italy 
>
> Mail: d.cer...@gematica.com 
>
> Website: www.gematica.com 
>
> INFO PRIVACY 
>
> = = = = = = = = = = = = = = = = = = = = 
>
> The content of this e-mail and its attachments are exclusively directed to 
> the receiver and must be considered  confidential under embargo or use 
> for any purpose for which this e-mail was sent. Therefore, it is prohibited 
>  the dissemination and communication by persons other than the receiver, 
> under Italian Law, ( Artt. 616 e ss.  c.p. e D.lgs n. 196/03 Codice 
> Privacy). If this e-mail and its attachments have been received in error, 
> please destroy what has been received and  notify the sender at the 
> following address:in...@gematica.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/17dcfdee-9659-444f-9c7a-eeefa0af6f96n%40googlegroups.com.


Re: [openwisp] Re: Data location for mobile devices

2024-02-09 Thread Federico Capoano
We have issues with the generation of the README documentation of some
modules on github, so I'll point out to the README text which explains how
to update coordinates via API:
https://github.com/openwisp/openwisp-controller/blob/226442c47be5031e64033ae44c8b00aaf2623c68/README.rst#L2129-L2163
The UUID and Key are available in /etc/config/openwisp.

The general map doesn't update the coordinates in real time yet, but the
map in the device page does.

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Thu, 8 Feb 2024 at 11:32, Andrei Vaganov  wrote:

> Hi Guys,
> Excellent question!
> Just wanted to ask the same,  I'll stick to this thread too
>
>
> On Thursday, February 8, 2024 at 1:25:46 PM UTC+2 d.cer...@gematica.com
> wrote:
>
>> hello everyone,
>> in the 'Map' tab of the device there is a flag for 'mobile device', is it
>> possible to send information (maybe gps coordinates) about the location in
>> real time? if not, what kind of information can be configured for mobile
>> devices and how is it done?
>>
> --
> 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/6d2cc650-7acb-452f-852c-d3e34fe194bcn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/6d2cc650-7acb-452f-852c-d3e34fe194bcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LPej_AM-SJBEYYD8GUAJZSWaMk%2BeZ1a1zHb3mwetxMUA%40mail.gmail.com.


Re: [openwisp] Getting error while installin SSL certificate: pyOpenSSL: "unable to get local issuer certificate"

2024-02-07 Thread Federico Capoano
I am not sure why you're getting this error.

I am also not sure of what you're trying to do: this tool is meant for
generating certificates automatically, so if you don't have the private key
of the CA (in this case the Comodo CA), you cannot generate certificates
with it, so I don't see the point in adding it these to the x509 system of
OpenWISP, nor in investigating further. But maybe I am missing an important
piece of the puzzle.

Could you explain what you're trying to do so that we can try to give
useful suggestions?
Are you using OpenWISP or the django-x509 module on its own?
What is your goal in adding these CA and certs in this system?

Best regards
Federico Capoano

On Wed, 7 Feb 2024 at 10:19, Andrei Vaganov  wrote:

> Hi Guys,
>
> I'm truing to apply SSL from ssls.com or Comodo.
> While appling CA certificate or bundle all is fine, it is accepted.
> However when I'm trying to add certificate itself pointin to the installed
> CA , I'm getting this error:
>
> CA doesn't match, got the following error from pyOpenSSL: "unable to get
> local issuer certificate"
>
> Any idea?
> Looking forward for some help.
>
> --
> 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/f0e34572-d3df-4b4a-9507-8cdd93d2cb3fn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/f0e34572-d3df-4b4a-9507-8cdd93d2cb3fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JJ6icvvMs_%2BNDLWfmXqQ_3E_HMTCH-GZD9P5ovQycsVw%40mail.gmail.com.


Re: [openwisp] Re: python setup.py error development did not run successfully

2024-02-06 Thread Federico Capoano
Try:

pip install -e .

>From the directory where you're running "python setup.py install".

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Tue, 6 Feb 2024 at 12:57, 'okr...@arcor.de' via OpenWISP <
openwisp@googlegroups.com> wrote:

> Hello Julio,
>
> I recommend to use a real linux system. I don't know of any contributors
> who develop on Windows so there will be hardly anyone to help.
>
> Greetings,
> Oliver
>
> julio@gmail.com schrieb am Dienstag, 6. Februar 2024 um 15:42:06
> UTC+1:
>
>> Hello, I'm a beginner, I wanted to carry out some tests on Linux by
>> installing via WSL on my Windows. However, I am unable to create the
>> database, so I did Trobleshooting, which returned the following errors:
>>
>> [image: erro 1.png]
>>
>> [image: erro 2.png]
>>
>> Since I am a beginner, I would like some possible help, to solve the
>> problem, I searched but I have not been successful so far.
>>
> --
> 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/a3f533c6-4d56-4ce5-97ac-72a0337b7aean%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/a3f533c6-4d56-4ce5-97ac-72a0337b7aean%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6LoRZjThrN_DsMEQG%2B8-r-yx4q7hG7Sj_Mdmf-01-LJeA%40mail.gmail.com.


Re: [openwisp] info for ZeroTier IPv4 and IPv6

2024-01-29 Thread Federico Capoano
Hi Michele,

We focused our testing mostly on IPv4.
I would try to create an IPv6 subnet and see what happens.

Federico

On Sun, 28 Jan 2024 at 19:49, Michele Salerno  wrote:

> Hi,
>
> Is it possible from OpenWisp to assign both IPv4 and IPv6 on ZeroTier?
>
> Best regards,
>
> Michele
>
>
> --
> 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/ed264024-af2b-403b-9a4e-5dedcd8cb103%40gmail.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/CAAGgX6%2BQU7uTS7Cm%2BU4PCAsKJTBK6XadZzXC8f8rDKq4-%3DVtZQ%40mail.gmail.com.


Re: [openwisp] PING check: reg

2024-01-20 Thread Federico Capoano
Certainly setting a higher interval will result in the system being slower
to show a device as online, but the device recovery detection mechanism
should help here.
This mechanism sends a ping if the system notices activity from a device
which it thinks as unreachable.

Federico

On Fri, 19 Jan 2024 at 02:47, Manu Kumar  wrote:

> Hii Federico,
> As I discussed this long back...I have observed, If I
> increase the *PING check default* value from *5 mins* to 15 or 30 mins.
> The *device health status* also will take that much time to display this
> status in the dashboard is it ? correct me, If I my understanding or
> observation is wrong.
>
>
> Thanks in advance.
>
> --
> 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/6316bc4e-8e04-415b-9a31-a601032c21aan%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/CAAGgX6KfDOVGe%3DMu%2BHUk%3D%3D1Y-jB7wTggg%2BQJbPQxU7t-LCo8wg%40mail.gmail.com.


Re: [openwisp] Re: Reboot command timeout: reg

2024-01-18 Thread Federico Capoano
Quoting from the current docs:

``OPENWISP_SSH_COMMAND_TIMEOUT``


+--+-+
| **type**:|   ``int``   |
+--+-+
| **default**: |``30``   |
+--+-+
| **unit**:| ``seconds`` |
+--+-+

Configure timeout on blocking read/write operations when executing a
command in a SSH connection.

Once changing this value you need to restart all the openwisp processes,
(if you deploy with ansible-openwisp2, with: supervisorctl restart all).

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Thu, 18 Jan 2024 at 07:57, Manukumar NM  wrote:

> If I increase this time out, will it work properly and it is in
> millisecond ??
> SSH_COMMAND_TIMEOUT = getattr(settings, 'OPENWISP_SSH_COMMAND_TIMEOUT', 30
> )
>
> @shared_task(soft_time_limit=app_settings.SSH_COMMAND_TIMEOUT * 1.2)
>
> On Thu, Jan 18, 2024 at 3:16 PM Manukumar NM 
> wrote:
>
>> Hii team...
>>  whenever I execute the REBOOT
>> command form the openwisp2, I will get the message like* "timeout" *but
>> in the background it's executed with soft reboot. Still why am I getting
>> Task time limit exceeded, is there any setting can we increase the
>> background duration/time to execute this command?
>>
>> [image: image.png]
>> Thanks in advance.
>>
>> --
> 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/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6L6goZDKi_ApKbSkAp2fD%2BvtcvQ8%2BZ%3DzTW3y%2B-dxeJY5A%40mail.gmail.com.


Re: [openwisp] Arabic support

2024-01-16 Thread Federico Capoano
Sounds like a bug.
I'd try to replicate this issue in the netjsonconfig library:
https://github.com/openwisp/netjsonconfig
If it can be replicated we can open an issue.

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Sun, 14 Jan 2024 at 10:28, Mohammed Ismail  wrote:

> Hi Federico,
> I mean being able to write Arabic SSIDs only. I know the translation is
> massive.
> I think it is an encoding issue.
>
> see if i configure an Arabic SSID in openwrt device.
> this would be in the /etc/config/wireless
> `option ssid 'مقهى الأصدقاء'`
> Arabic letters could be read if you download the file to your computer and
> open it with notepad++ for instance.
> or if you `cat /etc/config/wireless' from an openwrt device.
>
> but if you try to open the file from a program like WinSCP
> you will see the line like this >
> option ssid 'مقهى الأصدقاء'
>
> Now we get back to openwisp. If I enter arabic ssid  in a configuration
> file or configuration template variable
> it tries to update the device but the device refuses and gives a
> configuration error.
>
> i think it is trying to config SSID as 'مقهى الأصدقاء'
>
>
> On Sat, Jan 13, 2024 at 8:48 PM Federico Capoano 
> wrote:
>
>> Hi Muhammed,
>>
>> If you mean translations, at the moment we don't have the bandwidth nor
>> the necessary funding or structure to maintain translations of the openwisp
>> admin.
>> If you mean being able to write Arabic SSIDs only, that's a technical
>> matter I am not familiar with, if it's not possible we should see what is
>> causing the problem and look whether a solution is possible, in that case
>> we need more details, eg: what steps can reproduce the problem?
>>
>> --
>> 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/CAAGgX6L7phW5KOeTPS5Wr3wLit5R316fNKTuQEHi_as7uMtHoA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6L7phW5KOeTPS5Wr3wLit5R316fNKTuQEHi_as7uMtHoA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAKOr0YQB83Os67f9pPbRjH4EXoG2h6H9%3DyuX6DW8SA6PUOirTA%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAKOr0YQB83Os67f9pPbRjH4EXoG2h6H9%3DyuX6DW8SA6PUOirTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BE-TDN7QJ6pLf%2BTp%2B9tiPDbJTA0x%3DENTBRKgKFrvzb2Q%40mail.gmail.com.


Re: [openwisp] OpenWisp Device limit? NginX throwing errors with 700 devices.

2024-01-16 Thread Federico Capoano
If you want you can, you can even reduce the ping size or count if you
want, it depends on the actual needs of your use case and available budget.

The upcoming version should bring some improvements to efficiency once
released (or you can use the development version).

Best regards
Federico Capoano


On Tue, 16 Jan 2024 at 09:43, Manukumar NM  wrote:

> Hii @Federico Capoano 
> As you communicated earlier, If I increase the intervals in
> the openwisp-config and openwisp-monitoring configuration files, Do we need
> to urgest the PING check intervals on server side to reduce the load.
>
> Thanks & Regards,
> Manukumar N M
>
> On Sat, Jan 13, 2024 at 2:20 AM Federico Capoano 
> wrote:
>
>> You can increase the intervals in the openwisp-config and
>> openwisp-monitoring configuration files, eg:
>>
>> /etc/config/openwisp (for openwisp-config)
>> /etc/config/openwisp-monitoring (for openwisp-monitoring)
>>
>> See config options:
>>
>> https://github.com/openwisp/openwisp-config?tab=readme-ov-file#configuration-options
>>
>> https://github.com/openwisp/openwrt-openwisp-monitoring?tab=readme-ov-file#configuration-options
>>
>> This will reduce the load on the system.
>> In order to increase capacity, there's also other server side tuning you
>> can do on the linux system or distribute the load on multiple servers, but
>> these steps are complex and the exact way to implement them depends on your
>> infrastructure and deployment specific so I cannot explain it here in
>> detail.
>>
>> Best regards
>> Federico Capoano
>>
>>
>> On Thu, 11 Jan 2024 at 14:56, Dieter Lubbe  wrote:
>>
>>> I've installed Openwisp as a POC to monitor our OpenWRT devices on our
>>> network.
>>> When the device count was less than 100 it ran flawlessly, but ever
>>> since more devices started auto registering, Redis and UWSGI has started to
>>> consume all available CPU resources.
>>>
>>> Currently I have 708 devices with more being added daily. These devices
>>> are all on the same L2 network.
>>>
>>> Nginx will generate "502 Bad Gateway" errors unless I clear the Redis DB
>>> and restart the services.
>>>
>>> Where can I change the interval that OpenWisp checks in with devices? I
>>> think this might be the cause of the issue.
>>>
>>> Thanks
>>> Dieter
>>>
>>> --
>>> 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/d2ffb115-052b-4307-af2e-340a6afd37fdn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/d2ffb115-052b-4307-af2e-340a6afd37fdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CAAGgX6%2BxWvZ9FooKHcQ%3DAWJ4oPyT6ZFmbzqUN%2BSMmP%3DZhbJJBg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6%2BxWvZ9FooKHcQ%3DAWJ4oPyT6ZFmbzqUN%2BSMmP%3DZhbJJBg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAAGgX6JV165%3D2Q3f6a92yfwX3QcKa%3Df_6RSigYuO2n6UE7ryVQ%40mail.gmail.com.


Re: [openwisp] Arabic support

2024-01-13 Thread Federico Capoano
Hi Muhammed,

If you mean translations, at the moment we don't have the bandwidth nor the
necessary funding or structure to maintain translations of the openwisp
admin.
If you mean being able to write Arabic SSIDs only, that's a technical
matter I am not familiar with, if it's not possible we should see what is
causing the problem and look whether a solution is possible, in that case
we need more details, eg: what steps can reproduce the problem?

-- 
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/CAAGgX6L7phW5KOeTPS5Wr3wLit5R316fNKTuQEHi_as7uMtHoA%40mail.gmail.com.


Re: [openwisp] OpenWisp Device limit? NginX throwing errors with 700 devices.

2024-01-12 Thread Federico Capoano
You can increase the intervals in the openwisp-config and
openwisp-monitoring configuration files, eg:

/etc/config/openwisp (for openwisp-config)
/etc/config/openwisp-monitoring (for openwisp-monitoring)

See config options:
https://github.com/openwisp/openwisp-config?tab=readme-ov-file#configuration-options
https://github.com/openwisp/openwrt-openwisp-monitoring?tab=readme-ov-file#configuration-options

This will reduce the load on the system.
In order to increase capacity, there's also other server side tuning you
can do on the linux system or distribute the load on multiple servers, but
these steps are complex and the exact way to implement them depends on your
infrastructure and deployment specific so I cannot explain it here in
detail.

Best regards
Federico Capoano


On Thu, 11 Jan 2024 at 14:56, Dieter Lubbe  wrote:

> I've installed Openwisp as a POC to monitor our OpenWRT devices on our
> network.
> When the device count was less than 100 it ran flawlessly, but ever since
> more devices started auto registering, Redis and UWSGI has started to
> consume all available CPU resources.
>
> Currently I have 708 devices with more being added daily. These devices
> are all on the same L2 network.
>
> Nginx will generate "502 Bad Gateway" errors unless I clear the Redis DB
> and restart the services.
>
> Where can I change the interval that OpenWisp checks in with devices? I
> think this might be the cause of the issue.
>
> Thanks
> Dieter
>
> --
> 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/d2ffb115-052b-4307-af2e-340a6afd37fdn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/d2ffb115-052b-4307-af2e-340a6afd37fdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BxWvZ9FooKHcQ%3DAWJ4oPyT6ZFmbzqUN%2BSMmP%3DZhbJJBg%40mail.gmail.com.


[openwisp] Re: How to work with OpenWISP RADIUS for WPA Enterprise EAP-TTLS-CHAP authentication

2023-12-11 Thread Federico Capoano (nemesisdesign)
Hi,

if you look CHAP in the search tool of this group, you'll find previous 
threads about this subject.

Best regards
Federico Capoano

On Friday, December 8, 2023 at 11:50:39 AM UTC-3 justin...@gmail.com wrote:

> This question may not be about WISP, but about freeradius.
> I followed 
> https://openwisp-radius.readthedocs.io/en/latest/developer/freeradius_wpa_enterprise.html
>  
> ,installed freeradius and openwisp-radius.
> the authorization only works if I use PAP. If I try to use chap or mschap 
> , rest (using the freeradius -X command) reports that the password is 
> empty. 
> Can OpenWisp radius use CHAP?
> [image: 4539f3c6d4119073eaf533827883e44.png][image: 
> f5328eb75ebc5c0f1979e88604e00a6.png]
>
>
>

-- 
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/3b0dc194-b0e1-4186-b0af-a68c935691b0n%40googlegroups.com.


Re: [openwisp] Database measurements {device_data and config_applied}: reg

2023-12-06 Thread Federico Capoano
The data saved in the device_data measurement uses the short retention
policy:

select * from short.device_data;

Not sure about config_applied, maybe that too, double checking the code may
be needed.

I hope this helps.
Federico

On Mon, 4 Dec 2023 at 02:06, Manukumar NM  wrote:

> Hiii team,
> I have a device which is running on openwisp2 server, all
> the data is able to be seen in the dashboard. But when I open the time
> series database terminal , it will show these many measurements:> show
> measurements
> name: measurements
> name
> 
> *config_applied*
>
>
>
>
>
> *cpudevice_datadisk_memorypingtrafficusb0*
>
>
>
>
> *> select * from device_data> select * from config_data> select * from
> ping limit 3name: pingtimecontent_type  loss object_id
>reachable rtt_avg rtt_max rtt_min*
>    -
>  - --- --- ---
> 1701475411075778000 config.device 100
>  2b755da0-b183-4fcf-97b9-f130f49dbbfe 0
> 1701475711170015000 config.device 100
>  2b755da0-b183-4fcf-97b9-f130f49dbbfe 0
> 1701476011172928000 config.device 100
>  2b755da0-b183-4fcf-97b9-f130f49dbbfe 0   but when i tried open the data
> present in the *device_data and config_applied* measurements it is empty
> always. But the rest of the measurements have all the data. Why is the data
> not stored in those two measurements?
>
> Thanks in advance
> [image: image.png]
>
> --
> 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/CAG6AGHch%2B384K%2Byi_V8sbnKGeJiWAeXwJR-od_rdo9qt5GfpZg%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/CAAGgX6Lpfxh8GdXTFgta9X6cqaykjFLuc8FqU2o794vzZ%2BNp7A%40mail.gmail.com.


[openwisp] Re: [Community Networks] [Tech Talks] OpenWISP CoP Session

2023-11-30 Thread Federico Capoano (nemesisdesign)
The recording is available here:
https://videos.apc.org/u/apc/m/openwisp-communities-of-practice-session-fe0b/

On Thursday, November 23, 2023 at 7:37:18 PM UTC-3 Federico Capoano wrote:

> [image: Screenshot from 2023-11-23 19-18-00.png]
>
> The session will be on November 29th, at 14UTC for 90 minutes.
> Where: OpenWISP Webinar <https://connect.apc.org/b/nic-p4d-h7l-mqp>
>
> Greetings dear community,
>
> We are happy to announce the topic of our next meetup - A presentation and 
> discussion on OpenWISP, facilitated by its core contributor and founder, 
> Federico Capoano. One of the leading open source network management tools 
> for ISPs, OpenWISP is a programmable system which allows a small group of 
> users to provision, maintain and monitor large networks of OpenWrt based 
> devices. It can be, and is used in many public WiFi networks, Universities, 
> Community ISPs / Mesh networks and IoT scenarios.
>
> @nemesis <https://communitynetworks.group/u/nemesis> will walk us through 
> the tool and how it can be used by Community Networks to manage their 
> infrastructure for their needs. OpenWISP is in active development, and 
> Federico is also looking for funding and feedback to improve its 
> functionality, so LocNet is pleased to host this session and to encourage 
> as many of you to attend the webinar to see if you can benefit from this 
> tool if you are not using it already, and to brainstorm about possible 
> courses of action and share knowledge on network management system needs.
>
> Looking forward to seeing you there!
>
> 
>

-- 
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/58de2f1a-05a7-4cf1-a525-38d947b39c17n%40googlegroups.com.


[openwisp] Re: Doubt on disaster recovery: reg

2023-11-28 Thread Federico Capoano (nemesisdesign)
See also:
*Documentation: Disaster Recovery*
https://github.com/openwisp/ansible-openwisp2/issues/427

On Tuesday, November 28, 2023 at 6:49:12 AM UTC-3 okr...@arcor.de wrote:

> If you want to use a different DBMS than SQlite, you have to configure it 
> through role variables: 
> https://github.com/openwisp/ansible-openwisp2#role-variables
>
> I would recommend PostgreSQL instead of MySQL. I don't think that OpenWISP 
> takes care of backups or disaster recovery. You have to do that yourself.
>
> Greetings,
> Oliver
>
> manu...@relysys.co.in schrieb am Dienstag, 28. November 2023 um 05:23:28 
> UTC+1:
>
>> Greetings...
>>Hii team,
>>  Does openwisp2 supports DR (disaster 
>> recovery system) using MySQL database/SqLite db? and If I want to install 
>> MySQL db for Openwisp2 means do we have to set up in playbook.yml? or else 
>> after installation of openwisp2 server also can we change it to MySQL. 
>>
>> Thanks in advance.
>>
>

-- 
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/5dba630d-36a0-45ef-b24b-f10c6755130fn%40googlegroups.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* <http://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] UCI Configuration values - netjson

2023-11-27 Thread Federico Capoano
Yes, please read here:
http://netjsonconfig.openwisp.org/en/latest/backends/openwrt.html#all-the-other-settings

Best regards
Federico Capoano

On Sun, 26 Nov 2023 at 12:16, Wit  wrote:

> Hi
> Can Openwisp templates control over UCI configuration values for Chilli ?
> or the only supported are what is in the netjson dictionary
> <https://netjson.org/rfc.html#rfc.section.5>?
>
> regards.
> Muhammed.
>
> --
> 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/733a19d5-fa3b-4f65-af92-34748b4c3cffn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/733a19d5-fa3b-4f65-af92-34748b4c3cffn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BhXJY_cAeKoG97m62BzfBeRHXu4U%3D66uVyhH35wjfnYQ%40mail.gmail.com.


[openwisp] Fwd: [Community Networks] [Tech Talks] OpenWISP CoP Session

2023-11-23 Thread Federico Capoano
[image: Screenshot from 2023-11-23 19-18-00.png]

The session will be on November 29th, at 14UTC for 90 minutes.
Where: OpenWISP Webinar <https://connect.apc.org/b/nic-p4d-h7l-mqp>

Greetings dear community,

We are happy to announce the topic of our next meetup - A presentation and
discussion on OpenWISP, facilitated by its core contributor and founder,
Federico Capoano. One of the leading open source network management tools
for ISPs, OpenWISP is a programmable system which allows a small group of
users to provision, maintain and monitor large networks of OpenWrt based
devices. It can be, and is used in many public WiFi networks, Universities,
Community ISPs / Mesh networks and IoT scenarios.

@nemesis <https://communitynetworks.group/u/nemesis> will walk us through
the tool and how it can be used by Community Networks to manage their
infrastructure for their needs. OpenWISP is in active development, and
Federico is also looking for funding and feedback to improve its
functionality, so LocNet is pleased to host this session and to encourage
as many of you to attend the webinar to see if you can benefit from this
tool if you are not using it already, and to brainstorm about possible
courses of action and share knowledge on network management system needs.

Looking forward to seeing you there!

-- 
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/CAERYH6XjHpoONQHEeWULcJfOaUARs4s9O9j_90s-9MCSJhTsVg%40mail.gmail.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
>>> <https://groups.google.com/d/msgid/openwisp/410efead-16a0-4adb-9e00-6539ea3b746bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6LgbSZ%2BuQoT6i-f3vRSLfQ38fR5xx%3Dx9mXrMj58st%2BDcg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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
> <https://groups.google.com/d/msgid/openwisp/CAJ3z%3DhvOBzahZN_2TYa3%3Dy17Bd%3DMCk9vxYmvpGGisCX%2BBMd05w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 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.


Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-17 Thread Federico Capoano
Try downgrading netaddr to 0.8.0, I do not know where netaddr 0.9.0 is
coming from.

On Fri, 17 Nov 2023 at 14:40, Michele Salerno  wrote:

> Hi,
>
> i force update and i have this:
>
> ERROR: pip's dependency resolver does not currently take into account all the 
> packages that are installed. This behaviour is the source of the following 
> dependency conflicts.
> openwisp-controller 1.1a0 requires netaddr~=0.8.0, but you have netaddr 0.9.0 
> which is incompatible.
> openwisp-monitoring 1.1a0 requires netaddr~=0.8.0, but you have netaddr 0.9.0 
> which is incompatible.
> openwisp-monitoring 1.1a0 requires urllib3~=2.0.3, but you have urllib3 2.1.0 
> which is incompatible.
>
> Il 17/11/23 14:16, Federico Capoano ha scritto:
>
> Verify that in the python virtualenv, the netdiff module has this file:
> https://github.com/openwisp/netdiff/blob/master/netdiff/parsers/zerotier.py
>
> with --force-reinstall --no-cache
>
> cd /opt/openwisp2
> source bin/env/activate
> pip install --force-reinstall --no-cache
> https://github.com/openwisp/openwisp-network-topology/tarball/master
> https://github.com/openwisp/netdiff/tarball/master
>
> Best regards
> *Federico Capoano*
> OpenWISP OÜ
> Harjumaa, Tallinn, Sepapaja tn 6, 15551
> VAT: EE101989729
> *openwisp.io* <http://openwisp.io>
>
>
> On Thu, 16 Nov 2023 at 17:47, Michele Salerno  wrote:
>
>> I have rebooted the server but the error is still the same.
>>
>> root@controller:opt # tail /opt/openwisp2/log/openwisp2.log
>>
>> diff = self.diff(data)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>  line 140, in diff
>>
>> if isinstance(data, self.parser_class):
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py", 
>> line 57, in __get__
>>
>> res = instance.__dict__[self.name] = self.func(instance)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>  line 105, in parser_class
>>
>> return import_string(self.parser)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>>  line 32, in import_string
>>
>> raise ImportError(
>>
>> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
>> attribute/class
>>
>> root@controller:opt #
>>
>>
>>
>> Il 15/11/23 22:17, Federico Capoano ha scritto:
>>
>> Restart the openwisp processes with:
>>
>> supervisorctl restart all
>>
>> F.
>>
>> On Wed, 15 Nov 2023 at 15:57, Michele Salerno 
>> wrote:
>>
>>> I try but source env/bin..
>>> this is the error when run the script
>>>
>>> root@controller:opt # tail /opt/openwisp2/log/openwisp2.log
>>>
>>> diff = self.diff(data)
>>>
>>>   File 
>>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>>  line 140, in diff
>>>
>>> if isinstance(data, self.parser_class):
>>>
>>>   File 
>>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py",
>>>  line 57, in __get__
>>>
>>> res = instance.__dict__[self.name] = self.func(instance)
>>>
>>>   File 
>>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>>  line 105, in parser_class
>>>
>>> return import_string(self.parser)
>>>
>>>   File 
>>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>>>  line 32, in import_string
>>>
>>> raise ImportError(
>>>
>>> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
>>> attribute/class
>>>
>>> root@controller:opt #
>>>
>>>
>>> Il 15/11/23 12:20, Federico Capoano ha scritto:
>>>
>>> Try this:
>>>
>>> cd /opt/openwisp2
>>> source bin/env/activate
>>> pip install
>>> https://github.com/openwisp/openwisp-network-topology/tarball/master
>>> pip install https://github.com/openwisp/netdiff/tarball/master
>>>
>>> Federico
>>>
>>>
>>> On Tue, 14 Nov 2023 at 18:04, Michele Salerno 
>>> wrote:
>>>
>>>> roo

Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-17 Thread Federico Capoano
Verify that in the python virtualenv, the netdiff module has this file:
https://github.com/openwisp/netdiff/blob/master/netdiff/parsers/zerotier.py

with --force-reinstall --no-cache

cd /opt/openwisp2
source bin/env/activate
pip install --force-reinstall --no-cache
https://github.com/openwisp/openwisp-network-topology/tarball/master
https://github.com/openwisp/netdiff/tarball/master

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Thu, 16 Nov 2023 at 17:47, Michele Salerno  wrote:

> I have rebooted the server but the error is still the same.
>
> root@controller:opt # tail /opt/openwisp2/log/openwisp2.log
>
> diff = self.diff(data)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 140, in diff
>
> if isinstance(data, self.parser_class):
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py", 
> line 57, in __get__
>
> res = instance.__dict__[self.name] = self.func(instance)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 105, in parser_class
>
> return import_string(self.parser)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>  line 32, in import_string
>
> raise ImportError(
>
> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
> attribute/class
>
> root@controller:opt #
>
>
>
> Il 15/11/23 22:17, Federico Capoano ha scritto:
>
> Restart the openwisp processes with:
>
> supervisorctl restart all
>
> F.
>
> On Wed, 15 Nov 2023 at 15:57, Michele Salerno  wrote:
>
>> I try but source env/bin..
>> this is the error when run the script
>>
>> root@controller:opt # tail /opt/openwisp2/log/openwisp2.log
>>
>> diff = self.diff(data)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>  line 140, in diff
>>
>> if isinstance(data, self.parser_class):
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py", 
>> line 57, in __get__
>>
>> res = instance.__dict__[self.name] = self.func(instance)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>>  line 105, in parser_class
>>
>> return import_string(self.parser)
>>
>>   File 
>> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>>  line 32, in import_string
>>
>> raise ImportError(
>>
>> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
>> attribute/class
>>
>> root@controller:opt #
>>
>>
>> Il 15/11/23 12:20, Federico Capoano ha scritto:
>>
>> Try this:
>>
>> cd /opt/openwisp2
>> source bin/env/activate
>> pip install
>> https://github.com/openwisp/openwisp-network-topology/tarball/master
>> pip install https://github.com/openwisp/netdiff/tarball/master
>>
>> Federico
>>
>>
>> On Tue, 14 Nov 2023 at 18:04, Michele Salerno 
>> wrote:
>>
>>> root@controller:~ # pip install 
>>> https://github.com/openwisp/netdiff/tarball/master
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "/usr/bin/pip", line 33, in 
>>>
>>> sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip')())
>>>
>>>   File "/usr/bin/pip", line 25, in importlib_load_entry_point
>>>
>>> return next(matches).load()
>>>
>>>   File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
>>>
>>> module = import_module(match.group('module'))
>>>
>>>   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in 
>>> import_module
>>>
>>> return _bootstrap._gcd_import(name[level:], package, level)
>>>
>>>   File "", line 1030, in _gcd_import
>>>
>>>   File "", line 1007, in _find_and_load
>>>
>>>   File "", line 986, in _find_and_load_unlocked
>>>
>>>   File "", line 680, in _load_unlocked
>>>
>>>   File "", line 790, in ex

Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-15 Thread Federico Capoano
Restart the openwisp processes with:

supervisorctl restart all

F.

On Wed, 15 Nov 2023 at 15:57, Michele Salerno  wrote:

> I try but source env/bin..
> this is the error when run the script
>
> root@controller:opt # tail /opt/openwisp2/log/openwisp2.log
>
> diff = self.diff(data)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 140, in diff
>
> if isinstance(data, self.parser_class):
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py", 
> line 57, in __get__
>
> res = instance.__dict__[self.name] = self.func(instance)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 105, in parser_class
>
> return import_string(self.parser)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>  line 32, in import_string
>
> raise ImportError(
>
> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
> attribute/class
>
> root@controller:opt #
>
>
> Il 15/11/23 12:20, Federico Capoano ha scritto:
>
> Try this:
>
> cd /opt/openwisp2
> source bin/env/activate
> pip install
> https://github.com/openwisp/openwisp-network-topology/tarball/master
> pip install https://github.com/openwisp/netdiff/tarball/master
>
> Federico
>
>
> On Tue, 14 Nov 2023 at 18:04, Michele Salerno  wrote:
>
>> root@controller:~ # pip install 
>> https://github.com/openwisp/netdiff/tarball/master
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/bin/pip", line 33, in 
>>
>> sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip')())
>>
>>   File "/usr/bin/pip", line 25, in importlib_load_entry_point
>>
>> return next(matches).load()
>>
>>   File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
>>
>> module = import_module(match.group('module'))
>>
>>   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>>
>> return _bootstrap._gcd_import(name[level:], package, level)
>>
>>   File "", line 1030, in _gcd_import
>>
>>   File "", line 1007, in _find_and_load
>>
>>   File "", line 986, in _find_and_load_unlocked
>>
>>   File "", line 680, in _load_unlocked
>>
>>   File "", line 790, in exec_module
>>
>>   File "", line 228, in 
>> _call_with_frames_removed
>>
>>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/main.py", line 10, 
>> in 
>>
>> from pip._internal.cli.autocompletion import autocomplete
>>
>>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", 
>> line 9, in 
>>
>> from pip._internal.cli.main_parser import create_main_parser
>>
>>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", 
>> line 7, in 
>>
>> from pip._internal.cli import cmdoptions
>>
>>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.py", 
>> line 23, in 
>>
>> from pip._vendor.packaging.utils import canonicalize_name
>>
>>   File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 94, in 
>> 
>>
>> vendored("requests.packages.urllib3.contrib.pyopenssl")
>>
>>   File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 36, in 
>> vendored
>>
>> __import__(modulename, globals(), locals(), level=0)
>>
>>   File "", line 1007, in _find_and_load
>>
>>   File "", line 986, in _find_and_load_unlocked
>>
>>   File "", line 664, in _load_unlocked
>>
>>   File "", line 627, in 
>> _load_backward_compatible
>>
>>   File "", line 259, in load_module
>>
>>   File 
>> "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py",
>>  line 50, in 
>>
>>   File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in 
>> 
>>
>> from OpenSSL import crypto, SSL
>>
>>   File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1556, in 
>> 
>>
>> class X509StoreFlags(object):
>>
>>   Fi

Re: [openwisp] openwisp-radius & freeradius only PAP

2023-11-15 Thread Federico Capoano
The password in the DB is hashed by Django (the framework on which OpenWISP
is based), for more info on this, see
https://docs.djangoproject.com/en/4.2/topics/auth/passwords/.
We have no way to calculate a different hash, that would mean having to
store the password in clear text which we do not do, the other way would be
to change the hashing algorithm to be the same used by chap/mschap but
these algorithms are too weak nowadays.

At least this is the situation if you want to use the users defined in
OpenWISP, if you are storing passwords elsewhere you would need to
configure freeradius to look for passwords differently.

Federico


On Wed, 15 Nov 2023 at 08:35, Tommaso Feola  wrote:

> I'll start by saying that I'm new to openwisp: after reading various
> documentation and some help in chat, I managed to install Openwisp with the
> RADIUS module. I did several tests with radtest: the authorization only
> works if I use PAP. If I try to use chap or mschap , rest (using the
> freeradius -X command) reports that the password is empty. Can anyone give
> me a tip? Thank you
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/03a3fd94-80f8-4f0c-a183-f78d6c1090f4n%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/CAAGgX6LOc5SLio-3PifZS%2BBx%2B4frtvmYMkS%2BRr7Eg%2BF5y9JJ5w%40mail.gmail.com.


Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-15 Thread Federico Capoano
Try this:

cd /opt/openwisp2
source bin/env/activate
pip install
https://github.com/openwisp/openwisp-network-topology/tarball/master
pip install https://github.com/openwisp/netdiff/tarball/master

Federico


On Tue, 14 Nov 2023 at 18:04, Michele Salerno  wrote:

> root@controller:~ # pip install 
> https://github.com/openwisp/netdiff/tarball/master
>
> Traceback (most recent call last):
>
>   File "/usr/bin/pip", line 33, in 
>
> sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip')())
>
>   File "/usr/bin/pip", line 25, in importlib_load_entry_point
>
> return next(matches).load()
>
>   File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
>
> module = import_module(match.group('module'))
>
>   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>
> return _bootstrap._gcd_import(name[level:], package, level)
>
>   File "", line 1030, in _gcd_import
>
>   File "", line 1007, in _find_and_load
>
>   File "", line 986, in _find_and_load_unlocked
>
>   File "", line 680, in _load_unlocked
>
>   File "", line 790, in exec_module
>
>   File "", line 228, in _call_with_frames_removed
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/main.py", line 10, 
> in 
>
> from pip._internal.cli.autocompletion import autocomplete
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", 
> line 9, in 
>
> from pip._internal.cli.main_parser import create_main_parser
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", 
> line 7, in 
>
> from pip._internal.cli import cmdoptions
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.py", line 
> 23, in 
>
> from pip._vendor.packaging.utils import canonicalize_name
>
>   File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 94, in 
> 
>
> vendored("requests.packages.urllib3.contrib.pyopenssl")
>
>   File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 36, in 
> vendored
>
> __import__(modulename, globals(), locals(), level=0)
>
>   File "", line 1007, in _find_and_load
>
>   File "", line 986, in _find_and_load_unlocked
>
>   File "", line 664, in _load_unlocked
>
>   File "", line 627, in _load_backward_compatible
>
>   File "", line 259, in load_module
>
>   File 
> "/usr/share/python-wheels/urllib3-1.26.5-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py",
>  line 50, in 
>
>   File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in 
> 
>
> from OpenSSL import crypto, SSL
>
>   File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1556, in 
> 
>
> class X509StoreFlags(object):
>
>   File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1577, in 
> X509StoreFlags
>
> CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
>
> AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
>
>
> Il 14/11/23 21:23, Federico Capoano ha scritto:
>
> I think you need to upgrade your netdiff and network-topology modules to
> the latest development version.
>
> F.
>
> On Tue, 14 Nov 2023 at 17:22, Michele Salerno  wrote:
>
>> root@controller:openwisp2 # tail -f /opt/openwisp2/log/openwisp2.log
>>
>> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
>> pseudo-class', 'has')
>>
>> [WARNING 2023-11-14 20:20:02,730] module: __init__, process: 228744, thread: 
>> 140337855625024
>>
>> Invalid or unsupported selector 'select:not(:has(option[selected])) 
>> option:first-of-type,
>>
>> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
>> pseudo-class', 'has')
>>
>> [WARNING 2023-11-14 20:20:02,743] module: __init__, process: 228742, thread: 
>> 139758430725952
>>
>> Invalid or unsupported selector 'select:not(:has(option[selected])) 
>> option:first-of-type,
>>
>> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
>> pseudo-class', 'has')
>>
>> [ERROR 2023-11-14 20:21:00,924] module: log, process: 197536, thread: 
>> 140067354400576
>>
>> Internal Server Error: 
>> /api/v1/network-topology/topology/2307fb3c-4035-4ee3

Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-14 Thread Federico Capoano
I think you need to upgrade your netdiff and network-topology modules to
the latest development version.

F.

On Tue, 14 Nov 2023 at 17:22, Michele Salerno  wrote:

> root@controller:openwisp2 # tail -f /opt/openwisp2/log/openwisp2.log
>
> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
> pseudo-class', 'has')
>
> [WARNING 2023-11-14 20:20:02,730] module: __init__, process: 228744, thread: 
> 140337855625024
>
> Invalid or unsupported selector 'select:not(:has(option[selected])) 
> option:first-of-type,
>
> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
> pseudo-class', 'has')
>
> [WARNING 2023-11-14 20:20:02,743] module: __init__, process: 228742, thread: 
> 139758430725952
>
> Invalid or unsupported selector 'select:not(:has(option[selected])) 
> option:first-of-type,
>
> option[selected]:not(option[selected] ~ option[selected]) ', ('Unknown 
> pseudo-class', 'has')
>
> [ERROR 2023-11-14 20:21:00,924] module: log, process: 197536, thread: 
> 140067354400576
>
> Internal Server Error: 
> /api/v1/network-topology/topology/2307fb3c-4035-4ee3-8868-f807339efb78/receive/
>
> Traceback (most recent call last):
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>  line 30, in import_string
>
> return cached_import(module_path, class_name)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>  line 16, in cached_import
>
> return getattr(module, class_name)
>
> AttributeError: module 'netdiff' has no attribute 'ZeroTierParser'
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/core/handlers/exception.py",
>  line 55, in inner
>
> response = get_response(request)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/core/handlers/base.py",
>  line 197, in _get_response
>
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/views/decorators/csrf.py",
>  line 56, in wrapper_view
>
> return view_func(*args, **kwargs)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/views/generic/base.py",
>  line 104, in view
>
> return self.dispatch(request, *args, **kwargs)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/rest_framework/views.py", 
> line 509, in dispatch
>
> response = self.handle_exception(exc)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/rest_framework/views.py", 
> line 469, in handle_exception
>
> self.raise_uncaught_exception(exc)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/rest_framework/views.py", 
> line 480, in raise_uncaught_exception
>
> raise exc
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/rest_framework/views.py", 
> line 506, in dispatch
>
> response = handler(request, *args, **kwargs)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/api/views.py",
>  line 144, in post
>
> topology.receive(request.data)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 371, in receive
>
> self.update(data)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 314, in update
>
> diff = self.diff(data)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 140, in diff
>
> if isinstance(data, self.parser_class):
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/functional.py", 
> line 57, in __get__
>
> res = instance.__dict__[self.name] = self.func(instance)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_network_topology/base/topology.py",
>  line 105, in parser_class
>
> return import_string(self.parser)
>
>   File 
> "/opt/openwisp2/env/lib/python3.9/site-packages/django/utils/module_loading.py",
>  line 32, in import_string
>
> raise ImportError(
>
> ImportError: Module "netdiff" does not define a "ZeroTierParser" 
> attribu

Re: [openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-11-14 Thread Federico Capoano
Please share the log output from /opt/openwisp2/log/openwisp2.log


On Tue, 14 Nov 2023 at 14:45, Michele Salerno  wrote:

> Hi,
>
> I followed the guide and everything works.
> I only have one error in the topology, I created the script as described
> in the guide https://openwisp.io/docs/user/network-topology.html
>
> This is my output:
>
> root@controller:~ # /opt/send-zt-topology.sh
> Server Error 
> (500)Server Error 
> (500)root@controller:~ #
>
> What could be the problem?
>
> Thanks.
>
> Beste regards,
>
> Michele Salerno
>
>
> Il 11/10/23 17:17, Federico Capoano ha scritto:
>
> Hi everyone!
>
> I just wanted to let you know that I just finished merging the work to
> integrate ZeroTier into the development version of OpenWISP, find more
> information on how to set this up here:
> https://openwisp.io/docs/user/zerotier.html
>
> This feature will be shipped in the next release, if you want to try it
> before then you can do so by deploying the development version of OpenWISP,
> to do that you need to use the latest master of the ansible-openwisp2
> <https://github.com/openwisp/ansible-openwisp2> role.
>
> Many thanks to Aryaman for working on this during the last Google Summer
> of Code under the guidance of Gagan Deep, Ajay Tripathi and myself.
>
> I am proud of the result we have achieved, as the first iteration I think
> it's really good.
>
> I am eager to see this work deployed all around the world!
>
> Best regards
> Federico Capoano
> --
> 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/CAAGgX6%2B8%3DHk41uALBvPei6D7EhgjLKPaDzCYZhXz%3DUf0O5AuUA%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAAGgX6%2B8%3DHk41uALBvPei6D7EhgjLKPaDzCYZhXz%3DUf0O5AuUA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si 
> precisa che le informazioni contenute in questo messaggio sono riservate e ad 
> uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse 
> pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non 
> inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.
>
> Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy 
> Code), may contain confidential and/or privileged information. If you are not 
> the addressee or authorized to receive this for the addressee, you must not 
> use, copy, disclose or take any action based on this message or any 
> information herein. If you have received this message in error, please advise 
> the sender immediately by reply e-mail and delete this message. Thank you for 
> your cooperation.
>
> --
> 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/7324e74a-5c81-426a-92d4-476ad5b0215c%40gmail.com
> <https://groups.google.com/d/msgid/openwisp/7324e74a-5c81-426a-92d4-476ad5b0215c%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JENTteFxXzoZswqjPHtbooePxfg1cDn4Xm5S9T5UkAhw%40mail.gmail.com.


Re: [openwisp] openwisp-radius

2023-11-09 Thread Federico Capoano
Hi,

Freeradius talks to OpenWISP mostly via the REST API, the setup process is
explained here:

https://openwisp-radius.readthedocs.io/en/stable/developer/freeradius.html
https://openwisp-radius.readthedocs.io/en/stable/developer/freeradius_wpa_enterprise.html

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Thu, 9 Nov 2023 at 07:29, Tommaso Feola  wrote:

> Let me start by saying that I am new to openwisp. I tried to install it in
> different ways: I normally access the web page with the admin account.
> After I create a new NAS and a new user, doing a debug in freeradius, the
> NAS is unknown and if I add it manually in clients.conf of freeradius, the
> new user added in openwisp is not recognized by freeradius. I have enabled
> freeradius to mysql access to its database - I can't figure out how
> freeradius talks to the openwisp database. Can you help me understand what
> I can do, what checks can I do?
>
> --
> 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/71f655cf-6418-47af-bc87-45a1a651075an%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/71f655cf-6418-47af-bc87-45a1a651075an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2BnUX1ztiyg-R9P_%3DS5V2UGU%2Bq7MW%3DMZT-3tqK%2BNsiVZg%40mail.gmail.com.


Re: [openwisp] Floor plan

2023-10-25 Thread Federico Capoano
There's an issue to track this feature request:
https://github.com/openwisp/openwisp-controller/issues/63

As far as I know nobody is currently working on it.

We did some work in the frontend library to implement the floorplan map:
https://openwisp.github.io/netjsongraph.js/examples/netjsonmap-indoormap.html

We need to implement the backend part and integrate.

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Wed, 25 Oct 2023 at 12:52, harish divase  wrote:

> Yes it is possible
>
> On Wed, 25 Oct 2023 at 2:23 PM, J H  wrote:
>
>> Hi
>>
>> Is it possible to see all APs at once in floor plans ?
>>
>> (feature request?)
>>
>> --
>> 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/b5b3c8b3-357c-4349-88f1-c47d720bb036n%40googlegroups.com
>> <https://groups.google.com/d/msgid/openwisp/b5b3c8b3-357c-4349-88f1-c47d720bb036n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CALNHo8a_1-BMocSxV_QiO0t6kUBMh1j587f0mGDJJqyp6i%2B%3D2w%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CALNHo8a_1-BMocSxV_QiO0t6kUBMh1j587f0mGDJJqyp6i%2B%3D2w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6JiONSu-rkkuTmOTJ_RD3oQ5yGB_rLhtC1RQmksm5Omug%40mail.gmail.com.


Re: [openwisp] openwisp l2 Network

2023-10-13 Thread Federico Capoano
Yes, it looks correct.

Federico

On Thu, 12 Oct 2023 at 22:03, 'Xavier Aizaga' via OpenWISP <
openwisp@googlegroups.com> wrote:

> Xavier Aizaga
> 2:50 PM (3 minutes ago)
> to openwisp
> Hi Federico,
>
> Thanks for your help, I used this conf. in the playbook. Is this correct?
>
>
> - hosts: openwisp2
>   become: "{{ become | default('yes') }}"
>   roles:
> - openwisp.openwisp2
>   vars:
> openwisp2_default_from_email: "u...@dominio.com"
> openwisp2_network_topology: true
>
> # in the playbook variables add:
> openwisp2_extra_django_settings_instructions:
> - |
>   OPENWISP_MONITORING_MANAGEMENT_IP_ONLY = False
>
> Regards,
>
>
>
> On Thu, Oct 12, 2023 at 2:58 AM Federico Capoano 
> wrote:
>
>> Hi!
>>
>> It's explained here:
>> https://openwisp.io/docs/user/django-settings.html
>>
>> F.
>>
>> On Wed, 11 Oct 2023 at 22:32, 'Xavier Aizaga' via OpenWISP <
>> openwisp@googlegroups.com> wrote:
>>
>>> Hi Everybody,
>>> im new in openwip so i want to configure this:
>>>
>>>  OpenWISP locally in the same L2 network where devices are located, you
>>> can set:
>>> OPENWISP_MONITORING_MANAGEMENT_IP_ONLY = False
>>> in the django settings.py and restart OpenWISP with "supervisorctl
>>> restart all".
>>>
>>> but  i want to Know the path of django settings.py
>>>
>>> Please your help.
>>>
>>>
>>> --
>>> 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/b87a05e5-2621-4c51-bd2b-9f53e5dc76e0n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/b87a05e5-2621-4c51-bd2b-9f53e5dc76e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CAAGgX6K6MbP_7ZT4SnT_jq2g2P7svL0pnUWHHB7_twUwOUx%2Bog%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6K6MbP_7ZT4SnT_jq2g2P7svL0pnUWHHB7_twUwOUx%2Bog%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAKzg_sGhQD6Ym-h5pGXRfV8eY7x0qQTadyfv6qz%3DuGS-uZiSng%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAKzg_sGhQD6Ym-h5pGXRfV8eY7x0qQTadyfv6qz%3DuGS-uZiSng%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6L49ttSWMEzU%2BHGpeciokde82iDFGCqvQR3F7mMWKw6Bg%40mail.gmail.com.


Re: [openwisp] openwisp l2 Network

2023-10-12 Thread Federico Capoano
Hi!

It's explained here:
https://openwisp.io/docs/user/django-settings.html

F.

On Wed, 11 Oct 2023 at 22:32, 'Xavier Aizaga' via OpenWISP <
openwisp@googlegroups.com> wrote:

> Hi Everybody,
> im new in openwip so i want to configure this:
>
>  OpenWISP locally in the same L2 network where devices are located, you
> can set:
> OPENWISP_MONITORING_MANAGEMENT_IP_ONLY = False
> in the django settings.py and restart OpenWISP with "supervisorctl restart
> all".
>
> but  i want to Know the path of django settings.py
>
> Please your help.
>
>
> --
> 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/b87a05e5-2621-4c51-bd2b-9f53e5dc76e0n%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/CAAGgX6K6MbP_7ZT4SnT_jq2g2P7svL0pnUWHHB7_twUwOUx%2Bog%40mail.gmail.com.


[openwisp] ZeroTier Merged in the Development Version of OpenWISP

2023-10-11 Thread Federico Capoano
Hi everyone!

I just wanted to let you know that I just finished merging the work to
integrate ZeroTier into the development version of OpenWISP, find more
information on how to set this up here:
https://openwisp.io/docs/user/zerotier.html

This feature will be shipped in the next release, if you want to try it
before then you can do so by deploying the development version of OpenWISP,
to do that you need to use the latest master of the ansible-openwisp2
<https://github.com/openwisp/ansible-openwisp2> role.

Many thanks to Aryaman for working on this during the last Google Summer of
Code under the guidance of Gagan Deep, Ajay Tripathi and myself.

I am proud of the result we have achieved, as the first iteration I think
it's really good.

I am eager to see this work deployed all around the world!

Best regards
Federico Capoano

-- 
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/CAAGgX6%2B8%3DHk41uALBvPei6D7EhgjLKPaDzCYZhXz%3DUf0O5AuUA%40mail.gmail.com.


Re: [openwisp] Error on server : reg

2023-10-06 Thread Federico Capoano
in order to investigate a bug we need to have information like version of
the openwisp modules (eg: pip freeze | grep openwisp) and steps to
replicate the issue.
Try upgrading to the latest master of openwisp-controller and monitoring to
see if it goes away.

Federico

-- 
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/CAAGgX6J-_4GaPmEOncJ67_M%3D2pBQW93ACVUBaCNJ8SjraKfw0Q%40mail.gmail.com.


Re: [openwisp] Error on server : reg

2023-10-06 Thread Federico Capoano
What are the steps you are following to replicate this issue?

Federico

On Fri, 6 Oct 2023 at 07:04, Manukumar NM  wrote:

> Greetings...
>  Dear team,
> I am getting error in
> openwisp2.log like I have attached below. Why this error coming and How can
> I solve this?
>
> [ERROR 2023-10-06 04:57:53,702] module: log, process: 28977, thread:
> 139915739678208
> Internal Server Error:
> /controller/checksum/ce9c1f7abadf4841b09461202586a61f/
> Traceback (most recent call last):
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/core/handlers/exception.py",
> line 47, in inner
> response = get_response(request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/core/handlers/base.py",
> line 181, in _get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/views/generic/base.py",
> line 70, in view
> return self.dispatch(request, *args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/views/generic/base.py",
> line 98, in dispatch
> return handler(request, *args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/controller/views.py",
> line 135, in get
> updated = self.update_last_ip(device, request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/controller/views.py",
> line 74, in update_last_ip
> result = update_last_ip(device, request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/utils.py",
> line 79, in update_last_ip
> device.save(update_fields=update_fields)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/base/device.py",
> line 190, in save
> super().save(*args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 754, in save
> force_update=force_update, update_fields=update_fields)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 792, in save_base
> force_update, using, update_fields,
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 877, in _save_table
> raise DatabaseError("Save with update_fields did not affect any rows.")
> django.db.utils.DatabaseError: Save with update_fields did not affect any
> rows.
>
> --
> 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/2ffbd427-a4d1-4539-9afd-57840bff7e2bn%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/CAAGgX6%2Bkb7xnuzj1Qz20sDfN7nQgEXp4%2BDvVEnuhs4f6-JpnDQ%40mail.gmail.com.


Re: [openwisp] Status bar data storage/database: reg

2023-07-24 Thread Federico Capoano
It's stored in influxdb, the measurement is called device_data and by
default the retention policy is 24 hours.

F.

On Sun, 23 Jul 2023 at 12:26, Manu Kumar  wrote:

> Greetings...
>Dear team,
>  May I know where the STATUS menu bar
> data is storing in the database. I have gone through all the tables in the
> db.sqlite3 but status menu data is not strong anywhere in the database. How
> to find it or else where exactly this data is stored.
> Thanks in advance.
> [image: image.png]
>
>
> --
> 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/CAGxhKFSa-%2Bx9Jv5uZhaJ%3D--U91fOMPqa7qbGzG7%3DqRG%3D1JhhyQ%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/CAAGgX6JcAiQNDvyS96DE%3DzuO52zfzP56STw2ZBqE1HNvQYj%3DQg%40mail.gmail.com.


Re: [openwisp] Radius attribute bandwidth

2023-07-21 Thread Federico Capoano
Hi,

Max-All-Session: this should be doable via freeradius or using a custom
counter
<https://openwisp-radius.readthedocs.io/en/stable/user/enforcing_limits.html>
Fall-Through: I have no experience with this-
Simultaneous-Use: if I am not mistaken this is something which can be
configured via freeradius, you could add a reply message in OpenWISP if
needed.
Acct-Interim-Interval: AFAIK this should be a coova-chilli setting but
should be also supported by chilli via RADIUS reply.

Passwords are not stored in clear and hence cannot be exported, however, if
you create users via the batch generation tool, the system keeps a copy of
the passwords
<https://openwisp-radius.readthedocs.io/en/stable/user/generating_users.html>.
This feature is meant to be used when generating users for events.

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Thu, 20 Jul 2023 at 23:31, Abdias Rivera Bautista 
wrote:

> Hi capoano, I need to use openwrt with chillispot
> Excuse me, taking advantage, there is some function to export the user or
> the batch with their passwords, I can't see the user's password either, it
> shows, "Raw passwords are not stored, so there is no way to see this user's
> password, but you can change the password "
>
> El lunes, 17 de julio de 2023 a las 7:27:52 UTC-5, f.capoano escribió:
>
>> Hi,
>>
>> The way each attribute works depends on the NAS (Network Access Server)
>> equipment/software you're using.
>> What kind of NAS are you looking into? Are you using a captive portal, a
>> pppoe server, a wifi authenticator like hostapd (WPA enterprise) or what
>> else?
>> And what's the name of the software?
>>
>> Federico
>>
>> On Sat, 15 Jul 2023 at 21:44, Abdias Rivera Bautista 
>> wrote:
>>
>>> Hi, friends
>>>
>>> i recently was installed Openwisp on my server, i got a question ,
>>>
>>> anyone know if this attributes works on this installation
>>>
>>> Max-All-Session
>>> Fall-Through
>>> Simultaneous-Use
>>> Acct-Interim-Interval
>>>
>>> and i need some attribute to limit the bandwidth up/down of each user,
>>> can you help me ?
>>>
>>> --
>>> 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/2235272d-96a1-4f5e-932e-22c6ad505becn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/openwisp/2235272d-96a1-4f5e-932e-22c6ad505becn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/7e6e9e1b-9de1-43ae-8390-9a105ba40c72n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/7e6e9e1b-9de1-43ae-8390-9a105ba40c72n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6%2B2t5d1kb%3DHhwzRmKYrNBbERLL_AnAKam3xHG5G4EWwzg%40mail.gmail.com.


Re: [openwisp] OpenWisp Radius Enforcing Session Limit

2023-07-20 Thread Federico Capoano
You have to find the attribute used by opnsense and
change OPENWISP_RADIUS_TRAFFIC_COUNTER_REPLY_NAME accordingly.
OpenWISP is clearly returning it in the RADIUS packet which then is shown
in the freeradius debug output, so if the NAS does not respect the
attribute, it's either not an attribute it supports or it expects another
attribute.

Best regards
Federico Capoano

On Thu, 20 Jul 2023 at 08:27, Mindf  wrote:

> Hi Federico,
>
> Thank you for your response.
>
> 1. I am using OPNsense as a captive portal. I tested logged in using a
> test user with 5 MB limit, use all the limit and but it does not
> disconnected for about 30 mins or so.
> I can see the accounting is running but there is no action from radius to
> disconnect the user.
>
>
>
> 11) rest:--> {"username": "testvpn2", "password": "xx"}
> *...omitted...*
> (11) rest: Auth-Type := Accept
> (11) rest: Parsing attribute "Reply-Message"
> (11) rest: EXPAND Hello
> (11) rest:--> Hello
> (11) rest: Reply-Message = "Hello"
> (11) rest: Parsing attribute "ChilliSpot-Max-Total-Octets"
> (11) rest: EXPAND 500
> (11) rest:--> 500
> *(11) rest: ChilliSpot-Max-Total-Octets := 500 <<<<< 5 MB limit, *
>
> *I guess OPNsense does not understand this attribute, *
> *Does captive portal normally understand this response attribute and will
> honor it by disconnecting the user if the value are over?*
>
> *From openwisp doc as reference: *
>
> ChilliSpot-Max-Total-Octets u*sed by DailyTrafficCounter, it indicates
> the reply attribute which is returned to the NAS to indicate how much
> remaining traffic users which users having the default users radius group
> assigned can consume.*
> *It should be changed according to the NAS software in use, for example,
> if using PfSense, this setting should be set to pfSense-Max-Total-Octets.*
>
> ((542)   User-Name = "testvpn2"
> (542)   Acct-Status-Type = Interim-Update
> (542)   Acct-Session-Id = "iKXzJgRnCQ2VAj/cCCGqFA=="
> (542)   Acct-Authentic = Local
> (542)   Acct-Session-Time = 2703
> (542)   Acct-Input-Octets = 271614862
> *(542)   Acct-Output-Octets = 86124311 <<<< counter is over * *500 but
> still connected and able to reach internet.*
> (542)   Framed-IP-Address = 10.1.1.2
>
> 2. Thank you for the links, I will check it out and play around with it.
> If all fails, I will definitely fallback and try to use freeradius without
> openwisp.
>
> Thanks!
>
> On Wednesday, July 19, 2023 at 8:53:33 PM UTC+7 f.capoano wrote:
>
>> Hi,
>>
>> 1. Whether the user is disconnected or not depends on the NAS and what
>> attribute it uses. What NAS are you using? Coova-chilli, Pfsesne, Hostapd
>> (WPA Enterprise) a PPPoE server, or what else?
>> What I have seen with popular open source captive portals is that users
>> are disconnected close to the limit but not at the exact limit.
>> CoA is a different concept, it is needed to propagate changes from the
>> central server to the NAS while the user is authenticated. Eg: the user has
>> upgraded its plan and now has different limits, without CoA the user will
>> need to log out and log in again, with CoA the NAS can update the
>> authorization details of the user while the session is still active. CoA
>> can also be used to de-authenticate the user from a central point, but it's
>> not the mechanism used to log out users who reached their limit.
>>
>> 2. Here's the counters code:
>>
>> https://github.com/openwisp/openwisp-radius/tree/master/openwisp_radius/counters
>> For example, the monthly traffic counter for postgresql:
>>
>> https://github.com/openwisp/openwisp-radius/blob/master/openwisp_radius/counters/postgresql/monthly_traffic_counter.py
>>
>> Now if you don't have any experience with code, this may be tricky. You
>> could also fallback to the sqlcounters module in freeradius and not do this
>> via OpenWISP, the catch is that freeradius has no concept of multi-tenancy,
>> that means you will only be allowed to set the limit once on the entire
>> instance and this will be enforced for all organizations.
>>
>> I hope this helps.
>> Federico
>>
>> On Wed, 19 Jul 2023 at 08:22, Mindf  wrote:
>>
>>> Hello,
>>>
>>> I have configured a captive portal with openwisp-radius (running on
>>> virtualenv locally) with free radius. I am able to use it to authenticate
>>> and accounting + basic function to create user through GUI, etc. also ok.
>>>
>>> I do have some question below about th

Re: [openwisp] OpenWisp Radius Enforcing Session Limit

2023-07-19 Thread Federico Capoano
Hi,

1. Whether the user is disconnected or not depends on the NAS and what
attribute it uses. What NAS are you using? Coova-chilli, Pfsesne, Hostapd
(WPA Enterprise) a PPPoE server, or what else?
What I have seen with popular open source captive portals is that users are
disconnected close to the limit but not at the exact limit.
CoA is a different concept, it is needed to propagate changes from the
central server to the NAS while the user is authenticated. Eg: the user has
upgraded its plan and now has different limits, without CoA the user will
need to log out and log in again, with CoA the NAS can update the
authorization details of the user while the session is still active. CoA
can also be used to de-authenticate the user from a central point, but it's
not the mechanism used to log out users who reached their limit.

2. Here's the counters code:
https://github.com/openwisp/openwisp-radius/tree/master/openwisp_radius/counters
For example, the monthly traffic counter for postgresql:
https://github.com/openwisp/openwisp-radius/blob/master/openwisp_radius/counters/postgresql/monthly_traffic_counter.py

Now if you don't have any experience with code, this may be tricky. You
could also fallback to the sqlcounters module in freeradius and not do this
via OpenWISP, the catch is that freeradius has no concept of multi-tenancy,
that means you will only be allowed to set the limit once on the entire
instance and this will be enforced for all organizations.

I hope this helps.
Federico

On Wed, 19 Jul 2023 at 08:22, Mindf  wrote:

> Hello,
>
> I have configured a captive portal with openwisp-radius (running on
> virtualenv locally) with free radius. I am able to use it to authenticate
> and accounting + basic function to create user through GUI, etc. also ok.
>
> I do have some question below about the 'users' group
>
> The default group 'users' have a limits users sessions to 3 hours and 300
> MB (reset daily)
>
> 1. I noticed that the user will not be disconnected immediately if user
> breach his daily data limit? I understand that radius need to send
> disconnect request (COA) to do this.
>
> Instead of disconnect request,  I have a specific command/script that I
> would like to run to disconnect the user from my NAS if users breach the
> limit. Where can I configure this?
>
> 2. I want to create a new group with a specific bandwidth limit but it
> will not reset.
> I understand from the doc that the reset period 'never' is already
> available but it is suggested to subclass
> openwisp_radius.counters.base.BaseCounter,
> and once the new class is ready, you will need to add it to
> OPENWISP_RADIUS_COUNTERS (
> https://openwisp-radius.readthedocs.io/en/stable/user/enforcing_limits.html
> )
>
> Is there any example that I can follow to do this? as I have limited
> django/python or in scripting background.
>
> Thanks!
>
> --
> 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/e7a1c582-7ed8-4d75-a12a-74cfcd063052n%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/CAAGgX6LuAirCZuqAo5pZ5hFH4yy4x4aDbwxMwct5iE%3DF%3DhUNDQ%40mail.gmail.com.


  1   2   3   4   5   6   7   8   9   10   >