LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Driver Does not Support WPA after a Kernel Compile (https://www.linuxquestions.org/questions/slackware-14/driver-does-not-support-wpa-after-a-kernel-compile-534232/)

brokenflea 03-03-2007 12:24 PM

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.


Emerson 03-03-2007 01:02 PM

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.

brokenflea 03-03-2007 03:15 PM

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


All times are GMT -5. The time now is 03:08 PM.