hostapd with Atheros

Michael Plourde mplourde
Tue Feb 21 12:37:44 PST 2006


ok,
i had forget to put
driver=madwifi
line in the .conf file.
But now i have this error:
----------------------------------------------------------------------------
-
 hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr xx:xx:xx:xx:xx:xx and ssid 'xxxxx'
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[unknown???]: Operation not supported
Could not connect to kernel driver.
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
madwifi_set_privacy: enabled=0
madwifi_set_iface_flags: dev_up=0
----------------------------------------------------------------------------
-
Any idea ,

Thank you,

Michael Plourde


----- Original Message ----- 
From: "Michael Plourde" <mplourde at digicom.ca>
To: <HostAP at shmoo.com>
Sent: Tuesday, February 21, 2006 3:19 PM
Subject: hostapd with Atheros


>
>  Hi,
> i have try to compile hostapd for use with my Atheros card. My .config
file
> looks like:
> --------------------------------------------------------------------------
-
> # Driver interface for Host AP driver
> CONFIG_DRIVER_HOSTAP=y
>
> # Driver interface for wired authenticator
> #CONFIG_DRIVER_WIRED=y
>
> # Driver interface for madwifi driver
> CONFIG_DRIVER_MADWIFI=y
> CFLAGS += -I/home/mplourde/Developpement/madwifi-ng-r1352-20051211
> # change to reflect local setup; directory for madwifi src
>
> # Driver interface for Prism54 driver
> #CONFIG_DRIVER_PRISM54=y
>
> # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
> #CONFIG_DRIVER_BSD=y
> CFLAGS += -I/usr/local/wrap-board/include
> LIBS += -L/usr/local/wrap-board/usr/lib
>
> # IEEE 802.11F/IAPP
> CONFIG_IAPP=y
>
>
> # WPA2/IEEE 802.11i RSN pre-authentication
> CONFIG_RSN_PREAUTH=y
>
> # Integrated EAP server
> CONFIG_EAP=y
>
> # EAP-MD5 for the integrated EAP server
> CONFIG_EAP_MD5=y
>
> # EAP-TLS for the integrated EAP server
> CONFIG_EAP_TLS=y
>
> # EAP-MSCHAPv2 for the integrated EAP server
> CONFIG_EAP_MSCHAPV2=y
>
> # EAP-PEAP for the integrated EAP server
> CONFIG_EAP_PEAP=y
>
> # EAP-GTC for the integrated EAP server
> CONFIG_EAP_GTC=y
>
> # EAP-TTLS for the integrated EAP server
> CONFIG_EAP_TTLS=y
>
> # EAP-SIM for the integrated EAP server
> #CONFIG_EAP_SIM=y
>
> # EAP-PAX for the integrated EAP server
> #CONFIG_EAP_PAX=y
>
> # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
> #CONFIG_EAP_PSK=y
>
> # PKCS#12 (PFX) support (used to read private key and certificate file
from
> # a file that usually has extension .p12 or .pfx)
> CONFIG_PKCS12=y
>
> # RADIUS authentication server. This provides access to the integrated EAP
> # server from external hosts using RADIUS.
> #CONFIG_RADIUS_SERVER=y
>
> # Build IPv6 support for RADIUS operations
> CONFIG_IPV6=y
>
> --------------------------------------------------------------------------
--
> ----
>
> i had no problem with compilation, but when trying to run hostapd :
> --------------------------------------------------------------------------
--
> ----
>  hostapd -dd /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
> ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
> Could not enable hostapd mode for interface ath0
> hostap driver initialization failed.
> --------------------------------------------------------------------------
--
> ----
> What is wrong ?
>
> Thank you,
> Michael Plourde
>
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





More information about the Hostap mailing list