From: Tamas Selmeci <tselmeci@dension.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k-git and hostap fail to cooperate
Date: Wed, 22 Oct 2008 16:34:54 +0200 [thread overview]
Message-ID: <48FF3A0E.4060708@dension.com> (raw)
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
next reply other threads:[~2008-10-22 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 14:34 Tamas Selmeci [this message]
2008-10-22 14:48 ` [ath9k-devel] ath9k-git and hostap fail to cooperate Sujith
2008-10-24 6:42 ` W. van den Akker
2008-10-27 12:48 ` Tamas Selmeci
2008-10-27 14:31 ` Sujith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48FF3A0E.4060708@dension.com \
--to=tselmeci@dension.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.