Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I got WEP to work with the Linksys WPC54g
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message

Joined: 29 Jun 2004
Posts: 21

PostPosted: Sun Aug 29, 2004 1:36 am    Post subject: How I got WEP to work with the Linksys WPC54g Reply with quote

Using the excellent HOWTO posts for ndiswrapper and wireless-config, I was able to get the Linksys WPC54G PCMCIA wi-fi card working in my Gentoo laptop. However, I could not get the card to work when I enabled WEP on the access point. It turns out that I was using the wrong syntax for iwconfig. I hope that this info will save someone severe frustration.

My AP uses 128 bit encryption, which generates a key with 26 hex digits. Looking through Google and the ndiswrapper mailing list archives showed that lots of people had this problem, with several cards besides the WPC54G. I was getting the following error message:


Error for wireless request "Set Encode" (8B2A) :
     SET failed on device wlan0 ; Invalid argument

Further, the following appeared in dsmeg as well:


wlan0: setting wep key failed (C0010015)

It appears that each type of wi-fi card has its own peculiar syntax for setting the WEP key, here is what worked for my WPC54G:



where XXXXXXXXXXXXXXXXXXXXXXXXXX is the key used by your AP.

It is likely that this info is obvious to everyone (except me!), but I hope this post helps someone with this card. :) At the very least, this should help those who use "WPC54G" as a forum search.

Back to top
View user's profile Send private message

Joined: 08 Apr 2004
Posts: 32

PostPosted: Sun May 15, 2005 8:03 pm    Post subject: Reply with quote

Which version of the WPC54G do you have? Mine is v.4, and using the latest drivers from Linksys and the an emerge'd ndiswrapper-1.1-r1, I can't get WEP 128 to work.

What I do is the following:

modprobe ndiswrapper
iwconfig wlan0 essid "<my ssid>" key <KEY>

However, dmesg spits out:

ndiswrapper: using irq 5
ndiswrapper (NdisWriteErrorLogEntry:273): log: C000138B, count: 1 (00000102), return address: e1c939be, entry: e1ca7000 offset: 4294887870
wlan0: ndiswrapper ethernet device 00:0f:66:2e:00:98 using driver wlipnds, configuration file 17FE:2220.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
ndiswrapper (set_essid:58): setting essid failed (00010003)

And iwconfig reports:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"<my ssid>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:66:2D:9A:D3
          Bit Rate:54 Mb/s
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-10 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:302   Missed beacon:0

Any thoughts?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum