Re: which X11 app can show wifi info

2022-06-15 Thread David Wright
On Wed 15 Jun 2022 at 11:16:40 (+0200), Vincent Lefevre wrote:
> On 2022-06-15 00:19:54 -0500, David Wright wrote:
> > On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote:
> > > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > > No issues with iwlist and nmcli.
> > > > 
> > > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > > when run as root.
> > > 
> > > For security reasons, I don't want to run them as root.
> > 
> > Then don't run them? You can put  wpa_cli status  into sudoers
> > so that it will only run with that command.
> > 
> > > The iwlist and nmcli utilities don't need root to work correctly.
> > 
> > Run them then?
> 
> The OP wanted an X11 app,

I'm aware of that, and I did say that I didn't know of one.

I only use wpasupplicant on one machine that has a flaky wifi, which
doesn't get on well with iwd. (It's a 2004-vintage laptop.) I
configure/check/debug the wifi at the console. Waiting for X to drag
itself into existence before checking out the wifi would be a big
time waster. So I don't install wpagui, don't know what it does,
don't know how it does it.

> while iwlist and nmcli are just command-line
> utilities (though one may want to write a script to show information
> in an X11 app, a text terminal or something else?). But my remark was
> mainly: the iwlist and nmcli utilities can get the information as a
> normal user, so there is a major limitation in wpa_gui and wpa_cli.

Yes, thanks for the wishlist bug.

When the demise of wicd became apparent (wicd hides the need to know
anything about wpasupplicant), I looked around for a replacement, and
came across:

https://lwn.net/Articles/770991/

That article put a damper on my reading up on anything about
wpasupplicant for the time being. I've found iwd works nicely
in bullseye, but don't bother with the buster version (which
is way back in the iwd development cycle).

Cheers,
David.



Re: which X11 app can show wifi info

2022-06-15 Thread Brian
On Wed 15 Jun 2022 at 13:38:06 +0200, Vincent Lefevre wrote:

> On 2022-06-15 12:14:19 +0100, Brian wrote:
> > On Wed 15 Jun 2022 at 12:45:23 +0200, Vincent Lefevre wrote:
> > 
> > > On 2022-06-15 10:32:58 +0100, Brian wrote:
> > > > On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:
> > > > > The OP wanted an X11 app, while iwlist and nmcli are just command-line
> > > > > utilities (though one may want to write a script to show information
> > > > > in an X11 app, a text terminal or something else?). But my remark was
> > > > > mainly: the iwlist and nmcli utilities can get the information as a
> > > > > normal user, so there is a major limitation in wpa_gui and wpa_cli.
> > > > 
> > > > This limitation does not exist. wpa_gui and wpa_cli are both capable
> > > > of being run as a mormal user.
> > > 
> > > So, why do I get a "Could not connect to wpa_supplicant" error
> > > with the default configuration?
> > 
> > Because wpa_supplicant is not aware of GROUP=netdev. See my other
> > post in this thread.
> 
> So, that's a limitation. There is no such limitation with other tools
> (iwconfig, nmcli, and in the past, wicd), which work as a normal user
> without needing anything special.

So, we will have it as a limitation. However, it is long-standing and
wpa_gui has efficiently managed connections here for a non-root user
for some time, which is all I ask of it. I can live with it.

Maybe wpa_cli and wpa_gui will eventually become dbus-aware.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 13:59:44 +0300, Reco wrote:
> On Wed, Jun 15, 2022 at 11:33:00AM +0200, Vincent Lefevre wrote:
> > On 2022-06-15 09:43:50 +0300, Reco wrote:
> > > First example they provide in wpa_supplicant.conf(5) shows the way to
> > > use wpa_cli sensibly without being root.
> > > One just needs to define a group for wpa_supplicant's control
> > > socket, like this:
> > > 
> > > ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
> > 
> > This is either overkill (with a security risk, e.g. if this can allow
> > the user to become root),
> 
> It cannot allow that, barring the security bugs in wpa_supplicant.
> It does give the user full control over a wpa_supplicant process though
> (i.e. associate with arbitrary AP, terminate the process, etc).

OK. I suppose that this should be the goal if the user is in the
netdev group (I hope that if the user can terminate the process,
then he can also restart it).

> > or Debian should have done that by default.
> 
> That's my option too, but wpasupplicant package does not provide
> wpa_supplicant.conf by default.
> README.Debian should mention that bit of configuration probably.

Well, the wpasupplicant package could provide a default config file
(most packages do). I've just submitted a wishlist bug:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012844

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 12:14:19 +0100, Brian wrote:
> On Wed 15 Jun 2022 at 12:45:23 +0200, Vincent Lefevre wrote:
> 
> > On 2022-06-15 10:32:58 +0100, Brian wrote:
> > > On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:
> > > > The OP wanted an X11 app, while iwlist and nmcli are just command-line
> > > > utilities (though one may want to write a script to show information
> > > > in an X11 app, a text terminal or something else?). But my remark was
> > > > mainly: the iwlist and nmcli utilities can get the information as a
> > > > normal user, so there is a major limitation in wpa_gui and wpa_cli.
> > > 
> > > This limitation does not exist. wpa_gui and wpa_cli are both capable
> > > of being run as a mormal user.
> > 
> > So, why do I get a "Could not connect to wpa_supplicant" error
> > with the default configuration?
> 
> Because wpa_supplicant is not aware of GROUP=netdev. See my other
> post in this thread.

So, that's a limitation. There is no such limitation with other tools
(iwconfig, nmcli, and in the past, wicd), which work as a normal user
without needing anything special.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-15 Thread Reco
On Wed, Jun 15, 2022 at 11:33:00AM +0200, Vincent Lefevre wrote:
> On 2022-06-15 09:43:50 +0300, Reco wrote:
> > Hi.
> > 
> > On Wed, Jun 15, 2022 at 03:30:53AM +0200, Vincent Lefevre wrote:
> > > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > > No issues with iwlist and nmcli.
> > > > 
> > > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > > when run as root.
> > > 
> > > For security reasons, I don't want to run them as root.
> > 
> > First example they provide in wpa_supplicant.conf(5) shows the way to
> > use wpa_cli sensibly without being root.
> > One just needs to define a group for wpa_supplicant's control socket, like 
> > this:
> > 
> > ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
> 
> This is either overkill (with a security risk, e.g. if this can allow
> the user to become root),

It cannot allow that, barring the security bugs in wpa_supplicant.
It does give the user full control over a wpa_supplicant process though
(i.e. associate with arbitrary AP, terminate the process, etc).


> or Debian should have done that by default.

That's my option too, but wpasupplicant package does not provide
wpa_supplicant.conf by default.
README.Debian should mention that bit of configuration probably.


> > > The iwlist and nmcli utilities don't need root to work correctly.
> > 
> > I don't know about iwlist, but nmcli uses dbus to communicate with
> > NetworkManager. From the security standpoint, such approach clearly
> > loses to the simple unix socket communication restricted by natural
> > POSIX permissions.
> 
> Actually, that's iwconfig that gives interesting information, such
> as the current ESSID, and it doesn't need to be run as root either.

So is "iw dev ... info", which uses "modern" communication via
AF_NETLINK socket.

Reco



Re: which X11 app can show wifi info

2022-06-15 Thread Brian
On Wed 15 Jun 2022 at 12:45:23 +0200, Vincent Lefevre wrote:

> On 2022-06-15 10:32:58 +0100, Brian wrote:
> > On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:
> > > The OP wanted an X11 app, while iwlist and nmcli are just command-line
> > > utilities (though one may want to write a script to show information
> > > in an X11 app, a text terminal or something else?). But my remark was
> > > mainly: the iwlist and nmcli utilities can get the information as a
> > > normal user, so there is a major limitation in wpa_gui and wpa_cli.
> > 
> > This limitation does not exist. wpa_gui and wpa_cli are both capable
> > of being run as a mormal user.
> 
> So, why do I get a "Could not connect to wpa_supplicant" error
> with the default configuration?

Because wpa_supplicant is not aware of GROUP=netdev. See my other
post in this thread.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 10:32:58 +0100, Brian wrote:
> On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:
> > The OP wanted an X11 app, while iwlist and nmcli are just command-line
> > utilities (though one may want to write a script to show information
> > in an X11 app, a text terminal or something else?). But my remark was
> > mainly: the iwlist and nmcli utilities can get the information as a
> > normal user, so there is a major limitation in wpa_gui and wpa_cli.
> 
> This limitation does not exist. wpa_gui and wpa_cli are both capable
> of being run as a mormal user.

So, why do I get a "Could not connect to wpa_supplicant" error
with the default configuration?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 09:43:50 +0300, Reco wrote:
>   Hi.
> 
> On Wed, Jun 15, 2022 at 03:30:53AM +0200, Vincent Lefevre wrote:
> > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > No issues with iwlist and nmcli.
> > > 
> > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > when run as root.
> > 
> > For security reasons, I don't want to run them as root.
> 
> First example they provide in wpa_supplicant.conf(5) shows the way to
> use wpa_cli sensibly without being root.
> One just needs to define a group for wpa_supplicant's control socket, like 
> this:
> 
> ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev

This is either overkill (with a security risk, e.g. if this can allow
the user to become root), or Debian should have done that by default.

> Add a user to a netdev group and you're set.

I'm already in the netdev group (this was done automatically at Debian
installation time).

> > The iwlist and nmcli utilities don't need root to work correctly.
> 
> I don't know about iwlist, but nmcli uses dbus to communicate with
> NetworkManager. From the security standpoint, such approach clearly
> loses to the simple unix socket communication restricted by natural
> POSIX permissions.

Actually, that's iwconfig that gives interesting information, such
as the current ESSID, and it doesn't need to be run as root either.
According to strace, it uses a socket and various SIOCGIW* ioctl
calls, e.g. SIOCGIWESSID. I suppose that this is a bit like

http://papermint-designs.com/dmo-blog/2016-08-how-to-get-the-essid-of-the-wifi-network-you-are-connected-to-

(the author also used strace on iwconfig to find the method).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-15 Thread Brian
On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:

> On 2022-06-15 00:19:54 -0500, David Wright wrote:
> > On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote:
> > > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > > No issues with iwlist and nmcli.
> > > > 
> > > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > > when run as root.
> > > 
> > > For security reasons, I don't want to run them as root.
> > 
> > Then don't run them? You can put  wpa_cli status  into sudoers
> > so that it will only run with that command.
> > 
> > > The iwlist and nmcli utilities don't need root to work correctly.
> > 
> > Run them then?
> 
> The OP wanted an X11 app, while iwlist and nmcli are just command-line
> utilities (though one may want to write a script to show information
> in an X11 app, a text terminal or something else?). But my remark was
> mainly: the iwlist and nmcli utilities can get the information as a
> normal user, so there is a major limitation in wpa_gui and wpa_cli.

This limitation does not exist. wpa_gui and wpa_cli are both capable
of being run as a mormal user.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-15 Thread Brian
On Wed 15 Jun 2022 at 09:43:50 +0300, Reco wrote:

>   Hi.
> 
> On Wed, Jun 15, 2022 at 03:30:53AM +0200, Vincent Lefevre wrote:
> > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > No issues with iwlist and nmcli.
> > > 
> > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > when run as root.
> > 
> > For security reasons, I don't want to run them as root.
> 
> First example they provide in wpa_supplicant.conf(5) shows the way to
> use wpa_cli sensibly without being root.

The wpasupplicant documentation also provides a useful README.Debian.

> One just needs to define a group for wpa_supplicant's control socket, like 
> this:
> 
> ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
> 
> Add a user to a netdev group and you're set.

That is the first step but is not quite sufficient. The supplicant
needs to be made aware that the user is in the netdev group. Un my
/e/n/i:

  # The id_str.
  iface home inet dhcp

  # The id_str. 
  # iface home inet static
  #  address 192.168.7.55/24
  #  gateway 192.168.7.1

  allow-hotplug wlx74ea3a93adab
iface wlx74ea3a93adab inet manual
wpa-roam /etc/wpa_supplicant/wpasupplicant.conf

In /etc/wpa_supplicant/wpasupplicant.conf:

  ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev

  network={
  ssid="MI5_Listening_Station_#666"
  psk="Secure"
  proto=WPA
  id_str="home"
  } 
  
> > The iwlist and nmcli utilities don't need root to work correctly.
> 
> I don't know about iwlist, but nmcli uses dbus to communicate with
> NetworkManager. From the security standpoint, such approach clearly
> loses to the simple unix socket communication restricted by natural
> POSIX permissions.

The wpa_supplicant daemon runs with dbus capability.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 00:19:54 -0500, David Wright wrote:
> On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote:
> > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > No issues with iwlist and nmcli.
> > > 
> > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > when run as root.
> > 
> > For security reasons, I don't want to run them as root.
> 
> Then don't run them? You can put  wpa_cli status  into sudoers
> so that it will only run with that command.
> 
> > The iwlist and nmcli utilities don't need root to work correctly.
> 
> Run them then?

The OP wanted an X11 app, while iwlist and nmcli are just command-line
utilities (though one may want to write a script to show information
in an X11 app, a text terminal or something else?). But my remark was
mainly: the iwlist and nmcli utilities can get the information as a
normal user, so there is a major limitation in wpa_gui and wpa_cli.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-15 Thread Reco
Hi.

On Wed, Jun 15, 2022 at 03:30:53AM +0200, Vincent Lefevre wrote:
> On 2022-06-14 15:43:40 +0100, Brian wrote:
> > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > No issues with iwlist and nmcli.
> > 
> > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > when run as root.
> 
> For security reasons, I don't want to run them as root.

First example they provide in wpa_supplicant.conf(5) shows the way to
use wpa_cli sensibly without being root.
One just needs to define a group for wpa_supplicant's control socket, like this:

ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev

Add a user to a netdev group and you're set.

> The iwlist and nmcli utilities don't need root to work correctly.

I don't know about iwlist, but nmcli uses dbus to communicate with
NetworkManager. From the security standpoint, such approach clearly
loses to the simple unix socket communication restricted by natural
POSIX permissions.

Reco



Re: which X11 app can show wifi info

2022-06-14 Thread David Wright
On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote:
> On 2022-06-14 15:43:40 +0100, Brian wrote:
> > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > No issues with iwlist and nmcli.
> > 
> > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > when run as root.
> 
> For security reasons, I don't want to run them as root.

Then don't run them? You can put  wpa_cli status  into sudoers
so that it will only run with that command.

> The iwlist and nmcli utilities don't need root to work correctly.

Run them then? I wasn't aware that iwlist would tell the OP
which AP is the connected one.

I presume nmcli is something to do with NetworkManager, which
I've never installed. But, as I wrote earlier, "I would have
thought that the program by which you connect would be able
to show you all the information it, by definition, knows about
the connection that it set up."

For most machines, I now use iwd, like Celejar.

Cheers,
David.



Re: which X11 app can show wifi info

2022-06-14 Thread Vincent Lefevre
On 2022-06-14 15:43:40 +0100, Brian wrote:
> On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > No issues with iwlist and nmcli.
> 
> /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> when run as root.

For security reasons, I don't want to run them as root.
The iwlist and nmcli utilities don't need root to work correctly.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-14 Thread Brian
On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:

> On 2022-06-11 19:10:09 +0800, lou wrote:
> > On 6/11/22 7:00 PM, Brian wrote:
> > > 
> > > You are associating with a wireless access point. You must be using
> > > wpasupplicant. Have you tried installing wpagui?
> > 
> > Thanks, wpagui seems to work for me.
> 
> wpagui doesn't work at all for me. It doesn't show any adapter.
> But wpa_cli doesn't work either:
> 
> Could not connect to wpa_supplicant: (nil) - re-trying
> 
> while "systemctl status wpa_supplicant.service" says that the service
> is running.
> 
> No issues with iwlist and nmcli.

/usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
when run as root.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-14 Thread Vincent Lefevre
On 2022-06-11 19:10:09 +0800, lou wrote:
> On 6/11/22 7:00 PM, Brian wrote:
> > 
> > You are associating with a wireless access point. You must be using
> > wpasupplicant. Have you tried installing wpagui?
> 
> Thanks, wpagui seems to work for me.

wpagui doesn't work at all for me. It doesn't show any adapter.
But wpa_cli doesn't work either:

Could not connect to wpa_supplicant: (nil) - re-trying

while "systemctl status wpa_supplicant.service" says that the service
is running.

No issues with iwlist and nmcli.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: which X11 app can show wifi info

2022-06-13 Thread Celejar
On Sat, 11 Jun 2022 12:00:35 +0100
Brian  wrote:

> On Sat 11 Jun 2022 at 18:08:24 +0800, lou wrote:
> 
> > On 6/11/22 4:57 PM, Brian wrote:
> > 
> > > You may want wpagui, a graphical frontend for wpasupplicant.
> > 
> > > Use of Qt apps does not involve installing KDE.
> > 
> > 
> > Thanks, but i use ifup/ifdown (not wpasupplicant) to manage network
> > connection.
> 
> You are associating with a wireless access point. You must be using
> wpasupplicant. Have you tried installing wpagui?

JFTR, wpasupplicant is no longer required for WiFi - I use iwd.

-- 
Celejar



Re: which X11 app can show wifi info

2022-06-12 Thread lou

Thank David Wright!

"wpa_cli status" is handy for me



Re: which X11 app can show wifi info

2022-06-11 Thread lou



On 6/11/22 7:00 PM, Brian wrote:


You are associating with a wireless access point. You must be using
wpasupplicant. Have you tried installing wpagui?



Thanks, wpagui seems to work for me.



Re: which X11 app can show wifi info

2022-06-11 Thread Brian
On Sat 11 Jun 2022 at 18:08:24 +0800, lou wrote:

> On 6/11/22 4:57 PM, Brian wrote:
> 
> > You may want wpagui, a graphical frontend for wpasupplicant.
> 
> > Use of Qt apps does not involve installing KDE.
> 
> 
> Thanks, but i use ifup/ifdown (not wpasupplicant) to manage network
> connection.

You are associating with a wireless access point. You must be using
wpasupplicant. Have you tried installing wpagui?

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-11 Thread lou

On 6/11/22 4:57 PM, Brian wrote:


You may want wpagui, a graphical frontend for wpasupplicant.



Use of Qt apps does not involve installing KDE.



Thanks, but i use ifup/ifdown (not wpasupplicant) to manage network 
connection.




Re: which X11 app can show wifi info

2022-06-11 Thread Brian
On Fri 10 Jun 2022 at 08:05:12 +0800, lou wrote:

> i want a small app that show wifi info, including  connected network name
> (wpa-ssid)

You may want wpagui, a graphical frontend for wpasupplicant.
 
> hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster)

Use of Qt apps does not involve installing KDE.

-- 
Brian.



Re: which X11 app can show wifi info

2022-06-10 Thread David Wright
On Fri 10 Jun 2022 at 22:02:11 (-0400), a wrote:
> Sorry, David Wright, i receive your mail late because mail provider
> blocks or deletes your mail without informing me
> 
> i use ifup/ifdown to manage wifi connection

That suggest that wpa_supplicant is actually managing the connection.

> i prefer small app for X Window

I don't know of an app to do that. This command should tell you
what you need to know:

# wpa_cli status

That shoud give you the SSID, the MACs at each end, and so on.

> i might  be unable to receive your future mail
> 
> reply to list so that i might use list archives to read your reply

All my posts go solely to the list.

Cheers,
David.



Re: which X11 app can show wifi info

2022-06-10 Thread a
Sorry, David Wright, i receive your mail late because mail provider 
blocks or deletes your mail without informing me


i use ifup/ifdown to manage wifi connection

i prefer small app for X Window

i might  be unable to receive your future mail

reply to list so that i might use list archives to read your reply




Re: which X11 app can show wifi info

2022-06-10 Thread Eric S Fraga
On Friday, 10 Jun 2022 at 06:33, a wrote:
> nm-applet seems to be part of gnome

I guess it does; I never checked as it runs fine with stumpwm but I
probably have gnome dependencies installed.  Sorry for the noise.

-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-06-07) on Debian 11.3



Re: which X11 app can show wifi info

2022-06-10 Thread a



On 6/10/22 5:49 AM, Eric S Fraga wrote:

On Friday, 10 Jun 2022 at 08:05, lou wrote:

i want a small app that show wifi info, including  connected network
name (wpa-ssid)

nm-applet works for me.  It doesn't show the network explicitly unless
you hover the mouse over the little icon so I don't know if this would
suit your needs.



Thanks!
nm-applet seems to be part of gnome
it doesn't work for me



Re: which X11 app can show wifi info

2022-06-10 Thread Eric S Fraga
On Friday, 10 Jun 2022 at 08:05, lou wrote:
> i want a small app that show wifi info, including  connected network
> name (wpa-ssid)

nm-applet works for me.  It doesn't show the network explicitly unless
you hover the mouse over the little icon so I don't know if this would
suit your needs.

-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-06-07) on Debian 11.3



Re: which X11 app can show wifi info

2022-06-10 Thread lou



On 6/10/22 4:12 PM, Stanislav Vlasov wrote:

пт, 10 июн. 2022 г. в 05:12, lou :

i want a small app that show wifi info, including  connected network
name (wpa-ssid)

You may try gkrellm with gkrellmwireless plugin
I don't use it some years, so it may be wrong answer.


hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster)

It is DE-independed.



Thanks!

i try "gkrellm --plugin /usr/lib/gkrellm2/wireless.so"

it doesn't work as i have hoped for



Re: which X11 app can show wifi info

2022-06-10 Thread Stanislav Vlasov
пт, 10 июн. 2022 г. в 05:12, lou :
> i want a small app that show wifi info, including  connected network
> name (wpa-ssid)

You may try gkrellm with gkrellmwireless plugin
I don't use it some years, so it may be wrong answer.

> hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster)

It is DE-independed.

-- 
Stanislav



Re: which X11 app can show wifi info

2022-06-09 Thread David Wright
On Fri 10 Jun 2022 at 08:05:12 (+0800), lou wrote:
> i want a small app that show wifi info, including  connected network
> name (wpa-ssid)
> 
> hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster)

I would have thought that the program by which you connect would be
able to show you all the information it, by definition, knows about
the connection that it set up. For example, with iwd:

$ systemctl status iwd.service 
● iwd.service - Wireless service
 Loaded: loaded (/etc/systemd/system/iwd.service; enabled; vendor preset: 
enabled)
 Active: active (running) since Thu 2022-06-09 18:17:35 CDT; 3h 11min ago
   Main PID: 520 (iwd)
  Tasks: 1 (limit: 19018)
 Memory: 1.9M
CPU: 742ms
 CGroup: /system.slice/iwd.service
 └─520 /usr/libexec/iwd -d

Jun 09 21:28:18 ahost iwd[520]: src/scan.c:scan_notify() Scan notification New 
Scan Results(34)
Jun 09 21:28:18 ahost iwd[520]: src/netdev.c:netdev_link_notify() event 16 on 
ifindex 3
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_callback() get_scan_callback
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_callback() get_scan_callback
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_callback() get_scan_callback
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_callback() get_scan_callback
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_callback() get_scan_callback
Jun 09 21:28:18 ahost iwd[520]: src/scan.c:get_scan_done() get_scan_done
Jun 09 21:28:18 ahost iwd[520]: src/station.c:station_roam_failed() 3
Jun 09 21:28:18 ahost iwd[520]: src/wiphy.c:wiphy_radio_work_done() Work item 
224 done
$ 

$ iwctl station wlan0 show
 Station: wlan0

  Settable  PropertyValue  

Scanningno
State   connected
Connected network   Cascade5G  
ConnectedBss33:55:77:99:bb:dd   
Frequency   5765
SecurityWPA2-Personal   
RSSI-70  dBm
AverageRSSI -70  dBm
RxMode  802.11n 
RxMCS   11  
TxMode  802.11n 
TxMCS   12  
TxBitrate   18   Kbit/s
RxBitrate   108000   Kbit/s

$ 

Is that the sort of information you want?

Cheers,
David.



which X11 app can show wifi info

2022-06-09 Thread lou
i want a small app that show wifi info, including  connected network 
name (wpa-ssid)


hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster)

Thanks!