Is there any encryption in place? What type?
To simply connect to an unencrypted AP, you would run a command like:
Code:
iwconfig DEVICE mode managed essid SSID
That would tell the given WLAN device to go into client mode and connect to the network with the given SSID. After that you would need to assign TCP/IP information, either manually or more likely though DHCP.