[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which X11 app can show wifi info



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  Property            Value                                          
--------------------------------------------------------------------------------
            Scanning            no
            State               connected
            Connected network   Cascade5G                                      
            ConnectedBss        33:55:77:99:bb:dd   
            Frequency           5765                
            Security            WPA2-Personal       
            RSSI                -70                  dBm
            AverageRSSI         -70                  dBm
            RxMode              802.11n             
            RxMCS               11                  
            TxMode              802.11n             
            TxMCS               12                  
            TxBitrate           180000               Kbit/s
            RxBitrate           108000               Kbit/s

$ 

Is that the sort of information you want?

Cheers,
David.


Reply to: