[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What should I put inside the file called wlan0?



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 ;-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: