Sorry for my late response.
I am not sure how to help here, the OpenWISP Monitoring package relies on 
the system to get the interface information from OpenWrt, so the key is to 
make sure ubus returns this.

More info:
- https://openwrt.org/docs/techref/ubus
- 
https://github.com/openwisp/openwrt-openwisp-monitoring/blob/dcf0b7d5ada317b7e5abd082f7bc22ce609087ae/openwisp-monitoring/files/lib/openwisp-monitoring/interfaces.lua#L12-L15

I hope this helps.

Federico
 
On Tuesday, March 26, 2024 at 8:12:11 AM UTC-4 d.cer...@gematica.com wrote:

> I tried defining the interface in the /etc/config/network file with both 
> proto to 'none' and 'static' but openwisp still doesn't recognize it. 
> As you can see in the attached screen, the interface is recognized using 
> the 'ifconfig' command.[image: image.png]
>  Is there anything else I can try or should something be changed in the 
> code? If yes, in what way?
>
> Il giorno sab 16 mar 2024 alle ore 12:00 Federico Capoano <
> f.ca...@openwisp.io> ha scritto:
>
>> 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+u...@googlegroups.com.
>>
> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/CAAGgX6%2BH4phXnp3rEH38964yfzKBmzn7NceJY230JSTAQ-HUiA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/CAAGgX6%2BH4phXnp3rEH38964yfzKBmzn7NceJY230JSTAQ-HUiA%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/adaf8ad9-77bd-44f3-9888-b16dccb0d155n%40googlegroups.com.

Reply via email to