I have a JetsonNano with Edimax N150 adapter.I am not able to connect to wifi unless I login graphically.Therefore I cannot ssh till I login via a graphical interface.
sudo nmcli dev wifi connect (WIRELESS NAME) password (PASSWORD)
Replace the brackets with respective fields