View previous topic :: View next topic |
Author |
Message |
synus n00b
Joined: 02 Dec 2009 Posts: 9
|
Posted: Sun Dec 20, 2009 3:14 am Post subject: wpa_supplicant vs wireless-tools |
|
|
what's difference between this source projects? I means, I can use iwlis,iwpriv instead of wpa_supplicant? I'm looking for tiny wireless management tool. |
|
Back to top |
|
|
Mistwolf Apprentice
Joined: 07 Mar 2007 Posts: 189 Location: Edmonton, AB
|
Posted: Sun Dec 20, 2009 5:49 am Post subject: |
|
|
The difference is that wireless-tools are tools to manage your wireless cards, while wpa_supplicant is used for WEP/WPA/WPA2/etc wireless encriptions.
If you do not use WEP/WPA/etc, you do not need wpa_supplicant.
From the descriptions:
wireless-tools = A collection of tools to configure IEEE 802.11 wireless LAN cards
wpa_supplicant = IEEE 802.1X/WPA supplicant for secure wireless transfers
Hope this helps. |
|
Back to top |
|
|
synus n00b
Joined: 02 Dec 2009 Posts: 9
|
Posted: Sun Dec 20, 2009 6:14 am Post subject: |
|
|
thanks for reply,
But, could you argue this iwpriv behaviour?
Code: | wlan0 no private ioctls. |
Is that means what my firmware for wireless adapted doesn't support configuration by this tool?
Actually I tries to adjust ath5 adapter and I not even makes something so as to attach firmware. I guess so ath5 works through i\o ports directly from LKM driver? |
|
Back to top |
|
|
Mistwolf Apprentice
Joined: 07 Mar 2007 Posts: 189 Location: Edmonton, AB
|
Posted: Sun Dec 20, 2009 6:41 am Post subject: |
|
|
That looks like it did not load the proper driver and/or the kernel is not configured properly. I could be wrong, since I do not use an atheros based wireless card.
Check out http://madwifi-project.org/wiki/About/ath5k for basic information on the ath5k driver.
Hope this helps. |
|
Back to top |
|
|
synus n00b
Joined: 02 Dec 2009 Posts: 9
|
Posted: Sun Dec 20, 2009 6:56 am Post subject: |
|
|
perhaps I forgot CONFIG_HOSTAP in my kernel, I makes new build...
And how about this things...
Code: | CONFIG_LIB80211_CRYPT_WEP=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m |
it looks like wep cert and tkip, encryption implementation in kernel, or not? |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Sun Dec 20, 2009 11:13 am Post subject: |
|
|
synus wrote: | perhaps I forgot CONFIG_HOSTAP in my kernel, I makes new build...
And how about this things...
Code: | CONFIG_LIB80211_CRYPT_WEP=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m |
it looks like wep cert and tkip, encryption implementation in kernel, or not? |
These particular things you listed are not used by the ath5k driver, only by a few old drivers (like ipw2100 and ipw2200).
Also, very few drivers have private ioctls, so what iwpriv told you is correct. If you want to handle WPA/WPA2 networks with ath5k, you need wpa_supplicant.
Here's the relevant part of my kernel configuration for my nebook (Atheros wireless card, using ath5k driver): Code: | CONFIG_WIRELESS=y
CONFIG_CFG80211=m
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEFAULT_PS_VALUE=1
# CONFIG_WIRELESS_OLD_REGULATORY is not set
CONFIG_WIRELESS_EXT=y
# CONFIG_WIRELESS_EXT_SYSFS is not set
# CONFIG_LIB80211 is not set
CONFIG_MAC80211=m
# CONFIG_MAC80211_RC_PID is not set
CONFIG_MAC80211_RC_MINSTREL=y
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
CONFIG_RFKILL=m
CONFIG_RFKILL_LEDS=y
# CONFIG_RFKILL_INPUT is not set
# CONFIG_NET_9P is not set
CONFIG_WLAN=y
# CONFIG_WLAN_PRE80211 is not set
CONFIG_WLAN_80211=y
# CONFIG_LIBERTAS is not set
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AIRO is not set
# CONFIG_ATMEL is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_MWL8K is not set
# CONFIG_P54_COMMON is not set
CONFIG_ATH_COMMON=m
CONFIG_ATH5K=m
# CONFIG_ATH5K_DEBUG is not set
# CONFIG_ATH9K is not set
# CONFIG_AR9170_USB is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_IWLWIFI is not set
# CONFIG_HOSTAP is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_ZD1211RW is not set
# CONFIG_RT2X00 is not set
# CONFIG_HERMES is not set
# CONFIG_WL12XX is not set
# CONFIG_IWM is not set |
|
|
Back to top |
|
|
synus n00b
Joined: 02 Dec 2009 Posts: 9
|
Posted: Sun Dec 20, 2009 1:00 pm Post subject: |
|
|
Quote: | Also, very few drivers have private ioctls, so what iwpriv told you is correct. |
okay, it depend something in kernel\user or both lands? or may be someone use device which have a support private ioctls? |
|
Back to top |
|
|
|