Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 10:07:37 +0000
From:      Pietro Cerutti <pietro.cerutti@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   ndis0 error, but it workd
Message-ID:  <e572718c05031402074b3054ca@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
<pietro.cerutti@gmail.com>
<piter@beansidhe.ch>

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?"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c05031402074b3054ca>