From fd09080756d81453311526a8da13e7d704983806 Mon Sep 17 00:00:00 2001 From: Sultan Qasim Khan Date: Thu, 18 Aug 2022 21:42:32 -0400 Subject: [PATCH] README: Mac OS extcap setup notes --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 0f76be1..605b4a9 100644 --- a/README.md +++ b/README.md @@ -379,6 +379,17 @@ As an alternative to copying files into the extcap folder, on Unix systems you c symbolic link in the extcap folder pointing to a copy of the plugin script stored elsewhere: ``` +mkdir -p ~/.config/wireshark/extcap ln -s ~/sniffle/python_cli/sniffle_extcap.py ~/.config/wireshark/extcap ``` +On Mac OS, Wireshark may try to use the system Python included in Xcode rather than the Python in +your PATH specified by your shell profile. Thus, the Sniffle plugin may fail to show up in extcap +interfaces if PySerial is not installed for the Xcode Python. To fix this, you can install PySerial +for the Xcode Python as such: + +``` +cd /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/Current/Resources/Python.app/Contents/MacOS +./Python -m ensurepip --default-pip +./Python -m pip install --user pyserial +```