Created
October 5, 2020 19:47
-
-
Save mathisve/a3d17229fee10e75337f20a2361818b8 to your computer and use it in GitHub Desktop.
Get vcan up and running quickly!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# https://elinux.org/Bringing_CAN_interface_up | |
# Installing can-utils | |
sudo sudo apt-get install can-utils | |
# Creating vcan0 interface | |
sudo ip link add dev vcan0 type vcan | |
sudo ip link set up vcan0 | |
# Listening on vcan0 interface | |
echo "vcan0:" | |
candump vcan0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment