Networking Forums

Networking Forums > Computer Networking > Linux Networking > ndiswrapper and wep encryption

Reply
Thread Tools Display Modes

ndiswrapper and wep encryption

 
 
RaSca
Guest
Posts: n/a

 
      06-15-2005, 08:25 PM
Hi,
i've got a problem setting my wifi card working with wep encryption on
my laptop.
I've configured the card with ndiswrapper and without setting any
encryption in my access point i can connect with this steps :

iwconfig wlan0 mode Managed
iwconfig wlan0 essid "myessid"
ifconfig wlan0 up
dhclient wlan0

But when i set a 128 bit (26 hex key) in my access point, it doesn't
work anymore, even if i add this step before all the above :

iwconfig wlan0 key restricted <26hexkey>

Note that in winxp the card works great.

What i am missing, the card is an rt2500 ?

Thank you so much.

--
RaSca
(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Philipp Pagel
Guest
Posts: n/a

 
      06-16-2005, 07:17 AM
RaSca <(E-Mail Removed)> wrote:
> iwconfig wlan0 mode Managed
> iwconfig wlan0 essid "myessid"
> ifconfig wlan0 up
> dhclient wlan0


> But when i set a 128 bit (26 hex key) in my access point, it doesn't
> work anymore, even if i add this step before all the above :


> iwconfig wlan0 key restricted <26hexkey>


Can you show us an actual example? Especially: Are there any error
messages/warnings? What is the output of these:

iwconfig wlan0

iwlist wlan0 key

Does the output match your expectation?
And yes: use a different key after showing yours to the world...

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - German National Research Center for Environment and Health
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
RaSca
Guest
Posts: n/a

 
      06-16-2005, 08:41 AM
I can't see any error or message warning (in /var/log/messages and also
in /var/log/syslog) and the output of the commands you indicated is
matching what i'm expecting :

iwconfig wlan0 :

wlan0 IEEE 802.11g ESSIDff/any
Mode:Auto Frequency:2.412 GHz Access Point:
00:00:00:00:00:00
Bit Rate:11 Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Security
mode:restricted
Power Managementff
Link Quality:100/100 Signal level:136/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

iwlist wlan0 key :

wlan0 2 key sizes : 40, 104bits
4 keys available :
[1]: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX (104 bits)
[2]: off
[3]: off
[4]: off
Current Transmit Key: [1]
Security mode:restricted

And obviously XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX is the same for the 2
commands.

Thank you so much from now.

--
RaSca
(E-Mail Removed)

 
Reply With Quote
 
Philipp Pagel
Guest
Posts: n/a

 
      06-17-2005, 09:24 PM
RaSca <(E-Mail Removed)> wrote:

> iwconfig wlan0 :


> wlan0 IEEE 802.11g ESSIDff/any


This could be a hint: I guess you have to set the ESSID to the correct
value to be able to associate with your accesspoint.

The rest of your output looks OK to me.

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - German National Research Center for Environment and Health
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 4.3 and ndiswrapper Doug Holtz Linux Networking 1 07-12-2006 01:14 PM
ndiswrapper and ACX100 Bill Linux Networking 8 01-21-2006 02:15 PM
ndiswrapper-no can do? jwc Linux Networking 2 11-05-2005 02:12 PM
1) ndiswrapper an 2) multiple AP Julian Bessenroth Linux Networking 0 07-18-2005 03:52 PM
NDISWrapper - almost there - but need a little help The Etobian Linux Networking 2 07-04-2004 10:06 PM



1 2 3 4 5 6 7 8 9 10 11