OPNsense Forum

English Forums => Hardware and Performance => Topic started by: discontinuum on January 07, 2025, 11:04:32 AM

Title: Minor issue with Realtek interface
Post by: discontinuum on January 07, 2025, 11:04:32 AM
I have a Realtek 8125 m.2 ethernet adapter working in my opnsense box.

I've noticed that on the opnsense dashboard, when I check the interface statistics wheel and hover over the Realtek (LAN) interface that the "packets out" always stays at 0.

The traffic is flowing perfectly fine and the "packets in" are counted. The bytes in and bytes out are counted correctly. It's just packets out that doesn't work. The packets in and out for the other (WAN) interface are counted normally.


Is anyone familiar with this problem and is there a fix for it?
Title: Re: Minor issue with Realtek interface
Post by: pfry on January 07, 2025, 08:35:05 PM
Well, mine does have trouble with "packets out":

Interface    Bytes In    Bytes Out    Packets In    Packets Out    Errors In    Errors Out    Collisions
rt8125        209.56 KB    3.62 MB        1,482        0        0        0        0

...but the other counters work. I just plugged it in, so it could be generally unhappy.
I don't use the widget as I use a buncha bridges, so all packets are counted 2-3 times - kinda useless.
Title: Re: Minor issue with Realtek interface
Post by: pfry on January 08, 2025, 07:49:12 PM
Useless update: The counters are apparently taken from netstat, and the "packets out" always shows 0. I didn't find a working counter elsewhere offhand. Looks like a driver bug.