aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CANBUS.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-04-12 11:37:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-04-20 12:47:06 -0400
commit12e9b633d89bf9bf6ad7c8b6198191159bcf27eb (patch)
treef9143576d9162ff6cf2fb0e57e853df188c1f5d5 /docs/CANBUS.md
parent2425a74638baa87efef3ca02253804d126101c8a (diff)
downloadkutter-12e9b633d89bf9bf6ad7c8b6198191159bcf27eb.tar.gz
kutter-12e9b633d89bf9bf6ad7c8b6198191159bcf27eb.tar.xz
kutter-12e9b633d89bf9bf6ad7c8b6198191159bcf27eb.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'docs/CANBUS.md')
-rw-r--r--docs/CANBUS.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CANBUS.md b/docs/CANBUS.md
index e80141a9..321f8e89 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