Skip to content

Instantly share code, notes, and snippets.

@CSQDiv0
Created December 18, 2020 13:15
Show Gist options
  • Save CSQDiv0/82ee04690459d58e9951fa1db8b797e5 to your computer and use it in GitHub Desktop.
Save CSQDiv0/82ee04690459d58e9951fa1db8b797e5 to your computer and use it in GitHub Desktop.
#!/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