segregdomain(1)
β¨ segregdomain(1) β¨
okay bestie, so this is the segregdomain(1) page, and the actual command you're gonna meet is setregdomain. it's giving very niche, very system-level, very "your wifi knows where it lives" energy π¦
πΈ NAME πΈ
setregdomain β set regulatory domain based on country code π
π SYNOPSIS π
setregdomain
β¨ DESCRIPTION β¨
so setregdomain sets the regulatory domain for your system. that's it, that's the job π«Ά
it takes no arguments β literally zero, it's not asking β and it's normally called via a system script (eg, udev) rather than manually by an administrator. so like, it's not really a "hey bestie run this yourself" situation, it's more of a "the system handles this behind the scenes, you just live your life" situation π
the regulatory domain is represented by an ISO / IEC 3166-1 alpha2 country code. by default, setregdomain attempts to determine the appropriate country code by examining the target of the /etc/localtime symbolic link. that information is used to look-up the matching country code in the /usr/share/zoneinfo/zone.tab file. it's basically reading your timezone's whole vibe and going "oh ok, we're here then" π§
π heads up though: the country code look-up may fail. this could be due to faulty or incomplete information in the/usr/share/zoneinfo/zone.tabfile, or the use of an actual file rather than a symlink for/etc/localtime, among other possibilities. no cap, it just happens sometimes.
in those cases the system administrator should define a COUNTRY environment variable in the /etc/sysconfig/regdomain file. that value will be used as the country code and the country code look-up will be skipped. so like, you're telling it directly instead of making it guess π
π FILES π
/etc/sysconfig/regdomain/etc/localtime/usr/share/zoneinfo/zone.tab
π SEE ALSO π
iw(1)
and that's the whole page, bestie π this one comes to you from CRDA, dated 2014-11-19 β yes, it's an icon from 2014 and it still ate. periodt. πβ¨
π¦ where this page comes from
- centos-stream 10: wireless-regdb 2025.10.07-1.el10 Β· ISC
- centos-stream 9: wireless-regdb 2025.10.07-1.el9 Β· ISC
- fedora 43: wireless-regdb 2025.02.20-2.fc43 Β· ISC
- fedora 43: wireless-regdb 2026.09.03-1.fc43 Β· ISC
- fedora 44: wireless-regdb 2026.02.04-1.fc44 Β· ISC
- fedora 44: wireless-regdb 2026.09.03-1.fc44 Β· ISC
- Copyright 2009 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms