dal terminale, come root

dumpcap -i eth0 -a duration:10 -w output.pcapng