On 13/5/23 22:22, gene heskett wrote:
On 5/13/23 05:35, hl wrote:
freebsd ask me regdomain/country of wifi when i set up wifi
my wifi works in buster, how to find out regdomain/country it uses?
https://wiki.freebsd.org/action/show/WiFi/RegulatoryDomainSupport?action=show&redirect=WiFiRegulatory
To view the current list of regulatory domains and SKUs:
# ifconfig wlan0 list countries
To view the current regulatory domain frequency and operating modes:
# ifconfig wlan0 list regdomain
but ifconfig isn't available in buster
I've got an old, now shoved under the bus and sold to the money cats,
1st phone ticket in my billfold, issued back when it meant something,
and I am also a CET, teaching EE's how to get their hands dirty if
needed. This gentleman's concern is very real, with potentially costly
results in this world of everything being made in china with no regard
for our laws.
Unless there is a replacement utility that will supply him with the info
he needs the legal consequences exposure is an unknown.
ip does not in my man reading, offer similar performance. Is there a
replacement utility for ifconfig that will supply this info?
Cheers, Gene Heskett.
Having viewed the web page at the URL cited by the original poster, to
me, the original poster's question is "Why does this FreeBSD command not
work on Linux?"
The command and the options, as stated in the original post, are in the
exact format and syntax, specified explicitly for FreeBSD, and, not for
Linux.
I have ifconfig installed and operational.
Did the original poster (and, the poster above), type
man ifconfig
to find what options are available on the distribution and version
number of Linux, that they have installed?
The syntax as cited in the original post, is not available for the
version of ifconfig that I have installed.
See also
https://unix.stackexchange.com/questions/629134/how-to-set-country-region-for-wifi-globally-in-linux-mint-20
https://wiki.archlinux.org/title/Network_configuration/Wireless
to find the information that is sought.
Perhaps, both posters above, should try searching (with something like
the Borg search engine named google), for how to find the relevant
information on the distribution and version number of Linux, that they
have installed, rather than complaining that a FreeBSD command does not
work on it?
..
Bret Busby
Armadale
West Australia
(UTC+0800)
..............