Jump to content

RX today: Error: Interface "--oneline" not found in database.


Recommended Posts



A strange error appeared with the last kernel update on an Odroid HC2. From the home in the terminal displays this error under RX totay: 

RX today:      Error: Interface "--oneline" not found in database.

The board is hosting an OMV instance under Armbian Bullseye Linux version 5.4.212-odroidxu4.

Does anyone have any idea about the origin of this message which does not seem to disrupt the NAS operation.



Link to comment
Share on other sites

Because I didnt want a end0: as eth0: device on my NanoPi A64 I added


to my /boot/armbianEnv.txt


But on bootup the armbian-motd told me

RX today:      Error: No interface matching "eth0" found in database.


The armbian-motd in /etc/default has the line

PRIMARY_INTERFACE="$(ls -1 /sys/class/net/ | grep -E "en|eth|wl" -m 1)"


On the commandline I do get a clear etho with this command:

root@npi-a64-116:~# ls -1 /sys/class/net/ | grep -E "en|eth|wl" -m 1


Where is "the database"? and why have we an end0: device (and not and enx?)


found how to add the eth0 to the database (on my other SBCs is was already there).

The command is:

vnstat --add -i eth0

in the thread


System diagnosis information has been uploaded to https://paste.armbian.com/etodezihuf 

Edited by guidol
Link to comment
Share on other sites

I run Armbian on an Odroid-HC2 (Homecloud 2) which uses the odroid-xu4 firmware.
On the welcome banner RX today: always showed a nice value.

Since December 2022 when I last updated it suddenly showed Error: Interface "veth•••••••" not found in database.

And I can confirm: I use 2 docker images on that device, so that may cause unusual devices at /sys/class/net/ which the motd script handles wrongly.


Note: • redacted by me.


PRIMARY_INTERFACE="$(ls -1 /sys/class/net/ | grep -v lo | egrep "enp|eth" | head -1)"

$ ls -1 /sys/class/net/


Simple fix: Change PRIMARY_INTERFACE to the grep expression "First device that starts with "en", in case you have only one physical Ethernet connection.


PRIMARY_INTERFACE="$(ls -1 /sys/class/net/ | grep -v lo | egrep "^en" | head -1)"

After that "RX today" on the welcome banner again shows some meaningful statistics.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines