Sponsored

Canbus and wireshark

First Name
Koyb
Joined
Nov 28, 2025
Threads
1
Messages
13
Reaction score
1
Location
My home
Vehicle(s)
Mopar
Wondering if anyone has had any luck using wireshark to log the can bus?
Sponsored

 

Reinen

Well-Known Member
Joined
Jan 10, 2021
Threads
19
Messages
3,190
Reaction score
7,520
Location
Utah
Vehicle(s)
2021 Jeep Wrangler JL Rubicon
I'm familiar with wireshark and used it a lot with Ethernet but not can bus.
What's the problem?
 
OP
OP
First Name
Koyb
Joined
Nov 28, 2025
Threads
1
Messages
13
Reaction score
1
Location
My home
Vehicle(s)
Mopar
I'm familiar with wireshark and used it a lot with Ethernet but not can bus.
What's the problem?
I'm trying to add an adaptive cruise control system to my car. The sensor has 2 can buses I'm just not sure which is which or if the sensor works. I wanted to hook up power and ground and see if it starts talking. Hoping that will let me figure out which can bus its talking on.

The wiring diagrams don't really tell me much. Trying to figure another way to figure this out. I have a feeling based on the wiring diagrams there's a private bus between the sensor and the forward facing camera on 1 bus and the other bus is talking to various modules like the bcm and abs systems.

Thought wireshark night help.

New to this.
 

Reinen

Well-Known Member
Joined
Jan 10, 2021
Threads
19
Messages
3,190
Reaction score
7,520
Location
Utah
Vehicle(s)
2021 Jeep Wrangler JL Rubicon
I'm trying to add an adaptive cruise control system to my car. The sensor has 2 can buses I'm just not sure which is which or if the sensor works. I wanted to hook up power and ground and see if it starts talking. Hoping that will let me figure out which can bus its talking on.

The wiring diagrams don't really tell me much. Trying to figure another way to figure this out. I have a feeling based on the wiring diagrams there's a private bus between the sensor and the forward facing camera on 1 bus and the other bus is talking to various modules like the bcm and abs systems.

Thought wireshark night help.

New to this.
Well, here's what I know. First you'll need a canbus-to-USB adapter to link the device to the CAN-high and CAN-low wires. Install the adapter driver, then Wireshark should be able to use that driver and be set to read the raw canbus data.

This won't be in human readable format but you'll be able to tell if you're seeing canbus traffic. To read the traffic you'll need a translation file (multiple ones apparently exist) and can be uploaded into Wireshark. I've never used them and don't know how good the translation is. But any detail it provides is better than raw.

One thing that I'm not sure of is that the available canbus-to-USB adapters appear to have vastly different prices and I'm not sure why. Ranging from about $18 for a basic board with wire connectors, to around $125 or so with serial ports, to $300+ for an ODB-II connector to USB. I'm not sure what each of those get you other than maybe the convenience of the ODB-II connector.

I do know that vehicles (and devices) often have multiple canbus, operating at different speeds for different purposes and/or isolation. So your feeling that there is a private bus is likely correct. If the devices on that bus don't need to talk to any vehicle device, like a front sensor to a controller box, it's very wise to keep that data isolated on its own private canbus to eliminate any possibility of an unexpected interaction or network congestion.

Hope that helps.
 
OP
OP
First Name
Koyb
Joined
Nov 28, 2025
Threads
1
Messages
13
Reaction score
1
Location
My home
Vehicle(s)
Mopar
Well, here's what I know. First you'll need a canbus-to-USB adapter to link the device to the CAN-high and CAN-low wires. Install the adapter driver, then Wireshark should be able to use that driver and be set to read the raw canbus data.

This won't be in human readable format but you'll be able to tell if you're seeing canbus traffic. To read the traffic you'll need a translation file (multiple ones apparently exist) and can be uploaded into Wireshark. I've never used them and don't know how good the translation is. But any detail it provides is better than raw.

One thing that I'm not sure of is that the available canbus-to-USB adapters appear to have vastly different prices and I'm not sure why. Ranging from about $18 for a basic board with wire connectors, to around $125 or so with serial ports, to $300+ for an ODB-II connector to USB. I'm not sure what each of those get you other than maybe the convenience of the ODB-II connector.

I do know that vehicles (and devices) often have multiple canbus, operating at different speeds for different purposes and/or isolation. So your feeling that there is a private bus is likely correct. If the devices on that bus don't need to talk to any vehicle device, like a front sensor to a controller box, it's very wise to keep that data isolated on its own private canbus to eliminate any possibility of an unexpected interaction or network congestion.

Hope that helps.
Sure does. I got this canbus adapter...

https://www.amazon.com/Jhoinrch-Converter-Open-Source-Hardware-Operating/dp/B0CRB8KXWL

Set up the adapter. Working on getting a test canbus in my shop. Hopefully I can get some traffic then figure out what it's saying. Interesting they have translation files. I'll look around.

For now installed using Savvycan. Thanks for the input
Sponsored

 
 







Top