How to configure static IP on wifi

Hi,

How can I configure static IPv4 addressing, WPA based security on the BeagleBone Black. The BBB detects and identifies my wifi USB dongle correctly, but for some strange reason I am unable to configure static IPv4 based addressing, with WPA security.

I have tried the tutorial on http://learn.adafruit.com/beaglebone/wifi and derekmolloy’s tutorial on setting up static IP on ethernet, none of these work for the wifi.

I am using an external 5VDC adapter and ethernet is not connected to the BBB while running wifi.

Please help…

thanks
a