* [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
* [ath9k-devel] ath9k-git and hostap fail to cooperate
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
0 siblings, 2 replies; 5+ messages in thread
From: Sujith @ 2008-10-22 14:48 UTC (permalink / raw)
To: ath9k-devel
Tamas Selmeci wrote:
> 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.
>
You need this patch to make AP mode work:
http://johannes.sipsolutions.net/patches/kernel/all/LATEST/004-allow-ap-vlan-modes.patch
Sujith
--
http://sujith-m.blogspot.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ath9k-git and hostap fail to cooperate
2008-10-22 14:48 ` Sujith
@ 2008-10-24 6:42 ` W. van den Akker
2008-10-27 12:48 ` Tamas Selmeci
1 sibling, 0 replies; 5+ messages in thread
From: W. van den Akker @ 2008-10-24 6:42 UTC (permalink / raw)
To: ath9k-devel
Actually this does hang the kernel.
I have tested it with wireless-testing 10-10-2008. After starting hostapd
the ath9k shows up in AP-mode.
After exiting the system completly freezes and only can be powered down.
I have used hostapd 0.6.4 and ran it from commandline
> hostapd -dd /etc/hostapd/hostapd.conf
No entry in log or on screen (kernel-panic).
Why is the patch to make AP mode work still needed? When does it become
part of the kernel-tree or wireless-testing?
Is AP not mature enough?
greetings,
Willem
> Tamas Selmeci wrote:
>> 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.
>>
>
> You need this patch to make AP mode work:
> http://johannes.sipsolutions.net/patches/kernel/all/LATEST/004-allow-ap-vlan-modes.patch
>
> Sujith
> --
> http://sujith-m.blogspot.com
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ath9k-git and hostap fail to cooperate
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
1 sibling, 1 reply; 5+ messages in thread
From: Tamas Selmeci @ 2008-10-27 12:48 UTC (permalink / raw)
To: ath9k-devel
Hi all!
Sujith wrote:
> Tamas Selmeci wrote:
>> 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.
>>
>
> You need this patch to make AP mode work:
> http://johannes.sipsolutions.net/patches/kernel/all/LATEST/004-allow-ap-vlan-modes.patch
Thanks for the link.
Now I'm running linux-2.6.28-rc2, which is the latest from the
rc-series. The Station mode, which used to work, is now not working, at
least on my Intel Xscale IXP425-based ARM big-endian developer board.
After applying the patch, iw-0.9.6 (the latest at this time) is capable
of creating an interface running in AP mode, and hostapd doesn't
comlain, but in fact, I'm unable to find any network with my laptop -
and the network interface of the laptop is perfect, since I used to see
the AP network with Madwifi driver, and other surrounding wireless
networks...
Is anybody here who has also experienced this with rc2? (git version
from the last week supported station mode at least)
Thanks
Bye
--
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
* [ath9k-devel] ath9k-git and hostap fail to cooperate
2008-10-27 12:48 ` Tamas Selmeci
@ 2008-10-27 14:31 ` Sujith
0 siblings, 0 replies; 5+ messages in thread
From: Sujith @ 2008-10-27 14:31 UTC (permalink / raw)
To: ath9k-devel
Tamas Selmeci wrote:
> Now I'm running linux-2.6.28-rc2, which is the latest from the
> rc-series. The Station mode, which used to work, is now not working, at
> least on my Intel Xscale IXP425-based ARM big-endian developer board.
> After applying the patch, iw-0.9.6 (the latest at this time) is capable
> of creating an interface running in AP mode, and hostapd doesn't
> comlain, but in fact, I'm unable to find any network with my laptop -
> and the network interface of the laptop is perfect, since I used to see
> the AP network with Madwifi driver, and other surrounding wireless
> networks...
>
> Is anybody here who has also experienced this with rc2? (git version
> from the last week supported station mode at least)
You might want to check if you are using the proper regulatory domain.
Check http://wireless.kernel.org/en/users/Documentation/iw.
Sujith
^ 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.