-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
python-canのドキュメントにWiresharkでCANメッセージを可視化してデバックしやすい記述があったので,それらのメモを残す.
https://python-can.readthedocs.io/en/stable/interfaces/socketcan.html
Ubuntu 22.04のWiresharkインストール方法
sudo apt update
sudo apt install wireshark
# 非特権ユーザーでキャプチャーするための設定
sudo dpkg-reconfigure wireshark-common
# 実行方法
wireshark
# Wiresharkグループにユーザーを追加する
sudo usermod -aG wireshark <username>
# Wiresharkが「許可がありません」と表示されてキャプチャが開始できない→dumpcapコマンドに実行権限がないためらしいので実行権限を付与する
sudo chmod +x /usr/bin/dumpcap
# dumpcapをwiresharkグループに設定する
sudo chgrp wireshark /usr/bin/dumpcap
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels