MAC address filter using hostapd with madwifi

joseph_chen chenifang
Tue Apr 12 20:22:01 PDT 2005


hi~



I would like to know how to use MAC address filter using hostapd with madwifi driver.

I can use iwpriv to set MAC filter policy, but I cannot use hostapd to achieve the same goal as iwpriv does. The sample `madwifi.conf` in the hostapd source directory does not contain the section of MAC-related settings. Dose it mean that hostapd does not support MAC filtering if madwifi driver is used? The following is my configuration file, and it seems that when both ?wpa? and ?ieee8021x? are all set to 0, the hostapd will not enable wireless LAN interface. Could anyone can provide me the right settings about MAC filtering.

Any help is greatly appreciated!!

                                                        

                                                 Joseph

 ------------------------------------------------------------------

interface=ath0

driver=madwifi

logger_syslog=-1

logger_syslog_level=2

logger_stdout=-1

logger_stdout_level=2

debug=0                                                                                                                                                         

# Station MAC address -based authentication

# 0 = accept unless in deny list

# 1 = deny unless in accept list

# 2 = use external RADIUS server (accept/deny lists are searched first)

macaddr_acl=0

accept_mac_file=/etc/hostapd.accept

deny_mac_file=/etc/hostapd.deny

auth_algs=3

wpa=0

wpa_pairwise=TKIP

ieee8021x=0

wpa_pairwise=TKIP

wpa_key_mgmt=WPA-EAP

own_ip_addr=192.168.12.100

auth_server_addr=192.168.12.42

auth_server_shared_secret=radius

auth_server_port=1812

----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20050413/e2580428/attachment.htm 



More information about the Hostap mailing list