tools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tools [2018/07/31 16:16] – [CANUSB module] athery | tools [2018/07/31 16:22] – [CANUSB module] athery | ||
---|---|---|---|
Line 68: | Line 68: | ||
In brief : | In brief : | ||
- | * To bind the CANUSB device (on port **/ | + | * Install **can-utils** package : |
+ | < | ||
+ | sudo apt-get install can-utils | ||
+ | </ | ||
+ | * Check if the kernel modules " | ||
+ | < | ||
+ | sudo modprobe can | ||
+ | sudo modprobe can_raw | ||
+ | sudo modprobe slcan | ||
+ | </ | ||
+ | Make them load automatically : | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | Add the three modules " | ||
+ | * Bind the CANUSB device (on port **/ | ||
< | < | ||
sudo slcand -o -c -f -s8 / | sudo slcand -o -c -f -s8 / | ||
</ | </ | ||
- | * To bring the slcan interface up : | + | * Bring the slcan interface up : |
< | < | ||
sudo ifconfig slcan0 up | sudo ifconfig slcan0 up |
tools.txt · Last modified: 2021/07/30 10:56 by damien