Where do you get these errors? What command are you running?
For my wifi card setup I simply specify the following in the /etc/network/interfaces file (my interface is ra0) and then uncomment the one I want (e.g. WEP, No WEP, Static IP etc) and run 'ifup ra0' from the command line as root. Haven't found a way yet of easily managing these profiles in Linux..
## DEFINE RA0 STATIC IP - NO WEP
#iface ra0 inet static
# address 192.168.1.254
# netmask 255.255.255.0
#up \
#/sbin/iwconfig ra0 mode Managed && \
#/sbin/iwconfig ra0 essid "test" && \
#/sbin/iwconfig ra0 ap any && \
#/sbin/iwconfig ra0 rate auto
## DEFINE RA0 - NO WEP
#auto ra0
#iface ra0 inet dhcp
#up \
#/sbin/iwconfig ra0 mode Managed && \
#/sbin/iwconfig ra0 enc off && \
#/sbin/iwconfig ra0 essid "test" && \
#/sbin/iwconfig ra0 ap any && \
#/sbin/iwconfig ra0 rate auto
# DEFINE RA0 - WEP
auto ra0
iface ra0 inet dhcp
pre-up \
/sbin/ifconfig ra0 up && \
/sbin/iwconfig ra0 mode Managed && \
/sbin/iwconfig ra0 key restricted [1] $KEY1 && \
/sbin/iwconfig ra0 key restricted [2] $KEY2 && \
/sbin/iwconfig ra0 key restricted [3] $KEY3 && \
/sbin/iwconfig ra0 key restricted [4] $KEY4 && \
/sbin/iwconfig ra0 key restricted [1] && \
/sbin/iwconfig ra0 essid "test" && \
/sbin/iwconfig ra0 ap any && \
/sbin/iwconfig ra0 rate auto
|