Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot-Plug ebb36 and octopus 1.1 466 #91

Open
islonina opened this issue Oct 11, 2023 · 2 comments
Open

Hot-Plug ebb36 and octopus 1.1 466 #91

islonina opened this issue Oct 11, 2023 · 2 comments

Comments

@islonina
Copy link

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

@kdomanski
Copy link

You're missing the line auto can0.

@NAPCAL
Copy link

NAPCAL commented Oct 12, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants