Deutsch   English   Français   Italiano  
<v2bei9$30kmg$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Setting a manual IP address
Date: Sat, 18 May 2024 23:45:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <v2bei9$30kmg$2@dont-email.me>
References: <v20bf0$asah$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 May 2024 01:45:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="88bc25c8fcfdc379e23515eb587d6be4";
	logging-data="3166928"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19izrCk6BldYbHWGVHkAV/l"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:3gFm6ItgHq2eNNByYp1Pa0Ugh6A=
Bytes: 1650

On Tue, 14 May 2024 18:44:48 -0000 (UTC), bp wrote:

> What's the easiest way to manually set a RasPiOS host's IP address?
> Raspi-config offers DHCP or networkmanager,
> but neither invites manual intervention.

The traditional Debian way is to hand-edit /etc/network/interfaces. If an 
interface entry begins “interface «name» inet static”, then you can follow 
them with explicit settings, and NetworkManager should not touch them.

If you are using systemd-network (as Ubuntu does), then it is suffices to 
put config files named “«n»-«name».network»” in /etc/systemd/network, one 
for each interface, with manual settings in them. The format for these is 
documented in systemd.network(5).