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

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



Dearie

> Sent: Wednesday, March 02, 2022 at 12:20 AM
> From: "David Wright" <deblis@lionunicorn.co.uk>
> To: debian-user@lists.debian.org
> Subject: Re: What should I put inside the file called wlan0?
>
>
> 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:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug enp2s0
#iface enp6s0 inet static
#	address 192.168.1.77/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

# The primary network interface
allow-hotplug wlp7s0
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

If I have a file called dave in /etc/network/interfaces.d/ and its contents are:



# The primary network interface
allow-hotplug wlp7s0
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 my /etc/network/interfaces file may look like the following so long as the line "source /etc/network/interfaces.d/*" (without quotes) is present?



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug enp2s0
#iface enp6s0 inet static
#	address 192.168.1.77/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



> BTW does this mean you've given up on iwd?
>
For the moment, yes. I encountered the same problems when I tried iwd on Fedora 35. The folks of Fedora community were unable to help me fix it. Thanks for asking, mon cher.

Best wishes

Stella


Reply to: