[LEDE-DEV] How to compile hostapd such that there is a full WPA2 Enterprise auhenticator/supplicant?
frm frm
frm at gordijn.org
Sat Jul 16 03:38:42 PDT 2016
Hi,
I use wpad 2016-06-15-1 on Lede for WPA Enterprise authentication.
However, I get the following errors:
Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 30:
invalid DAS client
Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 33:
unknown configuration item 'dynamic_vlan'
Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 34:
unknown configuration item 'vlan_naming'
Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 36:
unknown configuration item 'vlan_tagged_interface'
Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 37:
unknown configuration item 'vlan_file'
The relevant part of my wireless config file is:
option vlan_file '/etc/config/hostapd0.vlan'
option vlan_tagged_interface 'eth1'
option vlan_naming '0'
option dynamic_vlan '2'
option dae_client '192.168.1.11'
The config file works correctly with CC 15.05.1
I get the impression that wpad somehow does not support dynamic VLANS.
What I tried:
- compiled lede myself, with wpad-mini removed and wpad added in the build
- used the following in the makefile
(package/network/services/hostapd/Makefile) cf
https://forum.openwrt.org/viewtopic.php?id=44968
DRIVER_MAKEOPTS= \
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \
CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \
CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) \
CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
CONFIG_FULL_DYNAMIC_VLAN=y \
$(if $(CONFIG_WPA_RFKILL_SUPPORT),NEED_RFKILL=y
However, in both cases wpad/hostapd does not recognize the dynamic_vlan
configs.
How can I compile hostapd such that there is a full WPA2 Enterprise
auhenticator/supplicant?
Thanks
JG
More information about the Lede-dev
mailing list