Re: What should I put inside the file called wlan0?
On Tue 01 Mar 2022 at 13:22:37 (+0100), tomas@tuxteam.de wrote:
> On Tue, Mar 01, 2022 at 12:16:44PM +0000, Tim Woodall wrote:
> > On Mon, 28 Feb 2022, Stella Ashburne wrote:
>
> [...]
>
> > > # The primary network interface
> > > allow-hotplug wlp3s0
> > > iface wlp7s0 inet static
> > > wpa-ssid JupiterRising
> > > wpa-psk {a long string of alphanumeric characters}
> > > address 192.168.1.99/24
> > > gateway 192.168.1.1
> > > # dns-* options are implemented by the resolvconf package, if installed
> > > dns-nameservers 1.1.1.1 8.8.8.8
> > >
> > > Are you saying that I can cut out the above contents and paste them into a file called wlp7s0 (whose path is /etc/network/interfaces.d/)?
> > >
> >
> > Yes, but you need to have this in /e/n/i
> >
> > source-directory /etc/network/interfaces.d
>
> That's correct. This line is by default there on (sufficiently recent)
> Debians (yes, this time I double-checked ;-)
I think you need to triple-check then. The Debian default line is
source /etc/network/interfaces.d/*
which relaxes the restrictions on filename patterns that are
read by source-directory /etc/network/interfaces.d.
Cheers,
David.
Reply to: