Newbie Help Request

Joshua Smith jesmith
Tue May 4 09:12:42 PDT 2010


Thanks, that got me a lot farther.

I built and installed crda, did an iw set reg US, and then I was able to get past that error.

I then ran into an error about DTIM, but I found this patch:
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-06.git;a=commitdiff;h=8fac32f5efa7a7c3fc6eee8d3723a09e7abe27fa
which got me past that.

So now hostapd is running without any errors.  However, I do not see it as an access point when I look from a 5GHz N-Capable device (MacBook Pro or iPad).

Do you see any other issues in my configuration which might explain this?

(Also, am I correct that hw_mode=a should set me to 5GHz-only mode?)

-Joshua

On May 4, 2010, at 1:18 AM, Yogesh Powar wrote:

> Problem is because of "passive scanning, no IBSS" flags that are set with channel 44. 
> Try using CRDA to reset these flags. 
> 
> Thanks
> Yogesh
> ________________________________________
> From: hostap-bounces at lists.shmoo.com [hostap-bounces at lists.shmoo.com] On Behalf Of Joshua Smith [jesmith at kaon.com]
> Sent: Monday, May 03, 2010 10:26 AM
> To: hostap at lists.shmoo.com
> Subject: Newbie Help Request
> 
> Hello!
> 
> I'm trying to create a 5GHz (only) 802.11N access point.
> 
> My kernel is 2.6.27.8
> 
> I have the April 26, 2010 version of compat-wireless
> 
> I have libnl-1.1
> 
> I have hostapd-0.6.10
> 
> I have iw-0.9.19
> 
> My wifi device is a Linksys/Cisco WMP600N (PCI) Dual-Band N
> 
> When I run hostapd, I get this error:
> 
> Configuration file: /etc/hostapd.conf
> wlan0: IEEE 802.11 Configured channel (44) not found from the channel list of current mode (2) IEEE 802.11a
> wlan0: IEEE 802.11 Hardware does not support configured channel
> Could not select hw_mode and channel. (-1)
> rmdir[ctrl_interface]: No such file or directory
> 
> Here is my /etc/hostapd.conf (comments removed):
> 
> interface=wlan0
> driver=nl80211
> logger_syslog=-1
> logger_syslog_level=0
> logger_stdout=-1
> logger_stdout_level=0
> dump_file=/tmp/hostapd.dump
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
> ssid=Kaon v-OSK
> country_code=US
> hw_mode=a
> channel=44
> beacon_int=100
> dtim_period=2
> max_num_sta=255
> rts_threshold=2347
> fragm_threshold=2346
> macaddr_acl=0
> auth_algs=1
> ignore_broadcast_ssid=0
> wmm_enabled=1
> wmm_ac_bk_cwmin=4
> wmm_ac_bk_cwmax=10
> wmm_ac_bk_aifs=7
> wmm_ac_bk_txop_limit=0
> wmm_ac_bk_acm=0
> wmm_ac_be_aifs=3
> wmm_ac_be_cwmin=4
> wmm_ac_be_cwmax=10
> wmm_ac_be_txop_limit=0
> wmm_ac_be_acm=0
> wmm_ac_vi_aifs=2
> wmm_ac_vi_cwmin=3
> wmm_ac_vi_cwmax=4
> wmm_ac_vi_txop_limit=94
> wmm_ac_vi_acm=0
> wmm_ac_vo_aifs=2
> wmm_ac_vo_cwmin=2
> wmm_ac_vo_cwmax=3
> wmm_ac_vo_txop_limit=47
> wmm_ac_vo_acm=0
> ieee80211n=1
> ht_capab=[HT40+][SMPS-STATIC][GF][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC123][MAX-AMSDU-7935]
> eapol_key_index_workaround=0
> eap_server=0
> own_ip_addr=127.0.0.1
> 
> iw list shows:
> 
> # iw list
> Wiphy phy0
>        Band 1:
>                Capabilities: 0x3f2
>                        HT20/HT40
>                        Static SM Power Save
>                        RX Greenfield
>                        RX HT20 SGI
>                        RX HT40 SGI
>                        TX STBC
>                        RX STBC 3-streams
>                        Max AMSDU length: 7935 bytes
>                        No DSSS/CCK HT40
>                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
>                Minimum RX AMPDU time spacing: 2 usec (0x04)
>                HT RX MCS rate indexes supported: 0-15, 32
>                TX unequal modulation not supported
>                HT TX Max spatial streams: 2
>                HT TX MCS rate indexes supported may differ
>                Frequencies:
>                        * 2412 MHz [1] (10.0 dBm)
>                        * 2417 MHz [2] (10.0 dBm)
>                        * 2422 MHz [3] (10.0 dBm)
>                        * 2427 MHz [4] (10.0 dBm)
>                        * 2432 MHz [5] (10.0 dBm)
>                        * 2437 MHz [6] (10.0 dBm)
>                        * 2442 MHz [7] (10.0 dBm)
>                        * 2447 MHz [8] (10.0 dBm)
>                        * 2452 MHz [9] (10.0 dBm)
>                        * 2457 MHz [10] (10.0 dBm)
>                        * 2462 MHz [11] (10.0 dBm)
>                        * 2467 MHz [12] (10.0 dBm) (passive scanning, no IBSS)
>                        * 2472 MHz [13] (11.0 dBm) (passive scanning, no IBSS)
>                        * 2484 MHz [14] (11.0 dBm) (passive scanning, no IBSS)
>                Bitrates (non-HT):
>                        * 1.0 Mbps
>                        * 2.0 Mbps (short preamble supported)
>                        * 5.5 Mbps (short preamble supported)
>                        * 11.0 Mbps (short preamble supported)
>                        * 6.0 Mbps
>                        * 9.0 Mbps
>                        * 12.0 Mbps
>                        * 18.0 Mbps
>                        * 24.0 Mbps
>                        * 36.0 Mbps
>                        * 48.0 Mbps
>                        * 54.0 Mbps
>        Band 2:
>                Capabilities: 0x3f2
>                        HT20/HT40
>                        Static SM Power Save
>                        RX Greenfield
>                        RX HT20 SGI
>                        RX HT40 SGI
>                        TX STBC
>                        RX STBC 3-streams
>                        Max AMSDU length: 7935 bytes
>                        No DSSS/CCK HT40
>                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
>                Minimum RX AMPDU time spacing: 2 usec (0x04)
>                HT RX MCS rate indexes supported: 0-15, 32
>                TX unequal modulation not supported
>                HT TX Max spatial streams: 2
>                HT TX MCS rate indexes supported may differ
>                Frequencies:
>                        * 5180 MHz [36] (6.0 dBm) (passive scanning, no IBSS)
>                        * 5190 MHz [38] (6.0 dBm) (passive scanning, no IBSS)
>                        * 5200 MHz [40] (7.0 dBm) (passive scanning, no IBSS)
>                        * 5220 MHz [44] (8.0 dBm) (passive scanning, no IBSS)
>                        * 5230 MHz [46] (8.0 dBm) (passive scanning, no IBSS)
>                        * 5240 MHz [48] (8.0 dBm) (passive scanning, no IBSS)
>                        * 5260 MHz [52] (disabled)
>                        * 5270 MHz [54] (disabled)
>                        * 5280 MHz [56] (disabled)
>                        * 5300 MHz [60] (disabled)
>                        * 5310 MHz [62] (disabled)
>                        * 5320 MHz [64] (disabled)
>                        * 5500 MHz [100] (disabled)
>                        * 5510 MHz [102] (disabled)
>                        * 5520 MHz [104] (disabled)
>                        * 5540 MHz [108] (disabled)
>                        * 5550 MHz [110] (disabled)
>                        * 5560 MHz [112] (disabled)
>                        * 5580 MHz [116] (disabled)
>                        * 5590 MHz [118] (disabled)
>                        * 5600 MHz [120] (disabled)
>                        * 5620 MHz [124] (disabled)
>                        * 5630 MHz [126] (disabled)
>                        * 5640 MHz [128] (disabled)
>                        * 5660 MHz [132] (disabled)
>                        * 5670 MHz [134] (disabled)
>                        * 5680 MHz [136] (disabled)
>                        * 5700 MHz [140] (disabled)
>                        * 5745 MHz [149] (42949672.0 dBm) (passive scanning, no IBSS)
>                        * 5755 MHz [151] (42949672.0 dBm) (passive scanning, no IBSS)
>                        * 5765 MHz [153] (42949672.0 dBm) (passive scanning, no IBSS)
>                        * 5785 MHz [157] (42949672.0 dBm) (passive scanning, no IBSS)
>                        * 5795 MHz [159] (4.0 dBm) (passive scanning, no IBSS)
>                        * 5805 MHz [161] (4.0 dBm) (passive scanning, no IBSS)
>                        * 5825 MHz [165] (3.0 dBm) (passive scanning, no IBSS)
>                        * 5835 MHz [167] (disabled)
>                        * 5845 MHz [169] (disabled)
>                        * 5855 MHz [171] (disabled)
>                        * 5865 MHz [173] (disabled)
>                        * 5920 MHz [184] (disabled)
>                        * 5940 MHz [188] (disabled)
>                        * 5960 MHz [192] (disabled)
>                        * 5980 MHz [196] (disabled)
>                        * 6040 MHz [208] (disabled)
>                        * 6060 MHz [212] (disabled)
>                        * 6080 MHz [216] (disabled)
>                Bitrates (non-HT):
>                        * 6.0 Mbps
>                        * 9.0 Mbps
>                        * 12.0 Mbps
>                        * 18.0 Mbps
>                        * 24.0 Mbps
>                        * 36.0 Mbps
>                        * 48.0 Mbps
>                        * 54.0 Mbps
>        max # scan SSIDs: 4
>        Supported interface modes:
>                 * IBSS
>                 * managed
>                 * AP
>                 * AP/VLAN
>                 * WDS
>                 * monitor
>                 * mesh point
>        Supported commands:
>                 * new_interface
>                 * set_interface
>                 * new_key
>                 * new_beacon
>                 * new_station
>                 * new_mpath
>                 * set_mesh_params
>                 * set_bss
>                 * authenticate
>                 * associate
>                 * deauthenticate
>                 * disassociate
>                 * join_ibss
>                 * Unknown command (55)
>                 * Unknown command (57)
>                 * Unknown command (59)
>                 * set_wiphy_netns
>                 * connect
>                 * disconnect
> 
> It appears to me that channel 44, which I think is an "a" channel is supported.  Any idea what the underlying error might be?
> 
> -Joshua
> 
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




More information about the Hostap mailing list