Skip to content

Commit

Permalink
load more modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Mar 19, 2024
1 parent 433573b commit d983696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- name: Setup SocketCAN
run: |
sudo apt-get -y install linux-modules-extra-$(uname -r)
sudo apt-get -y install linux-modules-$(uname -r) linux-modules-extra-$(uname -r) can-utils
pip install --user scapy
sudo scripts/set_up_vcan.sh
- name: Build
Expand Down
2 changes: 2 additions & 0 deletions scripts/set_up_vcan.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env sh

sudo modprobe can
sudo modprobe can-isotp
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set dev vcan0 up

0 comments on commit d983696

Please sign in to comment.