Bug 261025 - Advanced networking: the FreeBSD Handbook exemplifies a wrong code for setting the correct region
Summary: Advanced networking: the FreeBSD Handbook exemplifies a wrong code for settin...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sergio Carlavilla Delgado
URL: https://docs.freebsd.org/en/books/han...
Keywords:
Depends on:
Blocks: handbook-2022
  Show dependency treegraph
 
Reported: 2022-01-08 04:00 UTC by Graham Perrin
Modified: 2023-07-13 11:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-01-08 04:00:43 UTC
> … The available region definitions can be found in /etc/regdomain.xml. …

Bug 261024 for regdomain.xml referring to a nonexistent file. 


> # ifconfig wlan0 regdomain ETSI country AT

> # sysrc create_args_wlan0="country AT regdomain ETSI"

According to <https://github.com/freebsd/freebsd-src/blob/2ad93dade70a9c98174fc87d0cd24fd54bd0d120/lib/lib80211/regdomain.xml#L1495-L1497> the code for AT is _not_ ETSI. 

Instead, lowercase and with a '2': 

    etsi2
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-07-13 11:51:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=b53c91d38c726ca637a3ff87593ac9d180572d98

commit b53c91d38c726ca637a3ff87593ac9d180572d98
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2023-07-13 11:49:39 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-07-13 11:49:39 +0000

    Handbook - Fix regdomain code for Austria in network chapter

    PR:             261025
    Submitted by:   grahamperrin@
    Sponsored by:   Daifressh

 documentation/content/en/books/handbook/network/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-07-13 11:52:11 UTC
Fixed in the documentation.
src team will fix the problem in base system