hostap issues on etch box...

Jouni Malinen j
Sat Mar 24 16:05:02 PDT 2007


On Wed, Mar 07, 2007 at 02:10:21PM +0100, fred wrote:

> But when I run it as standalone:
> 
>   {pts/3}:~/[15]/> /usr/local/bin/hostapd -dd /etc/hostapd/hostapd.conf 
>  > log
>   ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
>   l2_packet_receive - recvfrom: Network is down

Those can be ignored.

> I - wifi AP host side:

> 2) ifconfig says:
> br0       Lien encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
> eth0      Lien encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
> eth1      Lien encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
> lo        Lien encap:Boucle locale 

ath0 did not show up in this list.. Was it down?

> 3) /etc/hostapd/hostapd.conf (all commented lines are omitted)

>   auth_algs=3

This should be auth_algs=1 for WPA (though, having 3 here should not
really break anything).

>   wme_enabled=1

madwifi does not use WMM configuration from hostapd.conf, so all wme_*
options can be removed.

>   wpa=3
>   wpa_psk=my64bitskey
>   wpa_key_mgmt=WPA-PSK WPA-EAP
>   wpa_pairwise=TKIP CCMP

Since you do not seem to be using WPA-Enterprise, I would suggest
removing WPA-EAP from here. It can make clients try to use WPA-EAP
which would fail in this case.

>   macaddr_acl=1
>   accept_mac_file=/etc/hostapd/hosts.allow
>   deny_mac_file=/etc/hostapd/hosts.deny

> 4) my /etc/hostapd/hosts.allow & /etc/hostapd/hosts.deny
>   hosts.allow:
>   AA:AA:AA:AA:AA:AA
>   BB:BB:BB:BB:BB:BB
> 
> Note: my /etc/hostapd/hosts.deny is empty. What should I put in it, 
> knowing I want to deny all ?

Doesn't matter since you are using macaddr_acl=1 (deny unless in accept
list).

> Where can I get some info about it (nothing in man pages or 
> /usr/share/doc/) ?

In hostapd.conf.

> II - wifi client side (ipw3945 driver):

>   iface eth2 inet static
>   wpa-ssid myssid
>   wpa-key-mgmt WPA-PSK WPA-EAP

I would suggest removing WPA-EAP since you do not seem to be using
WPA-Enterprise.

If removal of WPA-EAP is not enough to fix this, please try to run
wpa_supplicant manually with -dd on the command line and post the debug
log from it.
 
-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list