From 12e9b633d89bf9bf6ad7c8b6198191159bcf27eb Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 12 Apr 2024 11:37:01 -0400 Subject: [PATCH] docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor --- docs/CANBUS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CANBUS.md b/docs/CANBUS.md index e80141a95..321f8e891 100644 --- a/docs/CANBUS.md +++ b/docs/CANBUS.md @@ -31,7 +31,7 @@ adapter. This is typically done by creating a new file named allow-hotplug can0 iface can0 can static bitrate 1000000 - up ifconfig $IFACE txqueuelen 128 + up ip link set $IFACE txqueuelen 128 ``` ## Terminating Resistors @@ -113,7 +113,7 @@ Some important notes when using this mode: allow-hotplug can0 iface can0 can static bitrate 1000000 - up ifconfig $IFACE txqueuelen 128 + up ip link set $IFACE txqueuelen 128 ``` * The "bridge mcu" is not actually on the CAN bus. Messages to and