Can timeout command be added to LE?

  • Is it possible to add the timeout command to LE?

    This would allow to script capturing of packets e.g. timeout 300 tcpdump -nnpi wlan0 arp

    Timeout is part of busybox Core/Coreutils section of the config, and not selected (in 9.2 and 10.0 what I have seen).

  • Code
    tcpdump -G 300 -W 1 -w dumpfile.pcap -nnpi wlan0 arp

    ^ tcpdump's -G and -W options can be combined to do the same thing; meaning rotate the capture file after 300 seconds, write 1 file

  • Thanks.

    I was looking for a solution that shows the APR requests/replies as I'm struggling with an issue that is only present for limited time (~15-30min).

    During that time I'm not able to connect to the LE RPi3 from one pc (no ping, no ssh), but works ok from another.

    Suspect my WiFi-Mesh network is causing some asymmetric behaviour after a 'mobility event'.

    I compiled a new LE-9.2.8 image with the timeout command available.

    Waiting for a next event...