Capture network packets using tcpdump via command line for later inspection with Wireshark sudo tcpdump -i any -s 65535 -w somefilename.pcapng