Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2605

Raspberry Pi OS • Re: What is the proper way of enabling an interface boot up?

$
0
0
I ended up figuring out how to do this using systemd-networkd.

running
sudo systemctl status systemd-networkd
showed me that my original network file had a bad argument.

the fix for anyone else stumbling on this:

First enable networkd
sudo systemctl enable systemd-networkd
Create the interface file
sudo nano /etc/systemd/network/can0.network
Paste the content below to the file above
[Match]
Name=can*

[CAN]
BitRate=250000
RestartSec=100ms
Reboot and the can0 interface should now be online at boot.

Statistics: Posted by L-P-G-2 — Sun Apr 13, 2025 4:02 pm



Viewing all articles
Browse latest Browse all 2605

Trending Articles