Tools: modify scripts to allow vcan iface to have CANFD supported

This commit is contained in:
bugobliterator 2022-03-27 01:10:49 +05:30 committed by Tom Pittenger
parent 7770c960c9
commit df95b1ee13
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ done
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
sudo ip link set vcan0 mtu 72
sudo modprobe slcan
sudo modprobe can-gw
sudo slcan_attach -f -s8 -o "$DEVPATH"

View File

@ -19,4 +19,5 @@ done
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
sudo ip link set vcan0 mtu 72
sudo modprobe can-gw