Fwd: WEP auth for hostapd AP not configurable

Alexander Velkov <[email protected]> Wed, 10 Jun 2020 17:29:32 +0200
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
Hi,

I have problems configuring an AP with WEP authentication using the
latest hostapd (v2020-06-08 GIT:
5a8b366233f5585e68a4ffbb604fbb4a848eb325). I get an error that the
"wep_" configuration options are unknown:

BOX[~]# cat /var/etc/hostapd/hostapd_wlan1.conf
driver=nl80211
interface=wlan1
wds_sta=0
ssid=test068
ignore_broadcast_ssid=0
wmm_enabled=1
uapsd_advertisement_enabled=1
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=5
auth_algs=1
wep_default_key=0
wep_key0=0123456789
wep_rekey_period=0
eapol_key_index_workaround=1
ieee80211d=1
country_code=DE
hw_mode=g
channel=1


BOX[~]# /bin/hostapd -dd -P /var/run/hostapd_wlan1.pid
/var/etc/hostapd/hostapd_wlan1.conf
random: Trying to read entropy from /dev/random
Configuration file: /var/etc/hostapd/hostapd_wlan1.conf
Line 13: unknown configuration item 'wep_default_key'
Line 14: unknown configuration item 'wep_key0'
Line 15: unknown configuration item 'wep_rekey_period'
3 errors found in configuration file '/var/etc/hostapd/hostapd_wlan1.conf'
Failed to set up interface with /var/etc/hostapd/hostapd_wlan1.conf
hostapd_init: free iface 0x1d87330
Failed to initialize interface
BOX[~]#

Thanks for any help!

Best regards
Alexander Velkov