fail with wireless network configuration with "SIOCS80211: Invalid argument"

Paul B. Mahol onemda at
Thu Oct 30 17:26:29 PDT 2008

On 10/30/08, Zhang Weiwu <zhangweiwu at> wrote:
> Zhang Weiwu wrote:
>> Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
>> card connected to my home network with 40-bit Hex WEP Encryption on
>> FreeBSD 6.1.
>> # ifconfig wi0 inet ssid ZWW wepmode on wepkey 0xea82552825
>> ifconfig: SIOCS80211: Invalid argument

Why is "deftxkey 1" missing ?

from ifconfig(8)

             Note that you must set a default transmit key with deftxkey for
             the system to know which key to use in encrypting outbound traf-

>> Did I made anything wrong or miss something in the kernel? I have the
>> related lines in kernel:
>>     driver wi
>>     driver wlan
> It turns out this error message is a direct result of lack of wlan_wep
> neither loaded as module nor compiled in kernel.
> However I still could not make the card work (even though it works in
> Ubuntu Linux) after having wlan_wep compiled in, but at least I
> eliminated the
> SIOCS80211: Invalid argument
> error message, which may be helpful for someone who finds this thread by
> using this error message as search key to google.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list