Hi,

I'm having problem trying to start hostapt on an Alix.2d3 board with an Atheros
wifi card (AR5213 chipset)

I'm able to turn the wifi interface into managed mode and I can see the unsecure
Access Point (canno't connect to it though). But when I try to start the hostapd
I always get the following message:

voyage:~# hostapd -dd -K -t /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ioctl(SIOCGIFINDEX): No such device
madwifi driver initialization failed.
946687574.419793: ath0 : Unable to setup interface.
946687574.419854: Flushing old station entries
946687574.419875: Deauthenticate all stations

my hostapd.conf is here
--------------------------
interface=ath0 
driver=madwifi
ssid=Voyage
hw_mode=g
channel=1

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=1

# Debugging: 0 = no, 1 = minimal, 2 = verbose, 3 = msg dumps, 4 = excessive
debug=4

# Dump file for state information (on SIGUSR1)
dump_file=/tmp/hostapd.dump


#macaddr_acl=0
#auth_algs=1
#ignore_broadcast_ssid=0
wpa=2
wpa_psk=57602025b05e9c5765f3d68c8949598473143f3ece66dd0f96ae4b4869b99bd4
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP  
---------------------------

my interfaces are here
---------------------------
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet dhcp

#auto eth0
#iface eth0 inet static
#       address 192.168.5.200
#       netmask 255.255.255.0
#       broadcast 192.168.5.255
#       gateway 192.168.5.1

auto br0
iface br0 inet static
        address 192.168.5.200
        netmask 255.255.255.0
        broadcast 192.168.5.255
        gateway 192.168.5.1
        bridge_ports eth0 eth1 eth2 eth3

auto ath0
iface ath0 inet static
        pre-up wlanconfig ath0 destroy || true
        pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
        post-down wlanconfig ath0 destroy                      
        address 192.18.4.1               
        netmask 255.255.255.0
        broadcast 192.168.4.255
        #network 192.168.4.0   
        madwifi-base wifi0
        madwifi-mode Master
        wireless-channel 2
        wireless-essid Voyage
        wireless-txpower 18dBm
        #wireless-rate 54M
        up iwpriv ath0 mode 3
        #up iwconfig ath0 channel 2
        #up iwconfig ath0 essid Voyage
        #up iwconfig ath0 txpower 18
        #up iwconfig ath0 rate auto 
--------------------------------------------------

I tried to compile the newest version of the hostapd (0.6.8) but it didn't help
either. Some help would be appreciated



_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to