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

Networking and servers • How do I set a static ip via config file?

$
0
0
I'm running bookworm lite.

I would like to be able to create a config on the sd card, like /etc/network/interfaces, where I can set the static ip, boot the pi once, and ssh to it.

I realize that rpi os uses network manager now and there is a cli for it.

I don't want to use an interactive cli, I want to set the static ip once via a config file right after I write the os to the card. (From the computer that writes the OS to the card of course)

I'm sure network manager uses a config file somewhere. What is the location of this config?

Statistics: Posted by foul_owl — Wed Dec 04, 2024 6:26 am — Replies 1 — Views 50



Viewing all articles
Browse latest Browse all 4880

Trending Articles