Created
December 18, 2020 13:15
-
-
Save CSQDiv0/82ee04690459d58e9951fa1db8b797e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#install zerotier | |
curl -s https://install.zerotier.com | sudo bash | |
#bring up slcan interface | |
sudo slcand -o -s6 -t hw -S 500000 /dev/ttyACM0 | |
sudo ip link set up slcan0 | |
#update pi software | |
sudo apt-get update | |
#bring up can utils | |
git clone https://github.com/linux-can/can-utils | |
sudo apt-get install libtool | |
sudo apt-get install autoconf | |
cd can-utils | |
./autogen.sh | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment