Hostap, Freeradius and TLS

info at dettorre.com info
Tue Sep 28 00:29:00 PDT 2004


Hello,

I\'m trying to set up Freeradius 1.0.1 with HostAP 0.2.4 and TLS. Setup up of Freeradius Server and HostAp went well. My Problem is when I start hostapd I get the following error:

pc9:~ # hostapd -dd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 22
Using interface wlan0ap with hwaddr 00:09:5b:91:a2:68 and ssid \'testing\'
wlan0: RADIUS Authentication server 127.0.0.1:1812
Default WEP key - hexdump(len=5): 6d 69 44 d6 20
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
Could not set WEP encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Could not disable PrivacyInvoked for interface wlan0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Could not remove generic information element from interface wlan0
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported

my hostapd.conf looks like this:

##### IEEE 802.1X (and IEEE 802.1aa/D4) related configuration ####

# Require IEEE 802.1X authorization
ieee8021x=1

# Use internal minimal EAP Authentication Server for testing IEEE 802.1X.
# This should only be used for testing since it authorizes all users that
# suppot IEEE 802.1X without any keys or certificates.
minimal_eap=0

# Optional displayable message sent with EAP Request-Identity
eap_message=hello

# WEP rekeying (disabled if key lengths are not set or are set to 0)
# Key lengths for default/broadcast and individual/unicast keys:
# 5 = 40-bit WEP (also known as 64-bit WEP with 40 secret bits)
# 13 = 104-bit WEP (also known as 128-bit WEP with 104 secret bits)
wep_key_len_broadcast=5
wep_key_len_unicast=5
# Rekeying period in seconds. 0 = do not rekey (i.e., set keys only once)
wep_rekey_period=300

# EAPOL-Key index workaround (set bit7) for WinXP Supplicant (needed only if
# only broadcast keys are used)
eapol_key_index_workaround=0

##### RADIUS configuration ####
# for IEEE 802.1X with external Authentication Server, IEEE 802.11
# authentication with external ACL for MAC addresses, and accounting

# The own IP address of the access point (used as NAS-IP-Address)
own_ip_addr=127.0.0.1

# RADIUS authentication server
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=testing123

when I try to set wep encryption for wlan0ap I get:

pc9:~ # iwconfig wlan0ap key 12345
Error for wireless request \"Set Encode\" (8B2A) :
    SET failed on device wlan0ap ; No such device.

The Firmware of my Netgear MA311 Card is:

pc9:~/hostap-utils-0.2.4 # ./hostap_diag wlan0
Host AP driver diagnostics information for \'wlan0\'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.5.6 (station firmware)


I would appreciate if someone of the list could give me a hint to solve this.

Thank You very much.

Regards
D\'Ettorre Sandro




More information about the Hostap mailing list