svn commit: r53132 - head/en_US.ISO8859-1/books/handbook/advanced-networking
Benedict Reuschling
bcr at FreeBSD.org
Sun Jun 9 16:55:42 UTC 2019
Author: bcr
Date: Sun Jun 9 16:55:41 2019
New Revision: 53132
URL: https://svnweb.freebsd.org/changeset/doc/53132
Log:
Add instructions on how to configure the regulatory domain settings for wifi.
Submitted by: Albert Dengg
Event: Vienna Hackathon 2019
Differential Revision: https://reviews.freebsd.org/D20573
Modified:
head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Sun Jun 9 16:32:33 2019 (r53131)
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Sun Jun 9 16:55:41 2019 (r53132)
@@ -893,6 +893,27 @@ device ath_rate_sample # SampleRate tx rate control
ath0: [ITHREAD]
ath0: AR2413 mac 7.9 RF2413 phy 4.5</screen>
</sect3>
+
+ <sect3>
+ <title>Setting the Correct Region</title>
+
+ <para>Since the regulatory situation is different
+ in various parts of the world, it is necessary to
+ correctly set the domains that apply to your location to
+ have the correct information about what channels can be
+ used.</para>
+
+ <para>The available region definitions can be found in
+ <filename>/etc/regdomain.xml</filename>. To set the data at
+ runtime, use <command>ifconfig</command>:</para>
+
+ <screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> regdomain <replaceable>ETSI</replaceable> country <replaceable>AT</replaceable></userinput></screen>
+
+ <para>To persist the settings, add it to
+ <filename>/etc/rc.conf</filename>:</para>
+
+ <screen>&prompt.root; <userinput>sysrc create_args_wlan0="country <replaceable>AT</replaceable> regdomain <replaceable>ETSI</replaceable>"</userinput></screen>
+ </sect3>
</sect2>
<sect2>
More information about the svn-doc-head
mailing list