I have a 2wire wireless dongle that functions perfectly. My issue is how do I set it up under Ubuntu Through the terminal. It operates fine under Ubuntu's network manager. So it is not driver related. I do not know how to manipulate the /etc/network/interfaces file. I have followed many guides but most are for older versions of Ubuntu. I am going to use my computer as a router. The wireless is for receiving the signal and I am going to run my Ethernet card (Output) to another router. My wireless Router that connects to the modem is called "Macias Wirless G" . Its security is wpa2 AES or TKIP (The router actually says "AES OR TKIP").
This is the current state of my interfaces file
auto lo iface lo inet loopback
iface wlan0 inet static
wpa-ssid Macias Wireless G