Tcpdump, init.d-Script and interface eth0/br-lan

Hello,

I try to start tcpdump with a init.d script. If I use START=99 everything works. But I try to start the init.d-script after the interface br-lan starts. If I use START=21 (/etc/init.d/network is 20), there is a error "no such devise exists". But I found no script, there br-lan configure? I try also eth1 but its the same problem.

Or short: how can I start tcpdump directly after the eth1 or br-lan interface is up?

Any ideas?

https://openwrt.org/docs/guide-user/base-system/hotplug ?

2 Likes

Great idea, thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.