<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://archive.forums.debian.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunrat</id>
	<title>Archive Debian Forums - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://archive.forums.debian.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunrat"/>
	<link rel="alternate" type="text/html" href="https://archive.forums.debian.net/index.php?title=Special:Contributions/Sunrat"/>
	<updated>2026-04-28T11:52:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://archive.forums.debian.net/index.php?title=Main_Page&amp;diff=91</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://archive.forums.debian.net/index.php?title=Main_Page&amp;diff=91"/>
		<updated>2025-12-08T03:00:56Z</updated>

		<summary type="html">&lt;p&gt;Sunrat: /* HowTo */ Added Root, sudo etc.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About ==&lt;br /&gt;
About:&lt;br /&gt;
* [[Debian User Forums]]&lt;br /&gt;
* [[The Debian Project]]&lt;br /&gt;
* [[Archive AI Use]]&lt;br /&gt;
* [[Forum jokes, lingo, and memorable quotes|Forum jokes, lino, and memorable quotes]]&lt;br /&gt;
&lt;br /&gt;
== HowTo ==&lt;br /&gt;
HowTo:&lt;br /&gt;
&lt;br /&gt;
* [https://forums.debian.net/viewtopic.php?p=338577#p338577 Root, sudo, su, and su -]&lt;br /&gt;
&lt;br /&gt;
* [[To install Firefox from Mozilla repo|Installing Firefox from Mozilla repo]]&lt;br /&gt;
* [[WiFi Signal Strength and Sharing]]&lt;br /&gt;
* [[REFInd USB Drive (for emergency boot)]]&lt;br /&gt;
* [[Trixie iwd]]&lt;br /&gt;
&lt;br /&gt;
== Licensing ==&lt;br /&gt;
Licensing:&lt;br /&gt;
* [[Publish using CC International licencing and your Forum name]].&lt;/div&gt;</summary>
		<author><name>Sunrat</name></author>
	</entry>
	<entry>
		<id>https://archive.forums.debian.net/index.php?title=Trixie_iwd&amp;diff=90</id>
		<title>Trixie iwd</title>
		<link rel="alternate" type="text/html" href="https://archive.forums.debian.net/index.php?title=Trixie_iwd&amp;diff=90"/>
		<updated>2025-12-08T02:53:09Z</updated>

		<summary type="html">&lt;p&gt;Sunrat: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Had working iwd wifi on Bookworm and systemd-networkd.&lt;br /&gt;
&lt;br /&gt;
Works also in [https://www.debian.org/releases/trixie/ Trixie], but took a few hours to figure out how wifi is up at boot.&lt;br /&gt;
&lt;br /&gt;
The solution was to edit /etc/iwd/main.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;arto@niuzu:~$ cat /etc/iwd/[https://wiki.debian.org/WiFi/HowToUse#iwd main.conf]&lt;br /&gt;
# For complete description of supported configuration options, refer to&lt;br /&gt;
# &#039;man 5 iwd.config&#039;.&lt;br /&gt;
&lt;br /&gt;
[General]&lt;br /&gt;
# iwd is capable of performing network configuration on its own, including&lt;br /&gt;
# DHCPv4 based address configuration.  By default this behavior is&lt;br /&gt;
# disabled, and an external service such as NetworkManager, systemd-network&lt;br /&gt;
# or dhcpclient is required.  Uncomment the following line if you want iwd&lt;br /&gt;
# to manage network interface configuration.&lt;br /&gt;
#&lt;br /&gt;
EnableNetworkConfiguration=true&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and setting in the [General] section EnableNetworkConfiguration on by removing &#039;&#039;&#039;#&#039;&#039;&#039; from the front of it.&lt;br /&gt;
&lt;br /&gt;
This article was posted by arzgi: https://forums.debian.net/viewtopic.php?t=163650&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit by sunrat:&lt;br /&gt;
&lt;br /&gt;
Having just set this myself, some more information is needed. The guide in the Debian Wiki was almost all I needed. &lt;br /&gt;
&lt;br /&gt;
I used the standalone setup, no NetworkManager here. Extra packages were required to be install. As well as &#039;&#039;&#039;iwd&#039;&#039;&#039; it needed dependency of &#039;&#039;&#039;libell0,&#039;&#039;&#039;  and firmware for my device which is &#039;&#039;&#039;firmware-atheros&#039;&#039;&#039;. Check you have the correct firmware for your device. I also had to enable resolvconf in /etc/iwd/main.conf as I don&#039;t have systemd-resolved running.&lt;br /&gt;
&lt;br /&gt;
[c]NameResolvingService=resolvconf[/c]&lt;br /&gt;
&lt;br /&gt;
The rest is copied from Debian Wiki [https://wiki.debian.org/WiFi/HowToUse#iwd WiFiHowToUse]&lt;br /&gt;
&lt;br /&gt;
== IWCtl ==&lt;br /&gt;
While also available as backend for ConnMan, NetworkManager, and systemd-networkd, it&#039;s also possible to nearly base your entire networking stack on one codebase with IWD alone. It&#039;s an all-in-one wireless client, wireless daemon, and even a DHCP client optionally! At its best, your entire networking stack can be as minimal as IWD + systemd-resolved, and this works wonderfully for many scenarios. It has virtually zero dependencies and uses modern kernel features as often as possible. Anecdotal reports suggest that it&#039;s much faster to connect to networks than wpa_supplicant, and has better roaming support, among other perceived improvements. &lt;br /&gt;
&lt;br /&gt;
First, install the iwd package. If you&#039;ve installed wpasupplicant, either uninstall the package, or stop and disable the wpa_supplicant service with: &lt;br /&gt;
 systemctl --now disable wpa_supplicant&lt;br /&gt;
Then, ensure that the newly-installed IWD service is enabled and running with with: &lt;br /&gt;
 systemctl --now enable iwd&lt;br /&gt;
&lt;br /&gt;
=== Network Configuration ===&lt;br /&gt;
If you plan to go the route of using IWD standalone, you should first enable some essential features in IWD&#039;s configuration file, which can be found at &amp;lt;code&amp;gt;/etc/iwd/main.conf&amp;lt;/code&amp;gt;. Edit this file with root permissions using your favorite editor. &lt;br /&gt;
&lt;br /&gt;
iwd can be configured to configure the network on its own, without requiring external tools or systems to do so. To enable network configuration, add this section to the configuration file: &lt;br /&gt;
 [General]&lt;br /&gt;
 EnableNetworkConfiguration=true&lt;br /&gt;
Static network configuration can be specified in iwd&#039;s network configuration files, as documented in &amp;lt;code&amp;gt;man iwd.network&amp;lt;/code&amp;gt; and in the iwd wiki. As per &amp;lt;code&amp;gt;man iwd.config&amp;lt;/code&amp;gt;, &amp;quot;If no static IP  configuration has been provided for a network, iwd will attempt to obtain the dynamic addresses from the  network through the built-in DHCP client.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
==== IPv6 ====&lt;br /&gt;
To enable IPv6 support, add this section to the configuration file: &lt;br /&gt;
 [Network]&lt;br /&gt;
 EnableIPv6=true&lt;br /&gt;
&#039;&#039;&#039;Note: IPv6 is still somewhat broken as of version 1.19.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Enabling IPv6 can cause segmentation faults upon connection. Upstream believes that this has been fixed by commit d0f00698245a (&amp;quot;dhcp6: Switch to BOUND before LEASE_OBTAINED&amp;quot;), but acknowledges that &amp;quot;IPv6 support in iwd is still somewhat experimental since we still lack support for SLAAC,&amp;quot; although &amp;quot;DHCPv6 should be mostly functional.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After making changes to iwd&#039;s configuration file, restart the service with &amp;quot;&amp;lt;code&amp;gt;service iwd restart&amp;lt;/code&amp;gt;&amp;quot; to have them take effect. &lt;br /&gt;
&lt;br /&gt;
=== Configuring iwd Via iwctl ===&lt;br /&gt;
Start the IWCtl client by running &amp;lt;code&amp;gt;iwctl&amp;lt;/code&amp;gt; as your standard user (not root!), which will start an interactive prompt. You can run &amp;lt;code&amp;gt;help&amp;lt;/code&amp;gt; to get a full list of commands here. (If you actually want to &#039;&#039;&#039;prevent&#039;&#039;&#039; non-root users from configuring iwd, see the directions here.) &lt;br /&gt;
&lt;br /&gt;
To connect to a Wi-Fi network in the most typical scenario, first type &amp;lt;code&amp;gt;device list&amp;lt;/code&amp;gt; to find the name of your wireless device. We will use &amp;lt;code&amp;gt;wlan0&amp;lt;/code&amp;gt; in this example, but your name may be different, and potentially much longer if your system renames interfaces to a unique name. &lt;br /&gt;
&lt;br /&gt;
After you have the device name, run something like &amp;lt;code&amp;gt;station wlan0 scan&amp;lt;/code&amp;gt; to have the device scan for networks. You can then list these networks by running &amp;lt;code&amp;gt;station wlan0 get-networks&amp;lt;/code&amp;gt;. After you&#039;ve found the network you intend to connect to, run &amp;lt;code&amp;gt;station wlan0 connect Router123&amp;lt;/code&amp;gt;, replacing &amp;lt;code&amp;gt;Router123&amp;lt;/code&amp;gt; with the name of the network. Put the name of the network in double-quotes if it contains a space. (Note that you can use tab completion to enter the network name, and iwd will even help with the quoting.) &lt;br /&gt;
&lt;br /&gt;
IWCtl will then prompt you for the passphrase. After entering this, IWD will connect to the network, and store it permanently in the &amp;lt;code&amp;gt;/var/lib/iwd&amp;lt;/code&amp;gt; directory. After being added in this way, IWD will attempt to auto-connect to the network in the future. &lt;br /&gt;
&lt;br /&gt;
Try running &amp;lt;code&amp;gt;ping 1.1.1.1&amp;lt;/code&amp;gt; to see if you can reach an IP, and then &amp;lt;code&amp;gt;ping gnu.org&amp;lt;/code&amp;gt; to see if you can reach a domain. If you can&#039;t reach an IP, something&#039;s gone horribly wrong when connecting to the network. If you can&#039;t reach a domain but you can reach an IP, you&#039;ll need to configure your DNS. The simplest way to accomplish that is ... &lt;br /&gt;
&lt;br /&gt;
=== Setting up DNS resolution for IWD (Simple) ===&lt;br /&gt;
If &amp;quot;EnableNetworkConfiguration=true&amp;quot; is set, you&#039;ll also need to configure IWD&#039;s name resolving service. It supports systemd-resolved and resolvconf. If unspecified, it uses systemd-resolved. Refer to the IWD.CONFIG(5) page if you care about using resolvconf instead. &lt;br /&gt;
&lt;br /&gt;
If DNS is nonfunctional, you likely need to configure systemd-resolved for use with IWD. Enable and start the systemd-resolved service, if it isn&#039;t already, by running: &lt;br /&gt;
 systemctl enable --now systemd-resolved&lt;br /&gt;
Then, symlink &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/run/systemd/resolve/stub-resolv.conf&amp;lt;/code&amp;gt; by running: &lt;br /&gt;
 # ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf&lt;br /&gt;
That should be enough to get you online. If you want to make changes to your DNS configuration, refer to the &amp;lt;code&amp;gt;/etc/systemd/resolved.conf&amp;lt;/code&amp;gt; file, and the associated manual page at RESOLVED.CONF(5)&lt;br /&gt;
[[index.php?title=Category:HowTo]]&lt;br /&gt;
[[index.php?title=Category:Wifi]]&lt;/div&gt;</summary>
		<author><name>Sunrat</name></author>
	</entry>
</feed>