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

Beginners • Re: ip link settings on boot?

$
0
0
I have a Raspberry Pi 0 W. I have some settings which I apply to a USB Can module:
sudo ip link set dev can0 type can bitrate 500000
sudo ip link set dev can0 up
This results in the changing the status of the module up <NOARP,UP,LOWER_UP,ECHO>.

Where can I put those lines so it will automatically perform those actions on reboot?

Presently if I reboot the Pi 0 W the can module comes up <NOARP, ECHO>.

Thank you,
Kind regards,
Simon

A detailed answer to your questions will probably require knowledge of what Operating System you have chosen to run on your RPi0W board.

A forum user has provided Guides to a number of such issues, and you may find answers in the Cron or Boot Guides available here -> https://github.com/thagrol/Guides

Statistics: Posted by B.Goode — Wed Feb 28, 2024 10:27 am



Viewing all articles
Browse latest Browse all 5368

Trending Articles