Manually Configuring WiFi? (using iw or iwconfig) (SOLVED with uci cmds)

OK... so no answers from anyone... So I looked some more and am now trying UCI commands.

Problem is,... Then don't work as expected either.

I started with a config;

root@Python:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.hwmode=11ng
wireless.radio0.path=platform/ar933x_wmac
wireless.radio0.htmode=HT20
wireless.radio0.ht_capab=SHORT-GI-20 SHORT-GI-40 RX-STBC1 DSSS_CCK-40
wireless.radio0.channel=auto
wireless.radio0.country=US
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=sta
wireless.@wifi-iface[0].ssid=myOLD_SSID
wireless.@wifi-iface[0].encryption=psk2
wireless.@wifi-iface[0].key=000000000

Then I made changes to make it look like it did when connected to my preferred SSID

root@Python:~# uci set  wireless.@wifi-iface[0].ssid=“MyWirelessNetwork”
root@Python:~# uci set  wireless.@wifi-iface[0].mode=sta
root@Python:~# uci set  wireless.@wifi-iface[0].encryption=wep
root@Python:~# uci set  wireless.@wifi-iface[0].key=myLittleKey

root@Python:~# uci show  wireless
wireless.radio0=wifi-device
(...stuff deleted....)
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=sta
wireless.@wifi-iface[0].ssid=“MyWirelessNetwork”
wireless.@wifi-iface[0].encryption=wep
wireless.@wifi-iface[0].key=myLittleKey
root@Python:~# 
root@Python:~# uci commit wireless
root@Python:~# /etc/init.d/network restart
Successfully initialized wpa_supplicant

Then I wait a couple minutes and check it out...

root@Python:~# iw wlan0 link
Not connected.

So I connect try a full reboot

root@Python:~# reboot
then reconnect and try again.

root@Python:~# iw wlan0 link
Not connected.

But the Yun has restored all the default stuff!!!!

wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].encryption=none
wireless.@wifi-iface[0].ssid=Arduino Yun-90A2DAF0165E

What gives? How come Yun Restrored its own stuff!

No Fair!