Can't capture CANopen packets

asked 2021-02-24 10:56:09 +0000

Toushin gravatar image

updated 2021-02-25 14:53:23 +0000

grahamb gravatar image

Hello Community, I'd like to capture some data on a CANopen Network with a Raspberry Pi 4B. If i run Wireshark, without allowing non root users to capture pakets, my "can0" interface appears but, as expected, I'm not able to capture anything from it.

So I reconfigured the installation with "sudo dpkg-reconfigure wireshark-common" and answered the question with "yes". I also run "sudo usermod -a -G wireshark {username}". Now I still see interfaces, but fewer then before. Especially my "can0" interface doesn't appear. I spent the past 3 days to find a solution but unfortunately I still stuck to add my right interface in the list.

Linux Kernel 5.10.11-v7l
Using CAN Module:

//EDIT: Found the solution to see amd choose my "can0". I also need to add my user to "gpio" group with "gpasswd -a {username} gpio". Now I can start the capture but can't see any traffic.

edit retag flag offensive close merge delete