Re: how to find out regdomain/country of wifi network

2023-05-16 Thread David Wright
On Tue 16 May 2023 at 11:38:27 (+0200), Vincent Lefevre wrote: > On 2023-05-15 23:14:30 -0500, David Wright wrote: > > On Mon 15 May 2023 at 16:38:29 (+0200), Vincent Lefevre wrote: > > > On 2023-05-15 08:36:41 -0500, David Wright wrote: > > > > On Mon 15 May 2023 at 12:51:55 (+0200), Vincent

Re: how to find out regdomain/country of wifi network

2023-05-16 Thread Anssi Saari
hl 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?

Re: how to find out regdomain/country of wifi network

2023-05-16 Thread Vincent Lefevre
On 2023-05-15 23:14:30 -0500, David Wright wrote: > On Mon 15 May 2023 at 16:38:29 (+0200), Vincent Lefevre wrote: > > On 2023-05-15 08:36:41 -0500, David Wright wrote: > > > On Mon 15 May 2023 at 12:51:55 (+0200), Vincent Lefevre wrote: > > > > Under Debian/unstable, i.e. more much recent than

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread David Wright
On Mon 15 May 2023 at 16:38:29 (+0200), Vincent Lefevre wrote: > On 2023-05-15 08:36:41 -0500, David Wright wrote: > > On Mon 15 May 2023 at 12:51:55 (+0200), Vincent Lefevre wrote: > > > Under Debian/unstable, i.e. more much recent than stretch: > > > > > > zira:~> dpkg -s net-tools > > >

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Celejar
On Sat, 13 May 2023 20:29:11 +0200 wrote: > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > On Sat, May 13, 2023, 5:23 AM Jeremy Ardley wrote: > > > > > > > > On 13/5/23 18:17, Nicolas George wrote: > > > > This is your interpretation, not an official stance. It might as

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 12:00:36PM -0400, gene heskett wrote: > On 5/15/23 07:03, Greg Wooledge wrote: > > On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote: > > > I read somewhere that the recent tweaks (improvements?) to > > > ifconfig's output were breaking scripts, which is hardly

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Jeffrey Walton
On Mon, May 15, 2023 at 12:01 PM gene heskett wrote: > [...] > The point is that what can be done in software, can also be undone. I spent a lot of time on Fravia's site back in the 1990's. There was no protection scheme we couldn't break. Or I don't recall one.

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread gene heskett
On 5/15/23 07:03, Greg Wooledge wrote: On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote: I read somewhere that the recent tweaks (improvements?) to ifconfig's output were breaking scripts, which is hardly surprising. I can personally confirm this as true. Some of the machines at

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Andy Smith
Hello, On Mon, May 15, 2023 at 05:15:58PM +0200, Vincent Lefevre wrote: > On 2023-05-15 17:13:31 +0200, Vincent Lefevre wrote: > > No, aptitude removes automatically installed packages for which > > there are no longer any dependencies. > > And there's also "apt autoremove", which I also use.

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Vincent Lefevre
On 2023-05-15 17:13:31 +0200, Vincent Lefevre wrote: > On 2023-05-15 15:09:24 +, Andy Smith wrote: > > On Mon, May 15, 2023 at 04:38:29PM +0200, Vincent Lefevre wrote: > > > Wrong. It got installed automatically. I suppose that this is because > > > this was like that in the past, when I

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Vincent Lefevre
On 2023-05-15 15:09:24 +, Andy Smith wrote: > On Mon, May 15, 2023 at 04:38:29PM +0200, Vincent Lefevre wrote: > > Wrong. It got installed automatically. I suppose that this is because > > this was like that in the past, when I installed the machine in 2015, > > thus before stretch was out. >

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Andy Smith
Hello, On Mon, May 15, 2023 at 04:38:29PM +0200, Vincent Lefevre wrote: > On 2023-05-15 08:36:41 -0500, David Wright wrote: > > (Just guessing: if you installed it, you need it, and better > > hang on to it.) > > Wrong. It got installed automatically. I suppose that this is because > this was

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Vincent Lefevre
On 2023-05-15 08:36:41 -0500, David Wright wrote: > On Mon 15 May 2023 at 12:51:55 (+0200), Vincent Lefevre wrote: > > Under Debian/unstable, i.e. more much recent than stretch: > > > > zira:~> dpkg -s net-tools > > Package: net-tools > > Status: install ok installed > > Priority: important > >

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread David Wright
On Mon 15 May 2023 at 12:51:55 (+0200), Vincent Lefevre wrote: > On 2023-05-13 23:00:23 -0500, David Wright wrote: > > On Sat 13 May 2023 at 18:18:57 (-0400), gene heskett wrote: > > > On 5/13/23 15:40, Greg Wooledge wrote: > > > > On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote:

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote: > I read somewhere that the recent tweaks (improvements?) to > ifconfig's output were breaking scripts, which is hardly surprising. I can personally confirm this as true. Some of the machines at work run a proprietary software product

Re: how to find out regdomain/country of wifi network

2023-05-15 Thread Vincent Lefevre
On 2023-05-13 23:00:23 -0500, David Wright wrote: > On Sat 13 May 2023 at 18:18:57 (-0400), gene heskett wrote: > > On 5/13/23 15:40, Greg Wooledge wrote: > > > On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > > > > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread David Wright
On Mon 15 May 2023 at 06:37:32 (+0200), to...@tuxteam.de wrote: > On Sun, May 14, 2023 at 01:59:10PM -0500, David Wright wrote: > > [...] > > > Final thought from this (lwn) source: > > > > "Software transitions like this are invariably an unwanted > > distraction [...] But the world we live

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread tomas
On Sun, May 14, 2023 at 09:11:55PM +, Andy Smith wrote: > Hello, > > On Sun, May 14, 2023 at 08:08:06PM +0200, to...@tuxteam.de wrote: > > I think the problem here is that the user dreamt up a feature ifconfig > > has never had. At least not the linux ifconfig. > > Yes, it seems their use of

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread tomas
On Sun, May 14, 2023 at 03:44:42PM -0400, Jeffrey Walton wrote: [...] > Boy, this thread reached critical mass and melted down quickly... Probably with a reason (OK, there were some blind alleys around, as that one giving ifconfig powers it never had, at least in Linux distros), but those

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread tomas
On Sun, May 14, 2023 at 01:59:10PM -0500, David Wright wrote: [...] > Final thought from this (lwn) source: > > "Software transitions like this are invariably an unwanted > distraction [...] But the world we live in does not stand > still, so such transitions are simply going to happen

Gene's avahi bogeyman is not real (Was Re: how to find out regdomain/country of wifi network)

2023-05-14 Thread Andy Smith
Dear debian-user archives, On Sun, May 14, 2023 at 02:42:05PM -0400, gene heskett wrote: > I've literally spent a frigging week trying to get iproute to > over-ride the broken 169.xx.xx.xx primary route that earlier > avahi's insisted on putting into a network config, that is why to > this day

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Andy Smith
Hello, On Sun, May 14, 2023 at 08:08:06PM +0200, to...@tuxteam.de wrote: > I think the problem here is that the user dreamt up a feature ifconfig > has never had. At least not the linux ifconfig. Yes, it seems their use of FreeBSD ifconfig led them to believe that ifconfig would work the same on

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Andy Smith
Hello, On Sun, May 14, 2023 at 01:41:40PM -0400, gene heskett wrote: > On 5/14/23 12:09, Andy Smith wrote: > > the arguments for its continued usage are extremely tenuous and > > basically boil down to, "it's always worked for me!" Which is > > fine, but does lead to situations like this where we

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Jeffrey Walton
On Sat, May 13, 2023 at 5:35 AM 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=WiFiRegulatory > > To view the

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread David Wright
On Sun 14 May 2023 at 16:27:31 (-), Curt wrote: > Hence, our plans are to replace net-tools completely with iproute, maybe > leading the route for other distributions to follow. Of course, most people > and > tools use and remember the venerable old interface, so the first step would > be

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread gene heskett
On 5/14/23 12:28, Curt wrote: On 2023-05-14, wrote: So Redhat. But hey, look at packages.debian.org (I know, looking at https://wiki.debian.org/NetToolsDeprecation https://lists.debian.org/debian-devel/2009/03/msg00780.html 2009!! Luk Claes and me, as the current maintainers of

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread tomas
On Sun, May 14, 2023 at 04:27:31PM -, Curt wrote: > On 2023-05-14, wrote: > > > > So Redhat. But hey, look at packages.debian.org (I know, looking at > > https://wiki.debian.org/NetToolsDeprecation > > https://lists.debian.org/debian-devel/2009/03/msg00780.html > > 2009!! > > Luk Claes

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread tomas
On Sun, May 14, 2023 at 04:08:55PM +, Andy Smith wrote: > Hello, > > On Sun, May 14, 2023 at 06:48:59AM +0200, to...@tuxteam.de wrote: > > So no, it doesn't look dead to me. > > It (Linux ifconfig) exists and is still installable but will not be > getting any new features. It also displays

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread gene heskett
On 5/14/23 12:09, Andy Smith wrote: Hello, On Sun, May 14, 2023 at 06:48:59AM +0200, to...@tuxteam.de wrote: So no, it doesn't look dead to me. It (Linux ifconfig) exists and is still installable but will not be getting any new features. It also displays incorrect information for some

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Curt
On 2023-05-14, wrote: > > So Redhat. But hey, look at packages.debian.org (I know, looking at https://wiki.debian.org/NetToolsDeprecation https://lists.debian.org/debian-devel/2009/03/msg00780.html 2009!! Luk Claes and me, as the current maintainers of net-tools, we've been thinking about

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Andy Smith
Hello, On Sat, May 13, 2023 at 06:18:57PM -0400, gene heskett wrote: > On 5/13/23 15:40, Greg Wooledge wrote: > > : > > The ip command is the future of network config commands. ifconfig > > has been officially deprecated for the ip suite,

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread Andy Smith
Hello, On Sun, May 14, 2023 at 06:48:59AM +0200, to...@tuxteam.de wrote: > So no, it doesn't look dead to me. It (Linux ifconfig) exists and is still installable but will not be getting any new features. It also displays incorrect information for some features it does not understand. So the

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread David Wright
On Sun 14 May 2023 at 07:10:02 (+0200), Vincent Lefevre wrote: > On 2023-05-13 18:41:12 +0800, hl wrote: > > On 5/13/23 18:01, Vincent Lefevre wrote: > > > On 2023-05-13 17:19:01 +0800, hl wrote: > > > > but ifconfig isn't available in buster > > > I've used it for many years, and it is still

Re: how to find out regdomain/country of wifi network

2023-05-14 Thread David Wright
On Sun 14 May 2023 at 06:54:25 (+0200), to...@tuxteam.de wrote: > On Sat, May 13, 2023 at 11:00:23PM -0500, David Wright wrote: > > [...] > > > 5.1.3. Noteworthy obsolete packages > > > > The following is a list of known and noteworthy obsolete packages > > (see Section 4.8,

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 18:41:12 +0800, hl wrote: > On 5/13/23 18:01, Vincent Lefevre wrote: > > On 2023-05-13 17:19:01 +0800, hl wrote: > > > but ifconfig isn't available in buster > > I've used it for many years, and it is still there, currently in > > the net-tools package (try "apt-file search

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 10:43:54 -0400, gene heskett wrote: > On 5/13/23 06:02, Jeremy Ardley wrote: > > > > On 13/5/23 17:57, Vincent Lefevre wrote: > > > Moreover, it should not be necessary to be root: you are just > > > reading non-private data. However, "list countries" does not > > > seem to exist. >

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 10:47:33 -0400, gene heskett wrote: > On 5/13/23 06:04, Vincent Lefevre wrote: > > On 2023-05-13 17:56:48 +0800, jeremy ardley wrote: > > > > > > On 13/5/23 17:51, Nicolas George wrote: > > > > Also, ifconfig has nothing to do with wireless, so it was a red herring > > > > from the

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 11:00:23PM -0500, David Wright wrote: [...] > 5.1.3. Noteworthy obsolete packages > > The following is a list of known and noteworthy obsolete packages > (see Section 4.8, “Obsolete packages” for a description). [...] Now this one has more substance. It

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 03:39:50PM -0400, Greg Wooledge wrote: > On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > > Ifconfig has been deprecated in Debian for some years. > > > > It is *not* deprecated. It

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread David Wright
On Sat 13 May 2023 at 18:18:57 (-0400), gene heskett wrote: > On 5/13/23 15:40, Greg Wooledge wrote: > > On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > > > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > > > Ifconfig has been deprecated in Debian for

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread David Wright
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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread hl
i try old  FreeBSD-12.4, accept default FCC/US though i am not in US, wifi scan succeeds

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 15:40, Greg Wooledge wrote: On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: Ifconfig has been deprecated in Debian for some years. It is *not* deprecated. It is just optional, not essential. I

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread debian-user
Greg Wooledge wrote: > On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > > Ifconfig has been deprecated in Debian for some years. > > > > It is *not* deprecated. It is just optional, not essential. >

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Arno Lehmann
Hi hl, Am 13.05.2023 um 11:19 schrieb hl: freebsd ask me regdomain/country of wifi when i set up wifi Shouldn't there be some documentation available? my wifi works in buster, how to find out regdomain/country it uses? Try this: root@redacted:~# iw phy phy0 reg get global country 00:

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Greg Wooledge
On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote: > On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > > Ifconfig has been deprecated in Debian for some years. > > It is *not* deprecated. It is just optional, not essential. I don't know what Debian's official

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote: > On Sat, May 13, 2023, 5:23 AM Jeremy Ardley wrote: > > > > > On 13/5/23 18:17, Nicolas George wrote: > > > This is your interpretation, not an official stance. It might as well be > > > that they considered polluting the

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicholas Geovanis
On Sat, May 13, 2023, 5:23 AM Jeremy Ardley wrote: > > On 13/5/23 18:17, Nicolas George wrote: > > This is your interpretation, not an official stance. It might as well be > > that they considered polluting the completion namespace of users with a > > command they rarely need was less

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 04:25:26PM +, Thomas Schweikle wrote: [...] > This was never the reason for "/bin" vs. "/sbin". "/sbin" held just tools > needed to startup the system and mount the rest. No. You needed *both* /bin and /sbin for start up; /usr/bin and /usr/sbin could come later. One

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
Thomas Schweikle (12023-05-13): > No, not really. But some do have a short memory. Computers used to have > "lots of memory" at some times in the past if they had 64KiB. The Harddisk > used to be large if it had 5MiB available. Systems had to mount drives over > networks to access more storage.

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Thomas Schweikle
Am Sa., 13.Mai.2023 um 12:46:01 schrieb jeremy ardley: On 13/5/23 18:36, to...@tuxteam.de wrote: Ip is by default in /bin, perhaps because it's more "modern". Ifconfig has always been in /sbin, long before Debian existed. -- Some programs are on the root path and some on the user path and

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread David Wright
On Sat 13 May 2023 at 17:19:01 (+0800), 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? For bullseye: $ /sbin/iw reg get global country US: DFS-FCC (902 - 904 @ 2), (N/A, 30), (N/A)

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 08:11, didier gaumet wrote: Hello, some info here: https://www.kernel.org/doc/html/latest/networking/regulatory.html . Some useful info above. Useful to the OP? IDK. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo.

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 06:04, Vincent Lefevre wrote: On 2023-05-13 17:56:48 +0800, jeremy ardley wrote: On 13/5/23 17:51, Nicolas George wrote: Also, ifconfig has nothing to do with wireless, so it was a red herring from the start. wlan0 is an interface like any other and ifconfig works with it For

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 06:02, Jeremy Ardley wrote: On 13/5/23 17:57, Vincent Lefevre wrote: Moreover, it should not be necessary to be root: you are just reading non-private data. However, "list countries" does not seem to exist. Debian 11 seems to have a different opinion on who can run ifconfig. Sudo

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Bret Busby
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=WiFiRegulatory To

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 06:02, Vincent Lefevre wrote: On 2023-05-13 17:19:01 +0800, hl wrote: but ifconfig isn't available in buster I've used it for many years, and it is still there, currently in the net-tools package (try "apt-file search bin/ifconfig"). Thank you Vincent, not ordinarily installed in

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
On 5/13/23 05:39, Jeremy Ardley wrote: On 13/5/23 17:19, hl wrote: 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

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett
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=WiFiRegulatory To view the current list of regulatory

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread David
On Sat, 13 May 2023 at 09: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? [root@satpro ~]# iw help | grep reg reg reload Reload the kernel's regulatory database. phy reg get

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 02:26:58PM +0200, Michel Verdier wrote: > Le 13 mai 2023 jeremy ardley a écrit : > > > The exact reasons are in the mists of time, but it seems likely the powers > > didn't want users to routinely use programs better run by adminstrators. > > As I learned it a long time

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Michel Verdier
Le 13 mai 2023 jeremy ardley a écrit : > The exact reasons are in the mists of time, but it seems likely the powers > didn't want users to routinely use programs better run by adminstrators. As I learned it a long time ago, /bin /sbin are historically for system commands, /usr/bin /usr/sbin for

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread didier gaumet
Hello, some info here: https://www.kernel.org/doc/html/latest/networking/regulatory.html

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
jeremy ardley (12023-05-13): > In some cases sudo is actually required and in some cases it makes no > difference. If you use sudo just to run programs that are not in the default path but do not require privileges, then please keep away from any system I administrate and refrain from giving

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 18:46, jeremy ardley wrote: Some programs are on the root path and some on the user path and most (all?) on both. Correction Most (all?) are on the root path, not including programs specific to a user or application. -- Jeremy (Lists)

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread jeremy ardley
On 13/5/23 18:36, to...@tuxteam.de wrote: Ip is by default in /bin, perhaps because it's more "modern". Ifconfig has always been in /sbin, long before Debian existed. -- Some programs are on the root path and some on the user path and most (all?) on both. The exact reasons are in the mists

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
hl (12023-05-13): > root@debian:~# /sbin/ifconfig  wlx12345 list regdomain > list: Unknown host Told you ifconfig was a red herring. -- Nicolas George signature.asc Description: PGP signature

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread hl
On 5/13/23 18:01, Vincent Lefevre wrote: On 2023-05-13 17:19:01 +0800, hl wrote: but ifconfig isn't available in buster I've used it for many years, and it is still there, currently in the net-tools package (try "apt-file search bin/ifconfig"). Thank Vincent! i install net-tools, but it

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 06:23:00PM +0800, Jeremy Ardley wrote: > > On 13/5/23 18:17, Nicolas George wrote: > > This is your interpretation, not an official stance. It might as well be > > that they considered polluting the completion namespace of users with a > > command they rarely need was less

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 06:14:57PM +0800, Jeremy Ardley wrote: > > On 13/5/23 18:07, Vincent Lefevre wrote: > > You should learn what a run path is. A "command not found" just means > > that the command isn't in your path. So, provide the path explicitly > > or add /sbin to $PATH. > > The reason

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread tomas
On Sat, May 13, 2023 at 06:02:18PM +0800, Jeremy Ardley wrote: > > On 13/5/23 17:57, Vincent Lefevre wrote: > > Moreover, it should not be necessary to be root: you are just > > reading non-private data. However, "list countries" does not > > seem to exist. > > Debian 11 seems to have a

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
Jeremy Ardley (12023-05-13): > The actual reason is they have deprecated it in favour of the ip command No it is not the actual reason, as ifconfig has been in /sbin since way before ip existed. -- Nicolas George signature.asc Description: PGP signature

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 18:17, Nicolas George wrote: This is your interpretation, not an official stance. It might as well be that they considered polluting the completion namespace of users with a command they rarely need was less convenient. The actual reason is they have deprecated it in favour of the

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
Jeremy Ardley (12023-05-13): > The reason it's not on the path is because the Debian designers > thought it would best if users did not routinely run it This is your interpretation, not an official stance. It might as well be that they considered polluting the completion namespace of users with a

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 18:07, Vincent Lefevre wrote: You should learn what a run path is. A "command not found" just means that the command isn't in your path. So, provide the path explicitly or add /sbin to $PATH. The reason it's not on the path is because the Debian designers thought it would best if

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 18:02:18 +0800, Jeremy Ardley wrote: > > On 13/5/23 17:57, Vincent Lefevre wrote: > > Moreover, it should not be necessary to be root: you are just > > reading non-private data. However, "list countries" does not > > seem to exist. > > Debian 11 seems to have a different opinion on

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 17:56:48 +0800, jeremy ardley wrote: > > On 13/5/23 17:51, Nicolas George wrote: > > Also, ifconfig has nothing to do with wireless, so it was a red herring > > from the start. > > wlan0 is an interface like any other and ifconfig works with it For me, since the wireless interface

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
jeremy ardley (12023-05-13): > wlan0 is an interface like any other and ifconfig works with it > > Your issue is you don't have a wlan0 on your particular system so you got an > error. Check before saying something wrong. -- Nicolas George signature.asc Description: PGP signature

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 17:57, Vincent Lefevre wrote: Moreover, it should not be necessary to be root: you are just reading non-private data. However, "list countries" does not seem to exist. Debian 11 seems to have a different opinion on who can run ifconfig. Sudo or root is required. jeremy@client:~$

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 17:19:01 +0800, hl wrote: > but ifconfig isn't available in buster I've used it for many years, and it is still there, currently in the net-tools package (try "apt-file search bin/ifconfig"). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML -

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Vincent Lefevre
On 2023-05-13 17:41:14 +0800, Jeremy Ardley wrote: > On 13/5/23 17:38, Jeremy Ardley wrote: > > ifconfig needs to be run as root or sudo. e.g. > > > > sudoifconfig wlan0 list countries > > Wrong. > > sudo ifconfig wlan0 list countries Wrong again. You must not use no-break spaces. Moreover,

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread jeremy ardley
On 13/5/23 17:51, Nicolas George wrote: Also, ifconfig has nothing to do with wireless, so it was a red herring from the start. wlan0 is an interface like any other and ifconfig works with it Your issue is you don't have a wlan0 on your particular system so you got an error. The OP

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Nicolas George
Jeremy Ardley (12023-05-13): > ifconfig needs to be run as root or sudo. e.g. Wrong. cigaes@ssecem ~ $ sudo ifconfig wlan0 list countries wlan0 list co: error fetching interface information: Device not found cigaes@ssecem ~ $ /sbin/ifconfig wlan0 list countries wlan0 list co: error fetching

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 17:38, Jeremy Ardley wrote: ifconfig needs to be run as root or sudo. e.g. sudoifconfig wlan0 list countries Wrong. sudo ifconfig wlan0 list countries -- Jeremy (Lists)

Re: how to find out regdomain/country of wifi network

2023-05-13 Thread Jeremy Ardley
On 13/5/23 17:19, hl wrote: 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 ifconfig needs to be run as