nah use connman, i have it installed by default on jessie images. ;)
~$ sudo connmanctl
connmanctl> enable wifi
Enabled wifi
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
*AO Wired ethernet_74d435b65be6_cable
Avenger wifi_14cc201db6f6_4176656e676572_managed_psk
connmanctl> agent on
Agent registered
connmanctl> connect wifi_14cc201db6f6_4176656e676572_managed_psk
Agent RequestInput wifi_14cc201db6f6_4176656e676572_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase? wine n dine
Connected wifi_14cc201db6f6_4176656e676572_managed_psk
connmanctl> quit
check:
sudo ifconfig -a
Regards,
--
Robert Nelson
##connman: WiFi
#
#connmanctl
#connmanctl> tether wifi disable
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> services
#connmanctl> agent on
#connmanctl> connect wifi_*_managed_psk
#connmanctl> quit
root@beaglebone:~# sudo connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided by any
connmanctl> quit
Hope the info helps
Tom
btw, one issue with this new setup, WiFi is slower with the dual
connections, in my testing switching from v4.4.x -> v4.9.x saw an
increase from 55kb/s -> 1,600kb/s
$ cd /opt/scripts/tools/
$ git pull
$ sudo ./update_kernel.sh --ti-kernel --lts-4_9