Last active
September 25, 2023 01:10
-
-
Save Lauszus/733c4c4c6abacd19a0b5dad099fab172 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 auto configure CAN bus interfaces using systemd
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
[Match] | |
Name=can* | |
[CAN] | |
BitRate=250000 | |
# Put this file in: "/etc/systemd/network/" and then run "sudo systemctl enable systemd-networkd" to enable systemd-networkd | |
# Now start systemd-networkd: "sudo systemctl start systemd-networkd" | |
# Credit: https://github.com/linux-can/can-utils/issues/68#issuecomment-584505426 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vibnwis I use a PCAN-USB dongle: https://www.peak-system.com/PCAN-USB.199.0.html?&L=1.