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

On Teltonika RUTx devices, the init script fails due to failure to resolve interface name #25315

Open
luckman212 opened this issue Nov 12, 2024 · 0 comments

Comments

@luckman212
Copy link

To get darkstat to initialize with any interface other than 'lan' (e.g. qmimux0), I had to change

build_config_string() {
local cfg="$1"
config_get interface $cfg interface
network_get_device ifname "$interface"

to

build_config_string() {
       local cfg="$1"                                  
       config_get interface $cfg interface 
       network_get_device ifname "$interface" || ifname="$interface"
# darkstat --version
darkstat 3.0.719 (using libpcap version 1.9.1 (with TPACKET_V3))

Teltonika RUTX11, firmware RUTX_R_00.07.10.2 based on OpenWrt 21.02

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

1 participant