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
This commit is contained in:
parent
34ae36acee
commit
4ad60d5be9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53132
1 changed files with 21 additions and 0 deletions
|
|
@ -893,6 +893,27 @@ device ath_rate_sample # SampleRate tx rate control for ath</programlisting>
|
|||
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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue