Hostapd and ath9k - AP not working
    Jouni Malinen 
    j at w1.fi
       
    Tue Mar 24 15:19:46 EDT 2009
    
    
  
On Tue, Mar 24, 2009 at 12:09:51PM -0700, Helena Zhang wrote:
> I tried setting channel and hw_mode:
> interface=wlan0
> driver=nl80211
> ssid=test
> channel=1
> hw_mode=g
> ieee80211n=1
> 
> But then I get:
> 
> Mode: IEEE 802.11g  Channel: 1  Frequency: 2412 MHz
> Could not set channel for kernel driver
Hmm.. That does not look good. Could you please send 'iw list' output?
See http://wireless.kernel.org/en/users/Documentation/iw if you do not
have a relatively recent version of iw. Please also send 'dmesg' output
after having started hostapd.
> wlan0     IEEE 802.11abgn  ESSID:""
>           Mode:Master  Frequency:2.412 GHz  Tx-Power=27 dBm
>           Retry min limit:7   RTS thr:off   Fragment thr=2352 B
>           Encryption key:off
>           Power Management:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> ESSID is still blank and stations are still unable to see the ap.
Not seeing SSID in iwconfig output is actually by design when using
driver=nl80211, so that can be ignored. Not seeing the AP is of course
not expected.
-- 
Jouni Malinen                                            PGP id EFC895FA
    
    
More information about the HostAP
mailing list