On Wed 02 Mar 2022 at 17:59:07 (+0000), Brian wrote: > On Wed 02 Mar 2022 at 09:01:55 +0100, Stella Ashburne wrote: > > From: "David Wright" <deb...@lionunicorn.co.uk> > > > > > > As long as you have "source /etc/network/interfaces.d/*" in your > > > /e/n/interfaces file, then you can call the file wlp7s0, or wlp3s0, > > > or anything else, and it will be read. That line in quotes is now > > > the default in Debian. > > > > Just so to be clear...... > > > > The contents of my /etc/network/interfaces file are:
[ … ] > > Are you saying that my /etc/network/interfaces file may look like the > > following so long as the line "source /etc/network/interfaces.d/*" (without > > quotes) is present? > > Correct, although I do nit understand what you gain from using > /etc/network/interfaces.d/. It allows you to configure each interface for each network in individual files, which simplifies adding/removing/editing them (or tailoring their permissions). In addition, when using "source-directory"¹, you can leave all the configuration files in place, and deactivate them by, say, adding a disallowed character to their filenames, rather than having to remove them. More and more of the system configuration files are being split up in this manner. BTW, I would add that, though I have a reputation with the OP for not recommending man pages, the paragraph in man interfaces that's headed "INCLUDING OTHER FILES" should make it very clear what the relationship is between the /e/n/interfaces file itself and any files placed in the /e/n/interfaces.d/ directory. ¹ I think source-directory was the default with buster, looking at the netinst ISO. But one of my first actions on any new installation is to overwrite the networking files. Cheers, David.