How to capture packages via TCPdump on three wlan interfaces at the same time?


Results 1 to 5 of 5

Thread: How to capture packages via TCPdump on three wlan interfaces at the same time?

  1. #1
    Join Date
    Dec 2021
    Posts
    1

    How to capture packages via TCPdump on three wlan interfaces at the same time?

    I have an RPI that has three wlan interfaces wlan0, wlan1 & wlan2. Each interface is set to a referring channel.

    My command is

    PHP Code:
    /usr/sbin/tcpdump  -----tt -i wlan0  type mgt  subtype probe-req 
    I have been trying to run the capture on all three interfaces at the same time but seem to be struggling.

    I have read that i can use "-i any" but i get an error saying

    "tcpdump: any: That device doesn't support monitor mode"
    I presume its referring to eth0 and lo interfaces.

    I have also tried

    PHP Code:
    /usr/sbin/tcpdump  -----tt -i wlan0 type mgt  subtype probe-req & /usr/sbin/tcpdump  -----tt -i wlan1 type mgt  subtype probe-req & /usr/sbin/tcpdump  -----tt -i wlan2 type mgt  subtype probe-req 
    But it pretty much kills the RPI and i get undervoltage errors plus no packets are captures on any interfaces.

    Is there a way around this, the RPI boots up and runs the capture as a script.

  2. #2
    Join Date
    Dec 2021
    Posts
    2
    I have an RPI that has three wlan interfaces wlan0, wlan1 & wlan2. Each interface is set to a referring channel.

    My command is

    /usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req
    I have been trying to run the capture on all three interfaces at the same time but seem to be struggling.

    I have read that i can use "-i any" but i get an error saying

    "tcpdump: any: That device doesn't support monitor mode"

    I presume its referring to eth0 and lo interfaces.

    I have also tried

    /usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan1 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan2 type mgt subtype probe-req
    But it pretty much kills the RPI and i get undervoltage errors plus no packets are captures on any interfaces.

    Is there a way around this, the RPI boots up and runs the capture as a script.

  3. #3
    Join Date
    Dec 2021
    Posts
    2
    Quote Originally Posted by bastisur View Post
    I have an RPI that has three wlan interfaces wlan0, wlan1 & wlan2. Each interface is set to a referring channel.

    My command is

    /usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req
    I have been trying to run the capture on all three interfaces at the same time but seem to be struggling.

    I have read that i can use "-i any" but i get an error saying

    "tcpdump: any: That device doesn't support monitor mode"

    I presume its referring to eth0 and lo interfaces.

    I have also tried

    /usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan1 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan2 type mgt subtype probe-req
    But it pretty much kills the RPI and i get undervoltage errors plus no packets talktowendys surveyzop are captures on any interfaces.

    Is there a way around this, the RPI boots up and runs the capture as a script.
    can anyone resolve the issue ?

  4. #4
    Join Date
    Apr 2011
    Location
    Largo, FL.
    Posts
    55
    FYI - The traffic on this is site is very slow..... It's even slower on the weekends.

  5. #5
    Join Date
    Feb 2014
    Location
    Riviera Beach, Maryland, USA
    Posts
    172

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •