Hello,
I probably have you completely wrong here but you just want to connect to WiFi, right? Use connmanctl:
so,
first you type the cmd, connmanctl.
Then, you type, depending on your image, set up and kernel, services.
Then, type in the terminal agent on.
Then, type connect wifi_boo_far_managed_psk. You could copy it and then paste it if that is easier. Then, the passphrase will be asked and you have to enter your passphrase.
Seth
P.S. If it gets more complicated and you are still having trouble, please reply.