diff --git a/setup_vcan.sh b/setup_vcan.sh new file mode 100644 index 0000000..7f1888c --- /dev/null +++ b/setup_vcan.sh @@ -0,0 +1,8 @@ +# get the kernal module here +sudo apt-get install -y linux-modules-extra-$(uname -r) + +# create vcan0 device +sudo modprobe can +sudo modprobe vcan +sudo ip link add dev vcan0 type vcan +sudo ip link set up vcan0