private void SetupRadius() { if (APConfigs[1].Authentication_24GHZ == AuthenticationMethod.WPA2Enterprise || (DeviceSupports5Ghz && APConfigs[1].Authentication_5GHZ == AuthenticationMethod.WPA2Enterprise)) { Log("Setting up Radius Server"); Helpers.SetupRadius(AC, phase1Auth, phase2Auth, EnterpriseDomain, EnterpriseUser, EnterprisePassword, EnterpriseRadiusSecret, EnterpriseRadiusPort); } else { Log("Radius setup not needed"); } }
private void StartRadius(int routerIndex, bool b5GHZ) { AuthenticationMethod authMode; if (b5GHZ) { authMode = m_APConfigs[routerIndex].Authentication_5GHZ; } else { authMode = m_APConfigs[routerIndex].Authentication_24GHZ; } if (authMode == AuthenticationMethod.WPA2Enterprise) { m_ApConfigClient.StopRadiusServer(); Log("Setting up Radius Server"); Helpers.SetupRadius(m_ApConfigClient, m_Phase1Auth[routerIndex], m_Phase2Auth[routerIndex], m_EnterpriseDomain, m_EnterpriseUser, m_EnterprisePassword, m_EnterpriseRadiusSecret, m_EnterpriseRadiusPort); } }