CanBoot icon indicating copy to clipboard operation
CanBoot copied to clipboard

Hot-Plug ebb36 and octopus 1.1 466

Open islonina opened this issue 2 years ago • 2 comments

What im missing. EBB36 and octopus on CAN all works fine but i need to manualy up the can0. I have file in interfaces for hot-plug: allow-hotplug can0 iface can0 can static bitrate 500000 up ifconfig $IFACE txqueuelen 128

And still need to use : sudo ip link set can0 type can bitrate 500000 sudo ip link set up can0

or in single line: /sbin/ip link set up can0 type can bitrate 50000

islonina avatar Oct 11 '23 12:10 islonina

You're missing the line auto can0.

kdomanski avatar Oct 12 '23 10:10 kdomanski

@kdomanski When using allow-hotplug can0 instead of auto can0

allow-hotplug basically means for OS: this interfaces is dynamic, manage it on various condition changes.

auto basically is telling to OS: bing up this interface with provided configuration during boot time or interface link up event.

NAPCAL avatar Oct 12 '23 11:10 NAPCAL