however, it "should" work with those nvram settings:
Code: Select all
nvram set wl0_wep=on
nvram set wl0_key=1
nvram wl0_auth=0
nvram set wl0_wep_bit=128
nvram set wl0_key1=s:mykeygoeshere
nvram set wl0_key2=s:mykeygoeshere
nvram set wl0_key3=s:mykeygoeshere
nvram set wl0_key4=s:mykeygoeshere
nvram commit
Very important:
Those settings must be applied to the broadcom driver - Unfortunately, executing the "/sbin/wifi" command should do that, but doesn't move a finger in my case.
It's necessary to pass the WEP settings on to the "wl" utility (shouldn't be). *sigh*
But here's how that's done:
Code: Select all
#!/bin/ash
WEP_ON=$(nvram get wl0_wep)
WEP_KEY="mykeygoeshere";
# Configure the WLAN using wl:
wl addwep 0 $WEP_KEY
wl addwep 1 $WEP_KEY
wl addwep 2 $WEP_KEY
wl addwep 3 $WEP_KEY
wl wep $WEP_ON
wl primary_key 0
/sbin/wifi
wl status
If things went ok, you should see WEP in the list of the wifi-driver-capabilites, when executing "wl status":
Capability: ESS WEP ShortSlot
....to be continued....