Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #258232 > unrolled thread
| Started by | gene heskett <gheskett@shentel.net> |
|---|---|
| First post | 2023-05-13 16:30 +0200 |
| Last post | 2023-05-16 13:10 +0200 |
| Articles | 8 — 6 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: how to find out regdomain/country of wifi network gene heskett <gheskett@shentel.net> - 2023-05-13 16:30 +0200
Re: how to find out regdomain/country of wifi network Bret Busby <bret@busby.net> - 2023-05-13 16:50 +0200
Re: how to find out regdomain/country of wifi network <tomas@tuxteam.de> - 2023-05-13 17:20 +0200
Re: how to find out regdomain/country of wifi network gene heskett <gheskett@shentel.net> - 2023-05-13 18:00 +0200
Re: how to find out regdomain/country of wifi network tomas@tuxteam.de - 2023-05-13 18:40 +0200
Re: how to find out regdomain/country of wifi network gene heskett <gheskett@shentel.net> - 2023-05-14 01:00 +0200
Re: how to find out regdomain/country of wifi network David Wright <deblis@lionunicorn.co.uk> - 2023-05-14 06:00 +0200
Re: how to find out regdomain/country of wifi network Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-05-16 13:10 +0200
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-05-13 16:30 +0200 |
| Subject | Re: how to find out regdomain/country of wifi network |
| Message-ID | <GuYpX-8Dkp-3@gated-at.bofh.it> |
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. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
[toc] | [next] | [standalone]
| From | Bret Busby <bret@busby.net> |
|---|---|
| Date | 2023-05-13 16:50 +0200 |
| Message-ID | <GuYJj-8Dr8-11@gated-at.bofh.it> |
| In reply to | #258232 |
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) ..............
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2023-05-13 17:20 +0200 |
| Message-ID | <GuZcl-8DQe-5@gated-at.bofh.it> |
| In reply to | #258232 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, May 13, 2023 at 10:22:50AM -0400, gene heskett wrote: [...] > ip does not in my man reading, offer similar performance. Is there a > replacement utility for ifconfig that will supply this info? Sigh. Yes. There is a replacement. It is called ifconfig. Package net-tools, as `apt-file search' has surely told you. FWIW, I have *both* ifconfig and ip installed. I use *both*. Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-05-13 18:00 +0200 |
| Message-ID | <GuZP4-8E3O-3@gated-at.bofh.it> |
| In reply to | #258242 |
On 5/13/23 11:17, tomas@tuxteam.de wrote: > On Sat, May 13, 2023 at 10:22:50AM -0400, gene heskett wrote: > > [...] > >> ip does not in my man reading, offer similar performance. Is there a >> replacement utility for ifconfig that will supply this info? > > Sigh. Yes. There is a replacement. It is called ifconfig. Package > net-tools, as `apt-file search' has surely told you. > > FWIW, I have *both* ifconfig and ip installed. I use *both*. > > Cheers Unfortunately Tomas, neither util knows anything about radio's. Someone just reminded me that iw is now the tool. I've found that /sbin/iw can output regulatory info, but the shorthand used is a bit opaque. From my one lonesome wifi equipt rpi4b: pi@rpi4:~ $ /sbin/iw reg get global country US: DFS-FCC (2402 - 2472 @ 40), (N/A, 30), (N/A) (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS (5735 - 5835 @ 80), (N/A, 30), (N/A) (57240 - 63720 @ 2160), (N/A, 40), (N/A) I have all of mine turned off and everything is wired to prevent the AH across the street from using my bandwidth to watch his porn. He had a utility on his cell phone capable of hijacking my radios. I hear he is back in the hotel for the 2nd time. Life in the neighborhood is much improved w/o him. iw's output seems complete even if there is no radio, which the bpi's don't have, but from bpi54: gene@bpi54:~$ /sbin/iw reg get global country 00: DFS-UNSET (2402 - 2472 @ 40), (6, 20), (N/A) (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN (57240 - 63720 @ 2160), (N/A, 0), (N/A) note the 00: DFS-UNSET for country. the board doesn't even have a socket for a radio, but in practice its a supercharged rpi4b for $65 USD at alliexpress. I have yet to find something an rpi4b can do that the bpi's can't do. I have a sw problem with cups but I suspect its a software fix too. Just got to find the magic mushroom. ;o)> Take care & stay well, Tomas. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
[toc] | [prev] | [next] | [standalone]
| From | tomas@tuxteam.de |
|---|---|
| Date | 2023-05-13 18:40 +0200 |
| Message-ID | <Gv0rL-8EvU-11@gated-at.bofh.it> |
| In reply to | #258244 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, May 13, 2023 at 11:55:57AM -0400, gene heskett wrote: [...] > Unfortunately Tomas, neither util knows anything about radio's. As far as I know they never did. > Someone > just reminded me that iw is now the tool. I've found that /sbin/iw can > output regulatory info, but the shorthand used is a bit opaque. From my one > lonesome wifi equipt rpi4b: Yes, I think that one is your buddy. > pi@rpi4:~ $ /sbin/iw reg get > global > country US: DFS-FCC > (2402 - 2472 @ 40), (N/A, 30), (N/A) > (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW > (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW > (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS > (5735 - 5835 @ 80), (N/A, 30), (N/A) > (57240 - 63720 @ 2160), (N/A, 40), (N/A) > > I have all of mine turned off and everything is wired to prevent the AH > across the street from using my bandwidth to watch his porn. He had a > utility on his cell phone capable of hijacking my radios. I hear he is back > in the hotel for the 2nd time. Life in the neighborhood is much improved w/o > him. > > iw's output seems complete even if there is no radio, which the bpi's don't > have, but from bpi54: > gene@bpi54:~$ /sbin/iw reg get > global > country 00: DFS-UNSET > (2402 - 2472 @ 40), (6, 20), (N/A) > (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN > (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN > (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN > (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN > (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN > (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN > (57240 - 63720 @ 2160), (N/A, 0), (N/A) Hm. As far as I understand the docs, this is telling you about the regulatory database, i.e. how many dB your WiFi is supposed to yell out at which freq depending on where your computer thinks it is. This exists independently of whether your hw is on or off, or on whether you've got any radio hardware at all. Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-05-14 01:00 +0200 |
| Message-ID | <Gv6nw-8IDP-13@gated-at.bofh.it> |
| In reply to | #258247 |
On 5/13/23 18:38, hl wrote: > i try old FreeBSD-12.4, accept default FCC/US though i am not in US, > wifi scan succeeds > > . you did not post it all, if unset you can scan which is rx only, you cannot transmit until its set. That is regulatory edict all over this particular planet. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2023-05-14 06:00 +0200 |
| Message-ID | <Gvb3P-8LtH-1@gated-at.bofh.it> |
| In reply to | #258247 |
On Sun 14 May 2023 at 06:37:52 (+0800), hl wrote: > i try old FreeBSD-12.4, accept default FCC/US though i am not in US, > wifi scan succeeds I don't know how freebsd handles this. In linux, setting the wrong country can only reduce the performance you get, because it's likely that the equipment you're using is already constrained by its burned-in regulatory domain, and any limits (to TX power, channels, etc) are combined. So you might as well get it right. If the page you cited in your OP is up-to-date, then also bear in mind that freebsd claims to use different country codes from the usual ISO ones that linux uses (/usr/share/misc/countries.gz). One of them is Australia, as it happens, a country partly running 8 hours ahead, like wherever you are. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> |
|---|---|
| Date | 2023-05-16 13:10 +0200 |
| Message-ID | <Gw0J3-9ibn-1@gated-at.bofh.it> |
| In reply to | #258247 |
hl <hlyg2023@outlook.com> writes: > i try old FreeBSD-12.4, accept default FCC/US though i am not in US, > wifi scan succeeds Is it out of the question to actually set the regulatory domain to match the country you're in?
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web