Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, after a lot of back and forth, this is what I now have:
My .config:
Code:
# Uncomment following two lines and fix the paths if you have installed openssl
# in non-default location
CFLAGS += -I/usr/include/ssl/
LIBS += -L/usr/local/openssl/lib
# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
# included)
CONFIG_IEEE8021X_EAPOL=y
# EAP-FAST
CONFIG_EAP_FAST=y
# Include control interface for external programs, e.g, wpa_cli
CONFIG_CTRL_IFACE=y
# Include interface for using external supplicant (Xsupplicant) for EAP
# authentication
CONFIG_XSUPPLICANT_IFACE=y
'make' gives me this error:
Code:
bluefish:/usr/local/lib/wpa_supplicant-0.3.8# make
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd -I/usr/include/ssl/ -DEAP_FAST -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_CTRL_IFACE -DCONFIG_XSUPPLICANT_IFACE -c -o tls_openssl.o tls_openssl.c
tls_openssl.c: In function `tls_connection_client_hello_ext':
tls_openssl.c:852: error: structure has no member named `hello_extension'
tls_openssl.c:854: error: structure has no member named `hello_extension'
tls_openssl.c:855: error: structure has no member named `hello_extension_len'
tls_openssl.c:859: error: structure has no member named `hello_extension'
tls_openssl.c:860: error: structure has no member named `hello_extension_len'
tls_openssl.c:863: error: structure has no member named `hello_extension'
tls_openssl.c:864: error: structure has no member named `hello_extension'
tls_openssl.c:867: error: structure has no member named `hello_extension'
tls_openssl.c:872: error: structure has no member named `hello_extension_len'
make: *** [tls_openssl.o] Error 1
Any help?
Last edited by littlemidget; 03-11-2005 at 12:15 AM.
here you go guys this worked for me let me know if you guys need any help
FC4, IPW2200, WPA and EAP-FAST on T42 For FC5 Before you start you need to remove wpa_supplicant_whatever-fc5.rpm for FC5, ignore STEPs 1 and 2 and start from Step 3 edited on 4/12/06 3:44 PM
System requirements: FC4
IPW2200 1.0.6 or later
ieee80211 1.0.6 or later
OpenSSL 0.9.7 or later
WPA_Supplicant 4.7 or later
4. That's it for installing the drivers! Now we need to copy the firmware into the appropiate directory. I did it the noob'y way, Click on Applications --> System Tools --> File Browser, locate your Desktop and then open up the firmware folder. Copy ALL of those files in that folder and then in the Location Bar type in /lib/firmware and paste it all into that.
5. This may not be necessary, but for safe measures, restart your computer. When you're back in, go to Applications --> System Tools --> Network Device Tools.
-Click on Configure
-Click on New
-on the left under "Device Type", click on Wireless and then Forward
-Intel Corporation PRO/Wireless 2200BG (eth1) should be there
-Click Forward, and then just take that tutorial all the way through based on your own network settings.
Step 3
tar -zxvf wpa_supplicant-4.7.tar.gz
tar -zxvf openssl-0.9.7x.tar,gz
cp openssl-tls-extensions.patch into openssl root folder
patch openssl with openssl-tls-extensions.patch
Step 4
Make a sybolic link for perl executable in /usr/local/bin
its time for compiling and installing openssl
in the root of openssl folder
type ./configure
make
make install
Step 5
Installing wpa_supplicant
cd to wpa_supplicant folder
cp defconfig to .config
open .config in a text editor (vi is recommended)
change the path of openssl
from
#CFLAGS += -I/usr/local/openssl/include
#LIBS += -L/usr/local/openssl/lib
to
uncomment and change the path as shown or the path of your openssl installation
Hi, I must configure wpa supplicant 0.4.7 with the hostap driver on Mandriva 2005.
I had read your instruction but I have a problem when I run the make command.
Can you help me?
This is the result of the make command:
# make
cc -o wpa_supplicant config.o eloop.o common.o md5.o rc4.o sha1.o config_file.o base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o eap_mschapv2.o eap_gtc.o eap_otp.o eap_sim.o eap_leap.o eap_psk.o eap_psk_common.o eap_aka.o eap_sim_common.o eap_tlv.o eap_pax.o eap_pax_common.o eapol_sm.o eap.o eap_tls_common.o tls_openssl.o ms_funcs.o crypto.o ctrl_iface.o wpa.o preauth.o aes_wrap.o wpa_supplicant.o events.o main.o drivers.o driver_hostap.o driver_atmel.o driver_ipw.o driver_wired.o driver_wext.o -L/usr/local/ssl/lib -lssl -lcrypto -ldl
tls_openssl.o(.text+0x16b4): In function `tls_connection_set_master_key':
/root/Desktop/wpa_supplicant-0.4.7/tls_openssl.c:1780: undefined reference to `SSL_set_session_secret_cb'
tls_openssl.o(.text+0x17d5): In function `tls_connection_client_hello_ext':
/root/Desktop/wpa_supplicant-0.4.7/tls_openssl.c:1840: undefined reference to `SSL_set_hello_extension'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
did you apply the patch from the Wpa_supplicant into openssl and compile openssl?
Step 3
tar -zxvf wpa_supplicant-4.7.tar.gz
tar -zxvf openssl-0.9.7x.tar,gz
cp openssl-tls-extensions.patch into openssl root folder
patch openssl with openssl-tls-extensions.patch
Quote:
Originally Posted by luca2
Hi, I must configure wpa supplicant 0.4.7 with the hostap driver on Mandriva 2005.
I had read your instruction but I have a problem when I run the make command.
Can you help me?
This is the result of the make command:
# make
cc -o wpa_supplicant config.o eloop.o common.o md5.o rc4.o sha1.o config_file.o base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o eap_mschapv2.o eap_gtc.o eap_otp.o eap_sim.o eap_leap.o eap_psk.o eap_psk_common.o eap_aka.o eap_sim_common.o eap_tlv.o eap_pax.o eap_pax_common.o eapol_sm.o eap.o eap_tls_common.o tls_openssl.o ms_funcs.o crypto.o ctrl_iface.o wpa.o preauth.o aes_wrap.o wpa_supplicant.o events.o main.o drivers.o driver_hostap.o driver_atmel.o driver_ipw.o driver_wired.o driver_wext.o -L/usr/local/ssl/lib -lssl -lcrypto -ldl
tls_openssl.o(.text+0x16b4): In function `tls_connection_set_master_key':
/root/Desktop/wpa_supplicant-0.4.7/tls_openssl.c:1780: undefined reference to `SSL_set_session_secret_cb'
tls_openssl.o(.text+0x17d5): In function `tls_connection_client_hello_ext':
/root/Desktop/wpa_supplicant-0.4.7/tls_openssl.c:1840: undefined reference to `SSL_set_hello_extension'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
Last edited by cpd2000cpd; 12-12-2005 at 02:30 PM.
can you post your .config and paths of you openssl installation, did you get error when compiling OpenSSL, use 0.9.8(thats what I used) looks like in .config you havent added/modify the path to openssl
can you post your .config and paths of you openssl installation, did you get error when compiling OpenSSL, use 0.9.8(thats what I used) looks like in .config you havent added/modify the path to openssl
Anyway, I configure the wpa_supplicant.conf in my /etc/ folder.
So, I try to run wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d
but I receive this message:
------------------------------------------------------------------------------
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line 32: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'.
Line 49: Invalid configuration line 'ctrl_interface_group=0'.
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 10
id=0 ssid='example'
Failed to read configuration file '/etc/wpa_supplicant.conf'.
Failed to add interface wlan0
Cancelling scan request
------------------------------------------------------------------------------
I don't understand why there are this error:
Line 32: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'.
Line 49: Invalid configuration line 'ctrl_interface_group=0'.
I don't change them, they are include by default in the wpa_supplicant.conf...
here is description of the patch it is specially written to fix the errors you are getting
|------------------------------------------------------------------------------------------|
|This patch is adding support for TLS hello extensions and externally |
|generated pre-shared key material to OpenSSL 0.9.8. This is |
|based on the patch from Alexey Kobozev <akobozev@cisco.com> |
|(sent to openssl-dev mailing list on Tue, 07 Jun 2005 15:40:58 +0300). |
|------------------------------------------------------------------------------------------|
Last edited by cpd2000cpd; 12-13-2005 at 12:24 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.