Finally figured it out. I have been trying to get my GUI less fedora system connected to my wlan since yesterday afternoon. I tried using iwconfig but i don’t seem to understand how to use it, especially on how to correctly specify the passphrase with the “key” option. I googled and read about cnetworkmanager. It worked for me. Syntax is straightforward.
This is how i used it to connect to my wlan:
# cnetworkmanager –connect=[MY_SSID] –wpa-pass=[my_pass_phrase]
And (i think) to disconnect:
# cnetworkmanager –wifi=false
Use –help option to print out the full list of options.
This page gives the result of the execution of some of the options:
http://vidner.net/martin/software/cnetworkmanager/screenshots.html