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

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



On Mon 28 Feb 2022 at 20:59:03 (+0100), Stella Ashburne wrote:

> The contents of my current /etc/network/interfaces file are:
> 
> # The primary network interface

                ↓↓↓⬇↓↓
> allow-hotplug wlp3s0
> iface wlp7s0 inet static
        ↑↑↑⬆↑↑

Is that really what you mean to have?

>         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/)?

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.

BTW does this mean you've given up on iwd?

Cheers,
David.


Reply to: