On 5/13/23 11:17, to...@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/>