I'm working on an embedded device with a limited amount of programs for managing the network.
I ended up using the command:
iwconfig wlan1 essid "myWifi" key "s:password"
At times this works but I have to run
dhclient wlan1 after.
Can someone break down this
It seems that running the command above doesn't actually cause my interface to make a connection. It just tells it what to connect to when it does connect?
Also how should I go about logging the results of using this command?