Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Marc SCHAEFER
Hello, On Sat, Jul 06, 2024 at 12:49:32PM +0200, Detlef Vollmann wrote: > The only thing that's always annoying is that too many programs > believe they have to overwrite /etc/resolv.conf... chattr +i # immutable still works :)

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Michel Verdier
On 2024-07-06, George at Clug wrote: >> What I really need is a good book >> or document that explains the design >> and implementation of networking with systemd and Network Manager on >> modern Debian GNU/Linux systems.  Recommendations? > > Sadly I have not found any documentation (or books) f

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Greg Wooledge
On Fri, Jul 05, 2024 at 21:51:09 -0700, David Christensen wrote: > What I really need is a good book or document that explains the design and > implementation of networking with systemd and Network Manager on modern > Debian GNU/Linux systems. Recommendations? The main thing to understand is that

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Detlef Vollmann
On 7/6/24 06:51, David Christensen wrote: The underlying issue appears to be that my old-school Linux console network administration skills have been rendered obsolete by systemd and NetworkManager. I don't think that these skills are obsolete. I still use /etc/network/interfaces for everythi

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Detlef Vollmann
On 7/6/24 06:37, jeremy ardley wrote: As I said in my earlier post, it's not necessary to disable dhcpd and in fact it is likely undesirable. Note that the warning in the wiki talks about dhcpcd, not about dhcpd. Though as a pointed out before, your machine very likely will have NetworkManag

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread Detlef Vollmann
On 7/6/24 04:06, Max Nikulin wrote: On 06/07/2024 08:16, David Christensen wrote: The following sentence: "Make sure to disable all DHCP services, e.g. dhcpcd." Was added at revision 97: From my point of view this warning makes sense. Primary it is a troubleshooting step if an attempt to

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread George at Clug
On Saturday, 06-07-2024 at 14:51 David Christensen wrote: > On 7/5/24 19:06, Max Nikulin wrote: > > > On 7/5/24 21:14, George at Clug wrote: > > > > Thank you for your replies. > > > The underlying issue appears to be that my old-school Linux console > network administration skills have bee

Re: Debian 11 and IPv4 static IP address

2024-07-06 Thread jeremy ardley
On 6/7/24 12:51, David Christensen wrote: What I really need is a good book or document that explains the design and implementation of networking with systemd and Network Manager on modern Debian GNU/Linux systems.  Recommendations? If you want to persist with the NetworkManager approach,

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread David Christensen
On 7/5/24 19:06, Max Nikulin wrote: On 7/5/24 21:14, George at Clug wrote: Thank you for your replies. The underlying issue appears to be that my old-school Linux console network administration skills have been rendered obsolete by systemd and NetworkManager. I typically install Xfce whe

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread jeremy ardley
On 6/7/24 09:16, David Christensen wrote: I can find no statement in The Debian Administrator's Handbook regarding disabling DHCP when using a static IP: https://www.debian.org/doc/manuals/debian-handbook/sect.network-config.en.html#sect.interface-ethernet As I said in my earlier post, it

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread George at Clug
David, How are your efforts toward setting a static IP address going? Have you succeeded. I set up a lot of test servers (for fun and no profit), and hence work with Hypervisors (KVM more than Virtual Box), and have some experience in this area. But at this point I am not sure if you need ass

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread Max Nikulin
On 06/07/2024 08:16, David Christensen wrote: I can find no statement in The Debian Administrator's Handbook regarding disabling DHCP when using a static IP: [...] https://wiki.debian.org/NetworkConfiguration?action=info The following sentence: "Make sure to disable all DHCP services, e.g. dh

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread David Christensen
On 7/4/24 21:08, Felix Miata wrote: On 7/4/24 21:10, jeremy ardley wrote: On 7/5/24 11:44, Franco Martelli wrote: Thank you all for the replies. I can find no statement in The Debian Administrator's Handbook regarding disabling DHCP when using a static IP: https://www.debian.org/doc/ma

Re: Debian 11 and IPv4 static IP address

2024-07-05 Thread Franco Martelli
On 05/07/24 at 04:06, David Christensen wrote: The VM currently has a DHCP address.  I would like to set a static IPv4 address.  The Debian wiki tells me to edit /etc/network/interfaces and provides some example settings that I believe I can adapt to my use-case: ... What is the correct meth

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread jeremy ardley
On 5/7/24 13:13, jeremy ardley wrote: On 5/7/24 10:30, Felix Miata wrote: I think there are more than one. One thing is to check what is enabled, then disable or uninstall whatever owns the unit(s): systemctl list-unit-files | egrep 'net|dhcp' Do the same with whatever "manages" /etc

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread jeremy ardley
On 5/7/24 10:30, Felix Miata wrote: I think there are more than one. One thing is to check what is enabled, then disable or uninstall whatever owns the unit(s): systemctl list-unit-files | egrep 'net|dhcp' Do the same with whatever "manages" /etc/resolv.conf, and create a regular fil

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread jeremy ardley
On 5/7/24 10:06, David Christensen wrote: The Debian wiki also says: "Make sure to disable all DHCP services, e.g. dhcpcd." What is the correct method to "disable all DHCP services"? The instruction is not necessary. It doesn't matter if there is a dhcp server anywhere if the client -

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread Felix Miata
David Christensen composed on 2024-07-04 20:29 (UTC-0700): > Felix Miata wrote: >> David Christensen composed on 2024-07-04 19:06 (UTC-0700): >>> I have built a VirtualBox virtual machine and installed Debian 11 with >>> SSH server and standard system utilities only. I plan to use the VM to >>>

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread David Christensen
On 7/4/24 19:30, Felix Miata wrote: David Christensen composed on 2024-07-04 19:06 (UTC-0700): I have built a VirtualBox virtual machine and installed Debian 11 with SSH server and standard system utilities only. I plan to use the VM to run the UniFi Network Controller to manage the UniFi equip

Re: Debian 11 and IPv4 static IP address

2024-07-04 Thread Felix Miata
David Christensen composed on 2024-07-04 19:06 (UTC-0700): > debian-user: > I have built a VirtualBox virtual machine and installed Debian 11 with > SSH server and standard system utilities only. I plan to use the VM to > run the UniFi Network Controller to manage the UniFi equipment on my >