Skip to contentSkip to conversation

connecting to AP hardly

ath9k-devel Tamas Selmeci 1 participant 1 message Jan 23, 2009

lore
Share & tools
lore
#0 lore raw

Hello!

Now I've been using ath9k for a few days, and in station mode everything
seems to be really perfect! Respect to all of the developers.

My main issue in AP mode with hostapd-0.6.7 is that the network is visible, but it's very hard to connect to it, authentication often fails. Using compat-wireless-2009-01-18 with linux-2.6.27-rc6.

This is what I do:

modprobe ath9k
iw dev wlan0 interface add ath0 type __ap
iwconfig ath0 txpower 39mW
hostapd /tmp/hconfig

/tmp/hconfig is as follows:

interface=ath0
driver=nl80211
hw_mode=g
country_code=HU
max_num_sta=32
channel=1
logger_syslog=1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=1
ctrl_interface_group=0
macaddr_acl=0
auth_algs=1
dump_file=/tmp/hostapd.dump
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
ssid=norbolataska
ap_max_inactivity=120
wme_enabled=0 wpa_psk=af8f7d04a3331126ee9fad0cf2dbba54728389d93d83ca1549dfda2727249890

There are ~12 wifi networks visible in the vicinity, and the channel selection may be wrong, an autodetection algorithm for the least used channel is in progress. But there can be other problems, so if you have such experience, idea, adivce, please share them with me!

Thanks a lot!

Best regards,

Signature · 1 line
Tamas Selmeci