Skip to content

Commit

Permalink
docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KevinOConnor committed Apr 20, 2024
1 parent 2425a74 commit 12e9b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/CANBUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 12e9b63

Please sign in to comment.