Setting eth0 to promiscuous mode on rpi3

raspberrypi3

#1

I need to set eth0 to promiscuous mode so that my container can capture traffic - does resin os have rc.local or is it possible to make /etc/systemd writable so that I can create a systemd unit to make eth0 startup in promiscuous mode?

I also had a look at network manager but I only saw options pertaining to macvlan & promiscuous mode. It is getting really annoying having to open a terminal to the host system every time it reboots to enable promiscuous mode.

H


#4

I have run a few times tshark/tcpdump from a container. The standard networking tools should be working without a problem from a container. Will running ip link set eth0 promisc on from inside the container solve the issue for you?