Add 802.1x dynamic vlan support
as I was creating a WLAN for our company based on pfsense APs, I run into the problem, that pfsense has no option to enable dynamic vlan support of hostapd. What I needed was something like: https://dev.openwrt.org/ticket/15259 . In short i need this options:
added to the /var/etc/hostapd_ath0xxxx.conf. However, this conf file is overwritten each time, the interface is adjusted.
Is it possible to add a freely configurable field where it is possible to add advanced options as it is existing for OpenVPN?
Or even better can you add options to the wireless interface configuration to enable dynamic vlan assginment?
#2 Updated by Viktor Gurov 4 months ago
- Target version set to 2.5.0
Dynamic VLAN support is not compiled:
Configuration file: /var/etc/hostapd_rtwn0_wlan0.conf Line 7: DEPRECATED: 'dump_file' configuration variable is not used anymore Line 30: unknown configuration item 'vlan_tagged_interface' 1 errors found in configuration file '/var/etc/hostapd_rtwn0_wlan0.conf' Failed to set up interface with /var/etc/hostapd_rtwn0_wlan0.conf Failed to initialize interface
commented by default https://github.com/pfsense/FreeBSD-src/blob/devel-12/contrib/wpa/hostapd/defconfig:
# Enable support for fully dynamic VLANs. This enables hostapd to # automatically create bridge and VLAN interfaces if necessary. #CONFIG_FULL_DYNAMIC_VLAN=y # Use netlink-based kernel API for VLAN operations instead of ioctl() # Note: This requires libnl 3.1 or newer. #CONFIG_VLAN_NETLINK=y