LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-18-2006, 03:56 PM   #1
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Ndiswrapper and encryption


Hi.
I've a problem that nobodies know how to solve.
I hope someone of you could find a clue in order to get rid of it.

The situation is the following.

I'm gonna installing an "INPROCOMM IPN 2220 Wireless LAN Adapter" under my Gentoo distribution.
First I've emerged ndiswrapper and wpa_supplicant.

After that:
ndiswrapper -i <inf_file 64 bit>
ndiswrapper -m

dmesg doesn't report any error so..

ln -s net.lo net.wlan0

let's configure /etc/wpa_supplicant.conf:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
	ssid="linksys"
	psk="babbuzzino"
	pairwise=TKIP
	priority=5
}
I've a network with a wpa pre-shared key .. this configuration works well with my other wireless card (on another notebook, obviously).

Let's get a check to /etc/conf.d/net

Code:
modules=("wpa_supplicant")
wpa_supplicant_wlan0=("-Dwext")
config_wlan0=("dhcp")
dhcp_eth1="nontp nonis"
This won't work.
Dmesg says an error to assign AP's mac address to the device (or sth similar) and every time I try to do
Code:
/etc/init.d/net.wlan0 restart
Another error with failures and a weird message:
wlan0 link is not ready.

If I try to do an:
Code:
iwconfig wlan0 key s:xxxxx
I get
Code:
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 : Invalid argument.
This is the error that fills dmesg:
Code:
ndiswrapper (iw_set_freq:385): setting configuration failed (C0010015)
ndiswrapper (iw_set_ap_address:650): setting AP mac address failed (C0010015)
Kernel: 2.6.18-r4 (gentoo-sources)
cpu: amd64 (so i need 64bit drivers, i know)

I'm waiting for some special help because i'm getting crazy.

Thanks in advice.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper adding encryption key error and on Mandrake / Mandriva 10.1 mihanson Linux - Wireless Networking 1 05-08-2005 09:20 AM
Encryption shaf.rahman Red Hat 1 04-19-2005 02:59 PM
encryption dr_zayus69 Linux - Software 2 11-28-2004 11:03 PM
Encryption AMMullan Programming 7 02-09-2004 12:53 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration