This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf52840 dongle sniffer + wireshark

Hi!

I followed the recipe described on nRF Sniffer for Bluetooth LE to flash the sniffer .hex file into my dongle, install and configure the wireshard. 

When I start the capture of BLE packages using the wireshark, the dongles green lad start to blink BUT not appear on the wireshark. After some time, my linux closes the application.

Some information: My machine is a linux mint 20.3 with 8GB RAM and a lot of SSD space. 

  • Hi,

     

    I have the same version of wireshark installed, running on ubuntu, but I do not have this problem at my end.

    Do you have access to the /dev/ttyACM0 device from your user?

     

    If not, you can install the udev rules for all nrf devices and reboot (or reload udev):

    https://github.com/NordicSemiconductor/nrf-udev

     

    Kind regards,

    Håkon

  • Yes, I can see the /dev/ttyACM0 on the terminal. 

    One thing that I noticed is that on the wireshark is appearing the device as /dev/ttyACM0-3.6 

    this afternoon I'll try to update the udev rules

  • Hi,

     

    rdmeneze said:
    One thing that I noticed is that on the wireshark is appearing the device as /dev/ttyACM0-3.6 

    Similar on my end:

    but at my end it starts up as expected:

    I also have the similar config profiles as you have:

     

    Kind regards,

    Håkon

  • Hi!
    I installed the udev rules and restarted the machine. The problem persist.

    look my wireshark: 

    rdias@iluvatar:~/.config/wireshark$ tree .
    .
    ├── extcap
    │   ├── nrf_sniffer_ble.bat
    │   ├── nrf_sniffer_ble.py
    │   ├── nrf_sniffer_ble.sh
    │   ├── requirements.txt
    │   └── SnifferAPI
    │       ├── CaptureFiles.py
    │       ├── Devices.py
    │       ├── Exceptions.py
    │       ├── Filelock.py
    │       ├── __init__.py
    │       ├── Logger.py
    │       ├── Notifications.py
    │       ├── Packet.py
    │       ├── Pcap.py
    │       ├── __pycache__
    │       │   ├── CaptureFiles.cpython-310.pyc
    │       │   ├── Devices.cpython-310.pyc
    │       │   ├── Exceptions.cpython-310.pyc
    │       │   ├── Filelock.cpython-310.pyc
    │       │   ├── __init__.cpython-310.pyc
    │       │   ├── Logger.cpython-310.pyc
    │       │   ├── Notifications.cpython-310.pyc
    │       │   ├── Packet.cpython-310.pyc
    │       │   ├── Pcap.cpython-310.pyc
    │       │   ├── SnifferCollector.cpython-310.pyc
    │       │   ├── Sniffer.cpython-310.pyc
    │       │   ├── Types.cpython-310.pyc
    │       │   ├── UART.cpython-310.pyc
    │       │   └── version.cpython-310.pyc
    │       ├── SnifferCollector.py
    │       ├── Sniffer.py
    │       ├── Types.py
    │       ├── UART.py
    │       └── version.py
    ├── profiles
    │   └── Profile_nRF_Sniffer_Bluetooth_LE
    │       ├── preferences
    │       └── recent
    ├── recent
    └── recent_common
    
    5 directories, 36 files
    

  • Hi,

     

    I installed mint in a VM, and noticed that when I ran wireshark as root, it started sniffing as expected.

    Can you try to add your user to the wireshark and dialout group?

    sudo usermod -a -G wireshark youruser
    sudo usermod -a -G dialout youruser

    Then reboot and see if it starts to sniff as expected.

     

    This allowed my user to run wireshark properly:

     

    Kind regards,

    Håkon

Related