All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k-git and hostap fail to cooperate
@ 2008-10-22 14:34 Tamas Selmeci
  2008-10-22 14:48 ` Sujith
  0 siblings, 1 reply; 5+ messages in thread
From: Tamas Selmeci @ 2008-10-22 14:34 UTC (permalink / raw)
  To: ath9k-devel

Hello all!

I'm new to this list but I have been working with 
hostapd-madwifi-ath9k-wpa_supplicant for a while. I have a quite recent 
version of the git tree linux-2.6 and wireless-testing (both of them are 
  from 21-Oct-2008).

The task is to make hostapd-0.6.4 work.

Hostapd was compiled with these settings:

--------------------------------
# Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=y

# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y

# Driver interface for drivers using the nl80211 kernel interface
CONFIG_DRIVER_NL80211=y

# IEEE 802.11F/IAPP
CONFIG_IAPP=y

# WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=y

# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
CONFIG_PEERKEY=y

# Integrated EAP server
CONFIG_EAP=y

# EAP-MD5 for the integrated EAP server
CONFIG_EAP_MD5=y

# EAP-TLS for the integrated EAP server
CONFIG_EAP_TLS=y

# EAP-MSCHAPv2 for the integrated EAP server
CONFIG_EAP_MSCHAPV2=y

# EAP-PEAP for the integrated EAP server
CONFIG_EAP_PEAP=y

# EAP-GTC for the integrated EAP server
CONFIG_EAP_GTC=y

# EAP-TTLS for the integrated EAP server
CONFIG_EAP_TTLS=y

# PKCS#12 (PFX) support (used to read private key and certificate file from
# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=y

------------------------------

After kernel bootup:

# modprobe ath9k

ath9k: 0.1
PCI: enabling device 0000:00:02.0 (0140 -> 0142)
Registered led device: ath9k-phy0:radio
Registered led device: ath9k-phy0:assoc
Registered led device: ath9k-phy0:tx
Registered led device: ath9k-phy0:rx
phy0: Atheros 9160: mem=0xc49a0000, irq=27

# iw phy phy0 info
...
         Supported interface modes:
                  * IBSS
                  * Station
                  * AP
                  * AP(VLAN)
                  * Monitor
...

So I would assume AP mode is about to work...

Here are the contents of hostapd.conf:

interface=wlan0
driver=nl80211
hw_mode=g
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
ctrl_interface_group=0
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
dump_file=/tmp/hostapd.dump
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
ssid=uwc_ap
wpa_psk=e757da617495f77f0a5b017c1d62eca6596adc36ab0955c5f6be7554b7a305d3

# hostapd -dd -B /tmp/dyncfg/hostapd.conf

Configuration file: /tmp/dyncfg/hostapd.conf
Line 8: DEPRECATED: 'debug' configuration variable is not used anymore
ctrl_interface_group=0
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
ELOOP: remaining socket: sock=5 eloop_data=0x5d0c0 user_data=(nil) 
handler=0x34940


By the way, this also fails (more exactly, pops the help screen, maybe 
the invocation format is wrong):
# iw phy phy0 interface add ath0 type ap

What am I doing wrong? Does hostap with this git kernel work for you? 
Does AP mode work at all in current git tree? (I've seen some posts 
about reporting hostapd and ath9k work together, but always with some 
kind of problem)

Thank you in advance!
-- 
Tamas Selmeci
R&D Engineer

DENSION Audio Systems Ltd.
H-1116 Budapest, Sztregova u. 1.
HUNGARY
Tel: +36-1-463-0470
Fax: +36-1-463-0479

www.dension.com
mailto: tselmeci at dension.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-27 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 14:34 [ath9k-devel] ath9k-git and hostap fail to cooperate Tamas Selmeci
2008-10-22 14:48 ` Sujith
2008-10-24  6:42   ` W. van den Akker
2008-10-27 12:48   ` Tamas Selmeci
2008-10-27 14:31     ` Sujith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.