Type the command : nmcli dev wifi
The network I wanted to connect to was 2WIRE316
Type the command : nmcli dev wifi connect 2WIRE316 password shhmypassword
nmcli dev wifi connect <SSID> password <YOUPASSWORD>
Give it a few and when you see the terminal is ready for input again you are online.
I hope this helps you out, needless to say, it did for me.