Thank you so much for replying. When I try to set it to psk or psk2 I get the error "Failed to start hostapd for phy0" and the wifi wont come up. I have tried to .
I have tried to refer to some additional pages on google but they show steps to install additional packages. I was also reading
http://wiki.openwrt.org/doc/uci/wireless and
http://wiki.openwrt.org/doc/uci/encryption
but it is not clear if I need to install anything extra.