Problem with IAPP
Khamidulla Inoyatov
kinoyatov
Thu Sep 29 08:46:54 PDT 2011
Dear all members,
I have following configuration for IAPP with EAP-TLS authentication:
MN(wpa_supplicant) <--wireless link-->AP_1(hostapd with eth0 interface for
IAPP)<--wired link-->AP_2(hostapd with eth0 interface for IAPP)<---wired
link->AAA Server(freeradius)
AP has two interface for wired and wireless link, eth0 and
ath0 respectively. However AP configured as bridge. Madwifi is used as
wireless network device's driver. Configuration file for hostapd as
following:
# Cleaned up example, see original hostapd.conf for comments.
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
iapp_interface=eth0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
##### IEEE 802.11 related configuration #######################################
ssid=IEEE80211r
macaddr_acl=0
auth_algs=1
##### IEEE 802.1X-REV related configuration ###################################
ieee8021x=1
##### RADIUS client configuration #############################################
own_ip_addr=165.229.167.248
auth_server_addr=165.229.167.249
auth_server_port=1812
auth_server_shared_secret=pw4radius
##### WPA/IEEE 802.11i configuration ##########################################
wpa=2
wpa_key_mgmt=WPA-EAP
wpa_pairwise=CCMP TKIP
However when i run i have following output:
[root at localhost hostapd]# ./hostapd -dd
/root/Download/hostapd-0.7.3/hostapd/hostapd.conf
Configuration file: /root/Download/hostapd-0.7.3/hostapd/hostapd.conf
ctrl_interface_group=10 (from group name 'wheel')
Configure bridge br0 for EAPOL traffic.
madwifi_set_privacy: enabled=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 enc_capa=0xf
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Completing interface initialization
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)
Could not connect to kernel driver.
Deauthenticate all stations
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 2)
madwifi_set_privacy: enabled=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3
Using interface ath0 with hwaddr 00:1e:c1:4d:34:74 and ssid 'IEEE80211r'
ath0: RADIUS Authentication server 165.229.167.249:1812
RADIUS local address: 165.229.167.242:60530
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0xa
madwifi_configure_wpa: key management algorithms=0x1
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA=0x2
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_madwifi_set_key: alg=2 addr=00:00:00:00:00:00 key_idx=1
madwifi_set_privacy: enabled=1
ifr.ifr_name=eth0
iface=eth0
ifr.ifr_ifindex=4
ifindex=4
iapp->udp_sock=10
errno = 99
output=-1
ioctl(SIOCGIFADDR): Cannot assign requested address
setsockopt[UDP,IP_DEL_MEMBERSHIP]: Cannot assign requested address
IEEE 802.11F (IAPP) initialization failed.
ath0: Unable to setup interface.
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)
Could not connect to kernel driver.
Deauthenticate all stations
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 2)
rmdir[ctrl_interface]: No such file or directory
madwifi_set_privacy: enabled=0
madwifi_set_ieee8021x: enabled=0
What is problem? Why it shows that it cannot assign requested address?
Can any body share some knowledge on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110930/d406797d/attachment.htm
More information about the Hostap
mailing list