Skip to content

Instantly share code, notes, and snippets.

#!/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
@CSQDiv0
CSQDiv0 / install-virtual.sh
Created December 18, 2020 13:14
Virtual Setup
#!/bin/bash
#install zerotier
curl -s https://install.zerotier.com | sudo bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
@CSQDiv0
CSQDiv0 / install.sh
Created June 21, 2020 08:25
Installation script for CSQ's workshop.
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
cd ~/
#bring up vcan interface
modprobe can