os-vnstat: Interface?

Started by defaultuserfoo, September 03, 2026, 07:20:20 PM

Previous topic - Next topic
Installing the os-vnstat plugin tells you to put your default interface into it's configuration file before starting the service.  So I looked at what 'vnstat --iflist' said and put pppoe0 as interface.

Then when I looked at the GUI to start the service, I could pick the interfaces, so I picked the WAN interface.  There is no pppoe0 interface in that list.  Now the configuration has a bunch of entries and still starts with 'Interface pppoe0'.  I didn't find any other 'interface' lines in the file.

Is it supposed to be like this or is this now a misconfiguration?

Look at Interfaces > Assignments. Probably WAN is assigned to pppoe0. So they are one and the same. It's a bit unfortunate different subsystems and/or plugins use different identifiers. Since OPNsense introduced that WAN, LAN, ... abstraction layer above the device names IMHO all fuctions should explicitly use these only.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)