Skip to contentSkip to conversation

Can't get hostapd to start, channels are all passive-scanning?

DISCUSSION Ben Greear 2 participants 4 messages May 13, 2011 – May 14, 2011

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Any idea what would cause all of my 5Ghz channels to be passive scanning (which keeps hostapd from being able to use them, evidently)

Frequencies:
* 5180 MHz [36] (17.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (17.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (17.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (17.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (18.0 dBm) (passive scanning, no IBSS, radar detection)

Another ath9k nearby, with same 'iw reg get' info and a slightly different ath9k NIC shows this:

Frequencies:
* 5180 MHz [36] (17.0 dBm)
* 5200 MHz [40] (17.0 dBm)
* 5220 MHz [44] (17.0 dBm)
* 5240 MHz [48] (17.0 dBm)
* 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 12 lines · Ben Greear

Any idea what would cause all of my 5Ghz channels to be passive scanning (which keeps hostapd from being able to use them, evidently)

Frequencies:
* 5180 MHz [36] (17.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (17.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (17.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (17.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (18.0 dBm) (passive scanning, no IBSS, radar detection)

Bleh...reboot and it comes up looking more normal (first 4 are usable, at least).

Will post again if I can reproduce it.

Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#2 lore raw

What's the regulatory domain of the NIC?

Is it some strange race condition with CRDA?

Adrian

Quoted 31 lines · Ben Greear
Quoted 4 lines · Ben Greear

Any idea what would cause all of my 5Ghz channels to be passive scanning (which keeps hostapd from being able to use them, evidently)

Quoted 9 lines

Frequencies:
* 5180 MHz [36] (17.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (17.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (17.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (17.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (18.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (18.0 dBm) (passive scanning, no IBSS, radar detection)

Bleh...reboot and it comes up looking more normal (first 4 are usable, at least).

Will post again if I can reproduce it.

Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

author
#3 lore raw
Quoted 1 line · Adrian Chadd

What's the regulatory domain of the NIC?

From the boot where it worked:

ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a

Seems this isn't saved in /var/log/messages, so no idea what it was on the previous boot where things were more weird than normal.

Quoted 1 line

Is it some strange race condition with CRDA?

Hard to say. I did check the 'iw reg get' and it looked sane..but maybe that wouldn't show the problem...

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com