LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2007, 12:24 PM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Driver Does not Support WPA after a Kernel Compile


I use slackware 11.0 with ndiswrapper for my wireless card. I recently compiled a 2.6.15 kernel and now for some reason wpa doesn't wanna work with ndiswrapper. I can connect to my network without any kind of encryption, so I know its not my AP. I'm using ndiswrapper ver 1.37 with wpa_supplicant ver 0.4.9

From the docs i've read it says if you're running wpa_supplicant instead of typing in

Code:
wpa_supplicant -Dndiswrapper
you have to use

Code:
wpa_supplicant -Dwext
I think this is where my problem is. If I compile wext support in my wpa .config file, it comes back with an error during the make process, which I've pasted below

Code:
bash-3.1# make
cc  -o wpa_supplicant config.o common.o md5.o md4.o rc4.o sha1.o des.o os_unix.o eloop.o config_file.o base64.o l2_packet_linux.o tls_none.o ctrl_iface.o ctrl_iface_unix.o wpa.o preauth.o pmksa_cache.o aes_wrap.o wpa_supplicant.o events.o main.o drivers.o driver_wext.o
drivers.o(.data+0x0): undefined reference to `wpa_driver_ndiswrapper_ops'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
What am I doing wrong. Is there something botched with the 2.6.15 kernel.
Any help would be gladly appreciated.

TIA

EDIT
----
The message I get when running wpa_supplicant are

Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ap_scan=2
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=14):
     70 33 33 31 33 64 37 30 6d 61 37 30 33 73         p3313d70ma703s
PSK (ASCII passphrase) - hexdump_ascii(len=20): [REMOVED]
pairwise: 0x8
group: 0x8
key_mgmt: 0x2
proto: 0x1
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='p3313d70ma703s'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0x5
  capabilities: key_mgmt 0x5 enc 0x7
Own MAC address: 00:0f:b5:48:f7:d4
Driver does not support WPA.

Last edited by brokenflea; 03-03-2007 at 12:44 PM.
 
Old 03-03-2007, 01:02 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I've never used ndiswrapper, I'm using madwifi. Every time I build a new kernel I have to rebuild madwifi and wpa_supplicant against my new kernel sources.
 
Old 03-03-2007, 03:15 PM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
Yeah, i've done the same thing, i.e. compile my sources against the new kernel compile, but it doesn't want to work
 
  


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
how to compile the linux driver to support SMP kernel? beast Programming 1 08-01-2005 10:28 PM
how to compile the linux driver to support SMP kernel beast Programming 1 08-01-2005 10:19 AM
No compiler, support dependencies to compile winmodem driver t3gah Linux - Hardware 1 05-04-2005 12:04 AM
how to compile kernel to support ipchains? scientist Linux - Networking 6 03-30-2005 01:23 AM
Proxim Skyline Driver & WPA support? RandallC Linux - Hardware 0 11-24-2004 11:39 AM

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

All times are GMT -5. The time now is 09:10 AM.

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