Thanks to mniestroj's patch, now it is possible to use the extcap plugin as a non-root user.
However the extcap plugin and the SnifferAPI are not written with unprivileged users in mind. If the capture device does not appear or packets do not show up, check again as root.
The user running the sniffer must
* have write access to the serial port of the nRF chip
* have write access to /tmp/logs/log.txt
and /tmp/logs/capture.pcap
Pinned Comments
labuwx commented on 2023-07-19 22:24 (UTC)
Thanks to mniestroj's patch, now it is possible to use the extcap plugin as a non-root user.
However the extcap plugin and the SnifferAPI are not written with unprivileged users in mind. If the capture device does not appear or packets do not show up, check again as root.
The user running the sniffer must * have write access to the serial port of the nRF chip * have write access to
/tmp/logs/log.txt
and/tmp/logs/capture.pcap