Jump to content

Skibbi

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Skibbi got a reaction from lanefu in Small glitch in motd script   
    Hello,
    Recently I installed docker on my armbian and motd got broken. Previously it was printing correctly information about traffic:
    RX today: 20,72 GiB But after installing docker and playing with some images motd is displaying following error:
    RX today: Error: Not all requested interfaces found in database or given interfaces aren't unique. The problem is that docker adds new network interfaces that are not initialized in vnstat. I've solved my issue by adding the new docker interfaces in vnstat:
    vnstat --add -i docker0 vnstat --add -i veth160e0f9 Perhaps /etc/update-motd.d/30-armbian-sysinfo script should somehow detect new interfaces and add them automatically to vnstat or maybe variable in /etc/default/armbian-motd should not include virtual interfaces?
    PRIMARY_INTERFACE="$(ls -1 /sys/class/net/ | grep -v lo | sed -n -e 'H;${x;s/\n/+/g;s/^+//;p;}')"  
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines