summaryrefslogtreecommitdiffstats
path: root/CAN-binder/can_samples/init_vcan.sh
blob: 65eb1b11700f0230b148db292b881c24dcd4119e (plain)
1
2
3
4
5
6
#!/bin/sh
# example for setting up vcan0 and modules
sudo modprobe can
sudo modprobe vcan
sudo ip link add dev can0 type vcan
sudo ip link set up can0