Re: EAP authenticator place in the hostapd.conf

Dennis Bland <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <CAPRryQqznR83eN46bKOXqzNX_jN4=ZjRwsONW-+obMeBGFPdpA@mail.gmail.com>
You will get these configuration errors when CONFIG_NO_RADIUS is
enabled as a compile-time option in your .config file.

To avoid these errors, comment out the setting as shown below, and
recompile hostapd.

#CONFIG_NO_RADIUS=y


On Wed, Apr 22, 2020 at 11:14 AM <[email protected]> wrote:
>
> Hi,
>
> I want to configure hostapd as an AP to authenticate via wired interface
> STA(tions) against a freeradius server.
>
> This is my config
>
> # cat /etc/hostapd.conf | grep ^[^#]
> interface=eth0
> logger_syslog=-1
> logger_syslog_level=2
> logger_stdout=-1
> logger_stdout_level=2
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
> ieee8021x=1
> eapol_version=2
> eapol_key_index_workaround=0
> eap_reauth_period=3600
> own_ip_addr=192.168.200.236
> auth_server_addr=192.168.200.120
> auth_server_port=1812
> auth_server_shared_secret=*secret*
>
> Which results in errors
>
> # hostapd /etc/hostapd.conf
> Configuration file: /etc/hostapd.conf
> Line 1057: unknown configuration item 'auth_server_addr'
> Line 1058: unknown configuration item 'auth_server_port'
> Line 1059: unknown configuration item 'auth_server_shared_secret'
> Invalid IEEE 802.1X configuration (no EAP authenticator configured).
> 4 errors found in configuration file '/etc/hostapd.conf'
> Failed to set up interface with /etc/hostapd.conf
> Failed to initialize interface
>
> Why?
>
> How and where in the config  can I set the right EAP authenticator?
>
> Thanks,
> Erwin
>
>
>
> _______________________________________________
> Hostap mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/hostap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.