Fw: hostapd related error

Mykyta Iziumtsev mykyta.iziumtsev at gmail.com
Thu Feb 14 08:09:00 EST 2013


Hello,

That question is already answered by Jouni.

Copying from your previous conversation with him:
        in our iw list
                    2467 mhz [12] (16.0 dbm)(passive scanning)
                    2472 mhz [13] (16.0 dbm)(passive scanning)

You can see that channels 12 and 13 are marked as "passive scanning".
Hostapd can't operate on channel which is marked "DFS required",
"passive scanning" or "IBSS prohibited".
Check hostapd_get_hw_features() for this code.

I would suggest you to take a look at your WLAN driver, and find out why those
channels are marked as "passive scanning".

P.S: I hope you have strong reason to put AP on channel 12. Good practice is to
put APs on channels 1, 6 and 11. In that way they won't interfere with
each other.
Otherwise you're introducing interference which is impossible to avoid,
because WLAN CS function (on 2.4GHz, unless CS energy sense is ON,
which is unlikely)
looks only for a valid preamble, and for sure you can't decode OFDM
preamble from channel 12
when you're tuned to channel 11.

/Mykyta

On Thu, Feb 14, 2013 at 1:45 PM, RAVIKANT PATEL
<ravikant_patel182000 at yahoo.com> wrote:
>
>
> ----- Forwarded Message -----
> From: RAVIKANT PATEL <ravikant_patel182000 at yahoo.com>
> To: "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
> Sent: Thursday, February 14, 2013 4:11 PM
> Subject: Fw: hostapd related error
>
>
>
> ----- Forwarded Message -----
> From: RAVIKANT PATEL <ravikant_patel182000 at yahoo.com>
> To: "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
> Sent: Thursday, February 14, 2013 3:20 PM
> Subject: hostapd related error
>
>
> dear sir/madem
>
> hostapd.config file
>
> bridge=br0
> driver=nl80211
> ssid=MATRIX-NAVAN
> country_code=JP
> channel=12
>
>
>
> iw reg get command
>
> country JP:
> (2402 - 2472 @ 40), (N/A, 20)
> (2457 - 2482 @ 20), (N/A, 20)
> (2474 - 2494 @ 20), (N/A, 20), NO-OFDM
> (4910 - 4930 @ 10), (N/A, 23)
> (4910 - 4990 @ 40), (N/A, 23)
> (4930 - 4950 @ 10), (N/A, 23)
> (5030 - 5045 @ 10), (N/A, 23)
> (5030 - 5090 @ 40), (N/A, 23)
> (5050 - 5060 @ 10), (N/A, 23)
> (5170 - 5250 @ 40), (N/A, 20)
> (5250 - 5330 @ 40), (N/A, 20), DFS
> (5490 - 5710 @ 40), (N/A, 23), DFS
>
>
> in iw list command
>
> * 2467 MHz [12] (16.0 dBm) (passive scanning)
> * 2472 MHz [13] (16.0 dBm) (passive scanning)
> * 2484 MHz [14] (disabled)
>
>
> we got the error below as bold latter
>
> channel [11] (12) is disabled for use in AP mode, flags: 0x3
> wlan0: IEEE 802.11 Configured channel (12) not found from the channel list
> of current mode (1) IEEE 802.11g
> wlan0: IEEE 802.11 Hardware does not support configured channel
> Could not select hw_mode and channel. (-4)
> wlan0: Unable to setup interface.
> Flushing old station entries
> Deauthenticate all stations
> nl80211: Remove interface ifindex=16
> netlink: Operstate: linkmode=0, operstate=6
> nl80211: Set mode ifindex 7 iftype 2 (STATION)
>
>
> in our hostapd.config file countrycode -JP & chennel-12 is set
> in iw reg get command also shown country jp & related channel
> then why this error come
>
> please give me a reply soon
>
> your respected
> ravikant patel
>
>
>
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>


More information about the HostAP mailing list