madwifi channel

sergio hostapd at sergio.spb.ru
Sat Mar 21 06:37:38 EDT 2009


Hello.

I can't set channel on my atheros pci wifi card with hostapd channel
option. I don't want to do it iwconfig (but it is possible).

With -d hostapd says :
...
ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
...
Mode: IEEE 802.11g Channel: 11 Frequency: 0MHz
...

Why 0MHz?

/etc/hostapd/hostapd.conf:
interface=ath0
bridge=br0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=ssid
#country_code=RUS
#ieee80211d=1
channel=11
hw_mode=g
auth_algs=1
wpa=2
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP


debian lenny
2.6.26-1-amd64
hostapd 1:0.5.10-1
madwifi 1:0.9.4+r3772.20080716-1

-- 
sergio


More information about the HostAP mailing list