kernel source install

Jeff McKeon jsmforum at optonline.net
Sun Oct 9 18:10:51 UTC 2005


>-----Original Message-----
>From: fedora-list-bounces at redhat.com 
>[mailto:fedora-list-bounces at redhat.com] On Behalf Of Neil Cherry
>Sent: Sunday, October 09, 2005 1:36 PM
>To: For users of Fedora Core releases
>Subject: Re: kernel source install
>
>
>Jeff McKeon wrote:
>>> -----Original Message-----
>>> From: fedora-list-bounces at redhat.com 
>>> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Neil Cherry
>>> Sent: Sunday, October 09, 2005 12:32 PM
>>> To: For users of Fedora Core releases
>>> Subject: Re: kernel source install
>>>
>>>
>>> Jeff McKeon wrote:
>>>
>>>> Thanks Craig, what does the error message mean though?  
>Just for my 
>>>> own knowledge...
>>> Basically it means that you compiled the module for one 
>>> kernel and are using it on another. As long as there were no 
>>> major changes between versions this is OK.
>>>> Now it seems I can't configure the wlan0 interface.
>>>>
>>>> If I issue:
>>>>
>>>> iwconfig wlan0 essid "mynet"
>>>>
>>>> And then issue the command:
>>>>
>>>> Iwconfig
>>>>
>>>> It still shows essid:off/any
>>> I remember having a lot of problems with wlan. I then added 
>>> wpa_supplicant so I could use WEP & WPA-PSK which works well 
>>> with my Linksys WRT54G.
>> 
>> Hmm, sounds like what I need here. My AP is a linksys wrt54g 
>as well. 
>> 
>> Where do I get the wpa_suplicant?
>
>Normally I'd say google it but I couldn't find it there! So here try
>this:
>
>http://hostap.epitest.fi/wpa_spplicant/
>
>Here's how I run the whole thing:
>
>modprobe ndiswrapper # (I did the whole setup thing before this)
>iwconfig wlan0 essid YeahRightImNotTelling # replace with yours
>iwconfig wlan0 channel 6 # try others if it's in use by others
>ifconfig wlan0 192.168.0.10 # what ever ...
>sleep 1 # I had a little trouble if I rushed things
>wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -B
>sleep 2
>route add default gw 192.168.0.254 wlan0
>
>My wpa_supplicant.conf file is a lot of comments but with only this
>entry:
>
>eapol_version=1 # could try 2
>
>ap_scan=1
>fast_reauth=1
>
>network={
>   ssid= "YeahRightImNotTelling"
>   psk="Your PSK"
>   key_mgmt=WPA-PSK
>   proto=WPA
>   priority=5
>   bssid=00:11:22:33:44:55
>}
>
>Replace 00:11:22:33:44:55 with the MAC address of your WRT54G.
>

Neil,

I actually found wpa_supplicant prior to your email.  Problem is I can't
compile the damn thing.
I've obviousely got some problems with my .config file but I can't
figure out what.  It keeps complaining it can't find openSSL and other
things.

wpa_supplicant-0.3.9]# make
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_NDISWRAPPER -DEAP_LEAP -DIEEE8021X_EAPOL
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o crypto.o crypto.c
crypto.c:15:25: error: openssl/md4.h: No such file or directory
crypto.c:16:25: error: openssl/des.h: No such file or directory
In file included from crypto.c:18:
common.h:122: error: syntax error before 'size_t'
common.h:123: error: syntax error before 'size_t'
common.h:125: error: syntax error before 'size_t'
common.h:127: error: syntax error before 'size_t'
common.h:129: error: syntax error before '*' token
common.h:162: error: syntax error before 'size_t'
common.h:177: error: syntax error before 'size_t'
common.h:193: error: syntax error before 'size_t'
common.h:210: error: syntax error before 'size_t'
crypto.c:30: error: syntax error before 'num_elem'
crypto.c: In function 'md4_vector':
crypto.c:32: error: 'MD4_CTX' undeclared (first use in this function)
crypto.c:32: error: (Each undeclared identifier is reported only once
crypto.c:32: error: for each function it appears in.)
crypto.c:32: error: syntax error before 'ctx'
crypto.c:35: warning: implicit declaration of function 'MD4_Init'
crypto.c:35: error: 'ctx' undeclared (first use in this function)
crypto.c:36: error: 'num_elem' undeclared (first use in this function)
crypto.c:37: warning: implicit declaration of function 'MD4_Update'
crypto.c:37: error: 'addr' undeclared (first use in this function)
crypto.c:37: error: 'len' undeclared (first use in this function)
crypto.c:38: warning: implicit declaration of function 'MD4_Final'
crypto.c:38: error: 'mac' undeclared (first use in this function)
crypto.c: At top level:
crypto.c:42: error: syntax error before 'size_t'
crypto.c: In function 'md4':
crypto.c:44: error: 'addr' undeclared (first use in this function)
crypto.c:44: error: 'len' undeclared (first use in this function)
crypto.c:44: error: 'mac' undeclared (first use in this function)
crypto.c: In function 'des_encrypt':
crypto.c:57: error: 'des_key_schedule' undeclared (first use in this
function)
crypto.c:57: error: syntax error before 'ks'
crypto.c:68: warning: implicit declaration of function 'des_set_key'
crypto.c:68: error: 'ks' undeclared (first use in this function)
crypto.c:69: warning: implicit declaration of function 'des_ecb_encrypt'
crypto.c:69: error: 'des_cblock' undeclared (first use in this function)
crypto.c:69: error: syntax error before ')' token
crypto.c:69: error: syntax error before ')' token
crypto.c:69: error: 'DES_ENCRYPT' undeclared (first use in this
function)
make: *** [crypto.o] Error 1

Do you have a copy of the .config file you used?

Thanks,

Jeff





More information about the fedora-list mailing list