All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ath5k master (AP) mode
@ 2009-02-13 21:28 Jeff Tchang
  0 siblings, 0 replies; 33+ messages in thread
From: Jeff Tchang @ 2009-02-13 21:28 UTC (permalink / raw)
  To: linux-wireless

> On Wed, Feb 11, 2009 at 1:47 PM, Norman Rie <norman@smash-net.org> wrote:
>
>> Hello,
>>
>> i pulled wireless-testing kernel today and installed hostapd-0.6.7,  but
>> it still does not work.
>>
>>
>> iwconfig wlan0 mode master
>> Error for wireless request "Set Mode" (8B06) :
>>    SET failed on device wlan0 ; Invalid argument.

I am also trying to get ath5k Master/AP mode working with my wireless card.

I am using a GIGABYTE GN-WS50G 802.11 b/g Atheros AR5007 chipset
minicard mPCI express.

It gets detected as PCI ID: 168c:001c. I am using Ubuntu 8.10.

I downloaded the latest tarball from
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
and then patched the single file adding in the option for AP mode. I
unloaded the ath5k module and then reloaded it using modprobe. However
I am still getting the "SET failed on device wlan0 ; Invalid
argument."

Using hostapd 0.6.7 I see the errors:

Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed

Trying to figure out what I am missing.

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: ath5k master (AP) mode
@ 2009-02-11 18:47 Norman Rieß
  2009-02-11 21:04 ` Bob Copeland
  0 siblings, 1 reply; 33+ messages in thread
From: Norman Rieß @ 2009-02-11 18:47 UTC (permalink / raw)
  To: linux-wireless

Hello,

i pulled wireless-testing kernel today and installed hostapd-0.6.7,  but
it still does not work.


iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.

hostapd v0.6.7
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi> and contributors


hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=5 eloop_data=0x95f39e8 user_data=(nil)
handler=0x8075908


The card is Atheros Communications Inc. AR2413 802.11bg NIC (rev 01).

Regards,

Norman

^ permalink raw reply	[flat|nested] 33+ messages in thread
* ath5k master (AP) mode
@ 2008-11-12 21:48 RUMI Szabolcs
  2008-11-12 22:46 ` Pavel Roskin
  0 siblings, 1 reply; 33+ messages in thread
From: RUMI Szabolcs @ 2008-11-12 21:48 UTC (permalink / raw)
  To: linux-wireless

Hello!

I've been trying to set an Atheros NIC to AP mode using the ath5k
driver but it fails:

# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.

lspci:

03:03.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

dmesg (with compat-wireless-2008-11-12):
 
ath5k_pci 0000:03:03.0: PCI INT A disabled
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: EU
	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
	(2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
ath5k_pci 0000:03:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ath5k_pci 0000:03:03.0: registered as 'phy0'
phy0: Selected rate control algorithm 'pid'
ath5k phy0: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45)
__ratelimit: 6 callbacks suppressed
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: gain calibration timeout (2452MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: gain calibration timeout (2452MHz)
ath5k phy0: can't reset hardware (-11)
__ratelimit: 6 callbacks suppressed
ath5k phy0: gain calibration timeout (2452MHz)
ath5k phy0: can't reset hardware (-11)

First I've tried this with the driver version that is included with 2.6.27
but when I saw that it doesn't work I have installed the compat-wireless
tarball from today (2008-11-12) but it still doesn't work.

Is this how it supposed to be (eg. not supported yet) or am I just doing
something wrong?

Thanks,

Sab

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

end of thread, other threads:[~2009-05-31 14:56 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4dd58f490903041329p54ec56ceh1b64ab000027eac5@mail.gmail.com>
2009-03-04 21:33 ` ath5k master (AP) mode Alexey Yudichev
2009-03-04 22:26   ` Christoph .J Thompson
2009-03-04 22:51     ` Alexey Yudichev
2009-03-04 22:25       ` Christoph J. Thompson
2009-03-05 22:49         ` Alexey Yudichev
2009-03-06  7:45           ` Christoph J. Thompson
2009-03-10 21:04             ` Alexey Yudichev
2009-03-10 21:37               ` Christoph .J Thompson
2009-03-10 21:58                 ` Bob Copeland
2009-03-11 21:51                   ` Alexey Yudichev
     [not found]                     ` <4dd58f490905310754g2f01b083sd35831747ff93d4f@mail.gmail.com>
2009-05-31 14:56                       ` Alexey Yudichev
2009-03-04 22:58       ` pat-lkml
2009-03-05 11:43         ` Dan Williams
2009-03-05 19:09           ` pat-lkml
2009-03-05 19:12             ` Ben Greear
2009-03-05 22:21               ` Gábor Stefanik
2009-02-13 21:28 Jeff Tchang
  -- strict thread matches above, loose matches on Subject: below --
2009-02-11 18:47 Norman Rieß
2009-02-11 21:04 ` Bob Copeland
2009-02-11 22:34   ` pat-lkml
2009-02-12  9:12   ` Norman Rieß
2008-11-12 21:48 RUMI Szabolcs
2008-11-12 22:46 ` Pavel Roskin
2008-11-12 23:46   ` RUMI Szabolcs
2008-11-13 17:11     ` RUMI Szabolcs
2008-11-13 17:49       ` Johannes Berg
2008-11-13 22:59         ` RUMI Szabolcs
2008-11-13 23:03           ` Johannes Berg
2008-11-13 23:07           ` Nick Kossifidis
2008-11-14 10:15             ` RUMI Szabolcs
2009-02-10 12:14               ` RUMI Szabolcs
2009-02-11 21:49                 ` Nick Kossifidis
2009-02-12  2:11                   ` Ben Greear

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.