I know some people have had problems with WEP; so there are some bugs
(or deficiencies) with WEP.
First, set the key before setting essid (in fact, essid should be the
last thing to set).
Make sure your AP works in "open configuration". This is different for
different APs. You can force your card to work only restricted mode
If WEP fails, report your card, driver, kernel, AP, whether it works
without WEP, etc.
From: Stefan <stefandoesinger@gm...> - 2003-12-15 15:05:12
Am Montag, 15. Dezember 2003 15:18 schrieb Giridhar Pemmasani:
> I know some people have had problems with WEP; so there are some bugs
> (or deficiencies) with WEP.
> First, set the key before setting essid (in fact, essid should be the
> last thing to set).
I set the WEP key and the card connected - no need to set the essid.
> Make sure your AP works in "open configuration". This is different for
> different APs. You can force your card to work only restricted mode
> (through iwconfig).
> If WEP fails, report your card, driver, kernel, AP, whether it works
> without WEP, etc.
My AP works in "shared key", not in open configuration. I will switch to open
config later. I think the WEP successes/failures are connected to the shared
key/open configuration settings on the AP. If the AP has open configuration
the card can connect without the right WEP settings(but not with WEP
I would like to have WEP working with "shared key"(is this the same as
iwconfig's "restricted mode"?) because my network's security is built on a
firewall to the internet. If everyone can park his car near my house and
connect to my net the firewall is useless. I do not want to protect 5 PCs
with both Linux and Windows against internal attacks. I especially worry
about Windows since I had an experiance with w32.blaster - 10 secound
unprotected connected to the internet and I had the significant shutdown
I will send a dmesg later, if have debuging disabled now and I can't remove
However, WEP is not urgent now, for today I am content with the card working.
From: Stefan <stefandoesinger@gm...> - 2003-12-15 18:55:10
I am not using WAP. Isn't it a M$ protocoll?
> Could you add
> res = set_int(handle, NDIS_OID_PRIVACY_FILTER, NDIS_PRIV_WEP);
> printk(KERN_INFO "%s: privacy filter setting returned %u\n",
> dev->name, res);
> in set_wep function before after setting auth_mode and see if that
> helps? If that doesn't work, try NDIS_PRIV_ACCEPT_ALL instead of
> NDIS_PRIV_WEP above.
Works generally with NDIS_PRIV_ACCEPT_ALL. I have shared key mode working, but
as soon as I call iwconfig to get informations I loose the connection to the
> res = set_int(handle, NDIS_OID_AUTH_MODE, auth_mode);
> res = set_int(handle, NDIS_OID_AUTH_MODE, IW_ENCODE_OPEN);
> and see if WEP works?
I will try this on Wednesday. Hope that's not too late.