Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 644 Bytes

File metadata and controls

25 lines (20 loc) · 644 Bytes

socketcan-setup

A systemd service to bring up the SocketCAN can0 channel automatically when the USB to CAN adapter is plugged in.

For installation it is best to clone the repo first on the Carla EC2 and then perform this commands:

Clone repo:

git clone https://github.com/aws4embeddedlinux/demo-iot-automotive-simulator.git

Install:

cd demo-iot-automotive-simulator/socket-can-setup
sudo cp setup-socketcan.sh /usr/bin
sudo cp setup-socketcan.service /lib/systemd/system
sudo systemctl start setup-socketcan
sudo systemctl enable setup-socketcan

Check the status:

sudo journalctl -fu setup-socketcan