Hostap, Freeradius and TLS

info at info at
Tue Sep 28 03:29:00 EDT 2004


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
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

# 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.

# Optional displayable message sent with EAP Request-Identity

# 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)
# Rekeying period in seconds. 0 = do not rekey (i.e., set keys only once)

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

##### 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)

# RADIUS authentication server

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.

D\'Ettorre Sandro

More information about the HostAP mailing list