summaryrefslogtreecommitdiffstats
path: root/can_samples/init_vcan.sh
blob: 531dd1e13abeedf7265332562b413ca01c8abcdc (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 vcan0 type vcan
sudo ip link set up vcan0