WIFI configure with wpa encryption

Hey i just finish to install the OS (kfce of ubuntu) on my BB and im
trying to connect to my wifi at home.

1) I have a usb wifi adapter of Edimax and another one, TREDnet -
TEW-424UB, does this cards will work on the BB?

2) I change the Interface file and add these lines:

auto wlan0
iface wlan0 inet dhcp
wpa-ssid MYHOME
wpa-password MYPASSWORD

But i get a set encode error.

3) Is there any application that will do all this automatic with GUI?

Hello,

Hey i just finish to install the OS (kfce of ubuntu) on my BB and im
trying to connect to my wifi at home.

1) I have a usb wifi adapter of Edimax and another one, TREDnet -
TEW-424UB, does this cards will work on the BB?

Trendnet makes a ton of different adapters with random chip-sets.
Please post your lsusb and pastebin your dmesg log..

2) I change the Interface file and add these lines:

auto wlan0
iface wlan0 inet dhcp
wpa-ssid MYHOME
wpa-password MYPASSWORD

But i get a set encode error.

3) Is there any application that will do all this automatic with GUI?

sudo apt-get install network-manager

Regards,