Hi everyone,

I want to set up a wireless connection with ubuntu 12.04 .
My my wireless card is not compatible so i used the ndiswrapper to install a windows driver.
I have searched the net for two days now and have got very confused.
The security of the router is WPA/WPA2-PSK with AES.

What do i write in etc/networks/interface?
What is the wpa_supplicant and what should i write in there?
And finally after i edit all these what are the commands to connect?

I don't have GUI, so everything is in terminal.

Any help would be very appreciated because i am very confused.

Thank you.