The problem is that packages freeradius3-mod-eap-peap and freeradius3-mod-eap-ttls can't be installed at the same time. For example, if freeradius3-mod-eap-peap is installed first, then you get an error message for freeradius3-mod-eap-ttls:
- check_data_file_clashes: Package freeradius3-mod-eap-ttls wants to install file /etc/freeradius3/sites-enabled/inner-tunnel But that file is already provided by package * freeradius3-mod-eap-peap
- opkg_install_cmd: Cannot install package freeradius3-mod-eap-ttls.
As a result, the daemon doesn't work and the log reports this:
Mon Feb 20 17:35:28 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:28 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:33 2017 : Info: Debugger not attached
Mon Feb 20 17:35:34 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:34 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:39 2017 : Info: Debugger not attached
Mon Feb 20 17:35:39 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:39 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:45 2017 : Info: Debugger not attached
Mon Feb 20 17:35:45 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:45 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:50 2017 : Info: Debugger not attached
Mon Feb 20 17:35:50 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:50 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
The obvious solution is to install the freeradius3-mod-eap-ttls package with option --force-overwrite but I think it's better to fix the packages!
Thank's for reading!