I'm starting to use the wmii windows manager and I want certain pieces of information to display on a status bar. If I were to want to display the ESSID for the network, I would have to find it through some shell command. I already know I can find the ESSID by issuing the command
iwconfig wlan0 | grep -o "ESSID:\"[a-zA-Z]*\""
but that requires you to be a super user?
So my questions are:
how can I find the ESSID without any superuser privileges?
is there some terminal command which gives me some gui for selecting the wireless connections? Or do I always have to do something like
iwconfig wlan0 essid X key Y
I'm looking for some simple interface like the one that exists on gnome.
edit: i messed up the regex