View Single Post
Posts: 26 | Thanked: 3 times | Joined on Apr 2010
#1165
I think you'd need root access/sudo to get that info, but 'iwconfig | grep wlan0' will give you the line that you need.

I haven't used qbw before, so I'm not sure if it accepts this command, but to take just ssid out of that line, you'd need to use something like, "cut 34,*". You would need to replace * with the length of the SSID though, so you if you don't know the length of the name, it'll probably look ugly

EDIT: 'iwconfig wlan0 | grep ESSID' would do the same and not have to query the other interfaces

Last edited by Umlungu; 2011-04-10 at 08:52.