And the reason for the double wep was that in my credential file I have
SSID "ENC-WEP" HEXKEY
SSID "ENC-WEP" HEXKEY
so the grep/cut line returns
wep
wep HEXKEY
Not sure why my credential gets 2 lines either but if I delete one the connect script works as expected.
--Chuck
|