[Voyage-linux] Problem starting hostapd using Voyage 0.6.1 and madwifi driver on Alix.2d3
Gustin Johnson
(spam-protected)
Sat Apr 11 16:29:31 HKT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex wrote:
> 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
>
Has the ath0 device been created?
run iwconfig with no arguments. If you do not see ath0 then the device
is not being created properly.
I also have my athX device as part of a bridge, which I needed to
specify in the hostapd.conf.
> wpa_pairwise=TKIP CCMP
Unless you are absolutely sure you need it, there is no reason to use
TKIP. This has nothing to do with your problem, just a security tip.
> 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
> --------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkngVOUACgkQwRXgH3rKGfMazQCeK/migfuZU8OmHIfTQ23feD0Z
RG8An3vznXGg/qFxE+EjrLHdsz1BCHB9
=vARX
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list