From owner-svn-doc-head@freebsd.org Sun Jun 9 16:55:42 2019 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CD2F15CBB1F; Sun, 9 Jun 2019 16:55:42 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCE4677698; Sun, 9 Jun 2019 16:55:41 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 943715D35; Sun, 9 Jun 2019 16:55:41 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x59Gtf09079774; Sun, 9 Jun 2019 16:55:41 GMT (envelope-from bcr@FreeBSD.org) Received: (from bcr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x59GtfPV079773; Sun, 9 Jun 2019 16:55:41 GMT (envelope-from bcr@FreeBSD.org) Message-Id: <201906091655.x59GtfPV079773@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bcr set sender to bcr@FreeBSD.org using -f From: Benedict Reuschling Date: Sun, 9 Jun 2019 16:55:41 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53132 - head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Group: doc-head X-SVN-Commit-Author: bcr X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Commit-Revision: 53132 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BCE4677698 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2019 16:55:42 -0000 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 + + + Setting the Correct Region + + 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. + + The available region definitions can be found in + /etc/regdomain.xml. To set the data at + runtime, use ifconfig: + + &prompt.root; ifconfig wlan0 regdomain ETSI country AT + + To persist the settings, add it to + /etc/rc.conf: + + &prompt.root; sysrc create_args_wlan0="country AT regdomain ETSI" +