Hi folks, 
I have a HP compaq nx7000 notebook with 5.4-PRERELEASE (but the
problem was there in 5.2.1-RELEASE and 5.3-RELEASE too).

I have a small shell script to bring up my wlan with driver ndis:

> cat wlanup
#!/bin/sh
kldload ndis
kldload if_ndis
ifconfig ndis0 up
ifconfig ndis0 ssid 'my_ssid' nwkey 0xMy_Ex_Key_Here wepmode on
>

when I call wlanup as root, I get the following:

ndis0: <Intel (R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem
0x90000000-0x90000fff irq 5 at device 2.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: my_Ex_MAC_Address_here
ndis0: 11b rates: 11Mbps 2MBps 1MBps 5.5Mbps

which sounds good. Then I get:

ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19

which doesn't sound good. Finally it says:

ndis0: link up

Then the wireless LAN works well, most of the times. Some times I get
a "network is down" message, so I have to reboot, and most of the
times it then works.

The problem is with the WEP key, as fas as I can understand the message.
I can assure you that the WEP key is the right one, I double checked
with the original one, however I have the prove, because the wlan
works.

What could lead to the "enable WEP failed: 19" error?

Thank you!

-- 
Pietro "Piter" Cerutti
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to