Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network module: no received/transmitted bytes with interface auto-select #1327

Closed
ppascher opened this issue Nov 24, 2021 · 2 comments
Closed

Comments

@ppascher
Copy link

Sinc commit 0a48413 my network module did not show received/transmitted bytes anymore using interface auto-detection. Manually setting my interface name in the config fixes this.

cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:     818      16    0    0    0     0          0         0      818      16    0    0    0     0       0          0
enp5s0: 77903949235 51696226    0 4851    0     0          0      5552 2436874240 25481394    0    0    0     0       0          0
enp6s0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0

I tried to add a spdlog output (in modules/network.cpp after iss >> r;) to show me received bytes for each interface during each interval but it would not print anything with auto selection. It only got executed after manually setting my config "interface" value to "enp5s0".

@bd-g
Copy link
Contributor

bd-g commented Dec 17, 2021

Same - log shows
[2021-12-17 16:07:48.273] [error] network: argument not found

@Alexays
Copy link
Owner

Alexays commented Oct 27, 2022

Closing in favor of #610

@Alexays Alexays closed this as completed Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants