CANalyze is an open source, native CAN interface for Linux that can be built entirely using open source tools. It enables you to monitor and transmit CAN frames using can-utils. Start hacking cars by connecting to the OBD-II port.
You also need a USB 2.0 type A male to type B male cable and an OBD-II to DB9 cable. Both a CiA DS102-2 or standard OBD-II cable will work. You can find more information about the device in the user guide.
Bring up CAN interface
$ sudo ip link set can0 up type can bitrate 500000
Sniff CAN messages
$ cansniffer -c can0
or dump all CAN messages
$ candump can0
Send a CAN message
$ cansend can0 666#01020304
Don’t know what’s next? Check out
- How to hack a car — a quick crash-course
- Open Garages’ videos
- Car Hacker’s Handbook
- Car hacking papers
or subscribe to the Open Garages’ mailing list.