Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wireshark on MacOS not seeing capture device #68

Open
edpgcooper opened this issue Jun 21, 2024 · 6 comments
Open

Wireshark on MacOS not seeing capture device #68

edpgcooper opened this issue Jun 21, 2024 · 6 comments

Comments

@edpgcooper
Copy link

edpgcooper commented Jun 21, 2024

My dongles work on windows, however on Mac OS (Monterey 12.7.5) with Wireshark 4.2.5 with Python 3.11.9 Im not having much luck.
Installed the nrf802154_sniffer.py in the extcap folder, when I run
./nrf802154_sniffer.py --extcap-interfaces
I get
extcap {version=0.7.2}{help=https://github.com/NordicSemiconductor/nRF-Sniffer-for-802.15.4}{display=nRF Sniffer for 802.15.4} interface {value=/dev/cu.usbmodem14101}{display=nRF Sniffer for 802.15.4} interface {value=/dev/cu.usbmodem14103}{display=nRF Sniffer for 802.15.4} control {number=6}{type=button}{role=logger}{display=Log}{tooltip=Show capture log}

Any ideas why I have the double entry, don't seem to get this on Windows?

@Chapoly1305
Copy link
Contributor

Chapoly1305 commented Jun 21, 2024

sudo is required. Have you tried sudo wireshark

@edpgcooper
Copy link
Author

edpgcooper commented Jun 21, 2024

sudo is required. Have you tried sudo wireshark

sudo open /Applications/Wireshark.app
works for me, must have missed in the documentation where I have to do that, bit confused why also! Thanks tho

For reference I have to connect to the higher value interface (14103) for it to work.

@stig-bjorlykke
Copy link
Collaborator

Running Wireshark with sudo is never a good idea.

@edpgcooper
Copy link
Author

What am I meant to do instead then? The interface only appears if I do.

@stig-bjorlykke
Copy link
Collaborator

What am I meant to do instead then? The interface only appears if I do.

You should have a look at the device permissions. Mine looks like this.

crw-rw-rw-  1 root  wheel  0x900000f Aug  5 10:30 /dev/cu.usbmodem8401

@motters
Copy link

motters commented Sep 13, 2024

This fixed it for me, /usr/bin/pip3 install -U pyserial

Credit to the Nordic DevForum somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants