Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: bobert3316 on May 29, 2012, 02:15:44 PM

Title: wpa_supplicant 1.0
Post by: bobert3316 on May 29, 2012, 02:15:44 PM
wpa_supplicant 1.0 is now available from hostap.epitest.fi

I'd like to make use of some of the new features, especially related to roaming - did anyone have any plans to update the package?
Title: Re: wpa_supplicant 1.0
Post by: bmarkus on May 29, 2012, 02:23:47 PM
wpa_supplicant 1.0 is now available from hostap.epitest.fi

I'd like to make use of some of the new features, especially related to roaming - did anyone have any plans to update the package?

It is not anyone's job :) but the extensions creator's as a priority.

Such request must be addressed to the maintainer, see .info file.
Title: Re: wpa_supplicant 1.0
Post by: gutmensch on May 29, 2012, 06:05:35 PM
I'll put it on the list and hit the thread back when done ;)
Title: Re: wpa_supplicant 1.0
Post by: gutmensch on May 31, 2012, 04:48:28 AM
1.0 uploaded!
Title: Re: wpa_supplicant 1.0
Post by: bobert3316 on June 07, 2012, 04:45:29 PM
Thank you so much!  I've been giving this a try for the last few days and it seems to be working, but I can't seem to enable background scanning (bgscan simple).  Did you build it with CONFIG_BGSCAN_SIMPLE and/or CONFIG_BGSCAN_LEARN?  Does Tiny Core have an up-to-date source and config repository where I can see the config for myself, and possibly try to build it?  Thanks for any info you can provide!
Title: Re: wpa_supplicant 1.0
Post by: gutmensch on June 08, 2012, 11:38:42 AM
Heyho!

No I didn't enable these options because they are not mentioned in the defconfig file and seem to be a new feature. Rebuilding with these options is quite straightforward:

1. Download wpa_supplicant-1.0.tar.gz
2. Install openssl-1.0.0, openssl-1.0.0-dev, libnl, libnl-dev, compiletc
3. Untar source and cd to wpa_supplicant-1.0/wpa_supplicant
4. Create .config file with the following content
Code: [Select]
CONFIG_BACKEND=file                                                                                                                                     
CONFIG_CTRL_IFACE=y                                                                                                                                     
CONFIG_DRIVER_NL80211=y                                                                                                                                 
CONFIG_DRIVER_WEXT=y                                                                                                                                     
CONFIG_DRIVER_WIRED=y                                                                                                                                   
CONFIG_EAP_GTC=y                                                                                                                                         
CONFIG_EAP_LEAP=y                                                                                                                                       
CONFIG_EAP_MD5=y                                                                                                                                         
CONFIG_EAP_MSCHAPV2=y                                                                                                                                   
CONFIG_EAP_OTP=y                                                                                                                                         
CONFIG_EAP_PEAP=y                                                                                                                                       
CONFIG_EAP_TLS=y                                                                                                                                         
CONFIG_EAP_TTLS=y                                                                                                                                       
CONFIG_IEEE8021X_EAPOL=y                                                                                                                                 
CONFIG_LIBNL32=y                                                                                                                                         
CONFIG_PEERKEY=y                                                                                                                                         
CONFIG_PKCS12=y                                                                                                                                         
CONFIG_SMARTCARD=y                                                                                                                                       
CONFIG_WPS=y                                                                                                                                             
CONFIG_BGSCAN_SIMPLE=y                                                                                                                                   
CONFIG_BGSCAN_LEARN=y                                                                                                                                   
CFLAGS += -I/usr/local/include/libnl3                                                                                                                   
CFLAGS += -march=i486 -mtune=i686 -Os -pipe -fomit-frame-pointer                                                             
CXXFLAGS += -march=i486 -mtune=i686 -Os -pipe                                                                                 
LDFLAGS += -L/usr/local/lib -L/usr/lib -L/lib -Wl,-O1 -Wl,--hash-style=gnu
5. make && sudo make install

If you test, please report your findings. Could be enabled in the extension build (just a little bit cautious about new features ;).