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

2024-04-17 Thread f.capoano
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 -

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

2024-03-26 Thread Daniele Cerasuolo
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

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.

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

2024-03-15 Thread Daniele Cerasuolo
We created a bond interface formed by the eth1 and eth2 interfaces, set with an IP. We defined the bond interface (named "*bond0*") as follow: " ip link set eth1 down ip link set eth2 down echo "+bond0" > /sys/class/net/bonding_masters echo active-backup > /sys/class/net/bond0/bonding/mode echo

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: