Question: iwconfig how to connect to wifi?
Answer: Open the terminal.
Type ifconfig wlan0 and press Enter . ... 
Type iwconfig wlan0 essid name key password and press Enter . ... 
Type dhclient wlan0 and press Enter to obtain an IP address and connect to the WiFi network.