Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. sudo modprobe kvaser_usb
  4. sudo modprobe can
  5. sudo modprobe can_raw
  6.  
  7. sudo ip link set can0 down
  8. sudo ip link set can1 down
  9.  
  10. echo "CAN0 : 500 kbps"
  11. echo "CAN1 : 250 kbps"
  12.  
  13. sudo ip link set can0 up type can bitrate 500000 restart-ms 1000
  14. sudo ip link set can1 up type can bitrate 250000 restart-ms 1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement