For wep (please dont use any kind of wep) configuration could be done through ifconfig like this (not through wpa_supplicant, probably wpa_supplicant is not compiled with wep support in ):
Code:
ifconfig ral0 ssid 3Com weptxkey 1 wepmode on wepkey 98402d9b0f57f4bbc2d6d3206b