Skip to content

ecceman/wlan-stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wlan-stat

Polybar WLAN status module that shows more details.

alt text

Useful for WLAN troubleshooting, probably most interesting for network technicians. Shows

  • SSID name
  • Signal strength in dBm
  • Channel
  • Channel bandwidth
  • AP Mac address that is resolved to AP name if found in ap-list.csv file

Since SSID addresses are usually generated only the first 11 characters are matched when resolving the AP name.

Install/usage

  • Modify the wnic variable in the python script.
  • Install Font-Awesome for WLAN symbol or match your polybar font config
  • Allow current user to run sudo commands without password: iwlist, iw, e.g. by editing /etc/sudoers:
username    ALL = NOPASSWD: /usr/sbin/iwlist, /usr/sbin/iw
  • Example polybar config:
[module/wlan-stat]
type = custom/script
exec = python3 ~/.config/polybar/wlan-stat.py
label = %output%
interval = 2
format-underline = #9f78e1
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}

About

Polybar WLAN status module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages