Hi Stefan,

I'm using hostapd as a daemon because my wlan is in a bridge, and this is the 
only way that it used to work some time ago, it didn't work with ifupdown. See 
http://bugs.debian.org/600589.  Is it supported now? It would be nice to move 
to a more supported solution.

The card is a Sparklan WPEA-127N with an AR9380:
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9300 Wireless 
LAN adaptor [168c:0030] (rev 01)

My /etc/default/hostapd is identical to yours. My hostapd.conf is attached, it 
is based exactly on the stock 0.7.3-4 config file. BTW, installing 1.0 didn't 
complain that I made changes to this file (usually packages ask me if I want to 
keep my changes, merge, etc.). This could be part of the bug, too, because the 
example config in /usr/share/doc/hostapd/examples looks a bit different.

hostapd_cli doesn't work because hostapd doesn't start at all. I didn't try 
rebooting, it doesn't start manually.

iw list output is attached.

I'm using a vanilla 3.4.4 kernel.

Is there any way to get some diagnostic output why hostapd fails to start? 
Didn't find anything in syslog. I'm in no hurry to upgrade so I'd like to help 
debug this.

Best regards,
Jozsef
interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=<xxx>
country_code=HU
ieee80211d=1
hw_mode=g
channel=11
beacon_int=100
dtim_period=2
max_num_sta=5
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
auth_algs=3
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-DYNAMIC][SHORT-GI-20][SHORT-GI-40][DELAYED-BA]
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase=<xxx>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
Wiphy phy0
        Band 1:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-23
                Frequencies:
                        * 2412 MHz [1] (22.0 dBm)
                        * 2417 MHz [2] (22.0 dBm)
                        * 2422 MHz [3] (22.0 dBm)
                        * 2427 MHz [4] (22.0 dBm)
                        * 2432 MHz [5] (22.0 dBm)
                        * 2437 MHz [6] (22.0 dBm)
                        * 2442 MHz [7] (22.0 dBm)
                        * 2447 MHz [8] (22.0 dBm)
                        * 2452 MHz [9] (22.0 dBm)
                        * 2457 MHz [10] (22.0 dBm)
                        * 2462 MHz [11] (22.0 dBm)
                        * 2467 MHz [12] (22.0 dBm) (passive scanning)
                        * 2472 MHz [13] (22.0 dBm) (passive scanning)
                        * 2484 MHz [14] (disabled)
                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: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-23
                Frequencies:
                        * 5180 MHz [36] (23.0 dBm) (passive scanning, no IBSS)
                        * 5200 MHz [40] (23.0 dBm) (passive scanning, no IBSS)
                        * 5220 MHz [44] (23.0 dBm) (passive scanning, no IBSS)
                        * 5240 MHz [48] (23.0 dBm) (passive scanning, no IBSS)
                        * 5260 MHz [52] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5280 MHz [56] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5300 MHz [60] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5320 MHz [64] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5500 MHz [100] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5520 MHz [104] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5540 MHz [108] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5560 MHz [112] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5580 MHz [116] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5600 MHz [120] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5620 MHz [124] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5640 MHz [128] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5660 MHz [132] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5680 MHz [136] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5700 MHz [140] (23.0 dBm) (passive scanning, no IBSS, 
radar detection)
                        * 5745 MHz [149] (23.0 dBm) (passive scanning, no IBSS)
                        * 5765 MHz [153] (23.0 dBm) (passive scanning, no IBSS)
                        * 5785 MHz [157] (23.0 dBm) (passive scanning, no IBSS)
                        * 5805 MHz [161] (23.0 dBm) (passive scanning, no IBSS)
                        * 5825 MHz [165] (23.0 dBm) (passive scanning, no IBSS)
                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
        max scan IEs length: 2257 bytes
        Coverage class: 0 (up to 0m)
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP (00-0f-ac:4)
                * CMAC (00-0f-ac:6)
        Available Antennas: TX 0x7 RX 0x7
        Configured Antennas: TX 0x7 RX 0x7
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        interface combinations are not supported
        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
                 * join_mesh
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * action
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * Unknown command (82)
                 * Unknown command (81)
                 * Unknown command (84)
                 * Unknown command (87)
                 * Unknown command (85)
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 
0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 
0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 
0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 
0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
        Device supports RSN-IBSS.
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.

Reply via email to