Conky: bond0 = No Address

Created on 30 Aug 2015  路  5Comments  路  Source: brndnmtthws/conky

On a system with eth0 and wlan0, I create a bond between the two interfaces to create bond0 using mode=active-backup miimon=100 primary=eth0. In conky I have the following bits under TEXT:

${color5}ethernet:${color6}${if_match "${addr bond0}"=="No Address"} ${addr eth0} $else ${addr bond0} (bonded)${endif}
${color5}wi-fi:${color6}${if_match "${addr bond0}"=="No Address"} ${addr wlan0} $else ${addr bond0} (bonded)${endif}

after creating a VPN tunnel to an OpenVPN server, ${addr bond0} always points to "No Address" until I reload conky.

Most helpful comment

Not sure I get the circumstances right. I use addrs in template for interfaces, it always updates correctly, including vpn connections.

All 5 comments

Almost 3 years passed. Can you determine if you're still having this problem today? Thank you.

@su8 I tested this. Everything looks okay on my end. The version, I assume, is v1.10.0 where there could be several initial issues with conky rewritten.

If you can confirm this too on your end, then I assume we should go ahead and close this.

8a4eb265 2015-06-21 17:49:06 -0700  (tag: v1.10.0)
138c8644 2015-05-23 08:12:47 -0700  (tag: v1.10.0-rc1)
ca9acc13 2010-10-14 17:28:57 -0700  (tag: 1.999)
04a0c885 2012-05-03 14:35:33 -0700  (tag: 1.9.0)

Maybe @Vladimir-csp can confirm this too? I tested with eno1 and not virtual bond0, etc.

Not sure I get the circumstances right. I use addrs in template for interfaces, it always updates correctly, including vpn connections.

Perfect. That is probably more than enough reassurance to close this issue. Thank you. :+1:

Was this page helpful?
0 / 5 - 0 ratings