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

CAN bus states DOWN during setup #84

Open
SejeAnd opened this issue Nov 12, 2024 · 3 comments
Open

CAN bus states DOWN during setup #84

SejeAnd opened this issue Nov 12, 2024 · 3 comments

Comments

@SejeAnd
Copy link

SejeAnd commented Nov 12, 2024

Hello people :)
I got to the klipper flashing part via katapult.

I flashed to an BTT octopus pro H723 board with the CAN adapter built in to the motherboard (so no U2C or anything in that sort is needed)

started from the beginning of the guide by making the can0 file an followed the guide through without any issues. However now when i push a "ip -s -d link show can0" command in the CLI it writes the CAN state as DOWN instead of the desired UP.

I have checked if I did everything right in the warning sign section and after what i see everything is configured correctly.

I hope you can help. Thanks in advance! :D
Screenshot 2024-11-12 180443

@clembo1
Copy link

clembo1 commented Nov 13, 2024

CAN is going to be down by default. The network service has to be brought up. If you go the route of ifupdown, you will need to install it and nettools (if using Armbian or debian or ubuntu). If you go the systemd route, the github issue I submitted should "work" and will clarify that path.

For more details, see here #83
and here: https://canbus.esoterical.online/Getting_Started.html

@Esoterical
Copy link
Owner

@clembo1 most people don't need to install anything. It's only the edge case armbian-based distros that have issues that your issue ticket covers.
edge-case in terms of people running klipper-based printers.

@SejeAnd
Copy link
Author

SejeAnd commented Nov 14, 2024

CAN is going to be down by default. The network service has to be brought up. If you go the route of ifupdown, you will need to install it and nettools (if using Armbian or debian or ubuntu). If you go the systemd route, the github issue I submitted should "work" and will clarify that path.

For more details, see here #83 and here: https://canbus.esoterical.online/Getting_Started.html

I followed your tutorial (it was great - good job :D), and it kind of fixed my issue. The can0 network is in the "UP" state now, even when rebooting. However the qlen value is only at 10 - not the 1024 its supposed to.
I have double checked, and i certainly configured the systemd-networkd (netplan) and ifupdown configs correctly. What could cause my issue, and how can i fix it?

Thank you in advance :D

Various screenshots:
Screenshot 2024-11-14 212019
Screenshot 2024-11-14 212505
Screenshot 2024-11-14 212532
Screenshot 2024-11-14 212552

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