Hello everyone. Today, we will continue to study portal authentication in WLAN. If portal authentication fails, What should we do about it? Today, the AC6005 and Huawei Agile Controller authentication software are used.

Fault Symptom
When a guest needs to connect to a wireless network, the portal authentication page is automatically displayed on the mobile browser. After entering the portal account and password, you can access the Internet successfully. What if the portal page cannot be displayed? Alternatively, the server IP address cannot be automatically redirected, and the account and password authentication fails. So what should we do about it?
Handling Approach
Check whether the network between the terminal and the server is normal.
Check the terminal model or browser version.
Enter an address and check whether the authentication page can be displayed.
Check whether the AC configuration is correct.
Check whether the DNS server address is configured.
Use test-aaa to test whether the authentication is successful.
Checking the RADIUS Authentication Logs of the Controller
Check whether the CAN bypass function is configured.
Trace the MAC address of the terminal.
Collecting Log Information
Handling Procedure
Check whether the network between the terminal and the server is normal: The first step of the protocol authentication failure check is to use the PC to connect to the portal for authentication, run the ping command on the PC to check whether the network between the terminal and the server is normal. If you use a mobile phone to connect to the portal page, enter the URL of the portal server in the browser to check whether the portal page can be opened. If the server cannot be pinged, it is recommended that you first check the network. After confirming that the network is normal, we try to use portal authentication again.
Check whether the terminal model or browser version is too old: Many customers use very old mobile phones or the browser version on their computers is too old. As a result, some protocols are not supported and authentication fails. If we use very old devices or versions, it is recommended that we update them first.
Manually enter an IP address to check whether the authentication page can be displayed. If the authentication page cannot be displayed, manually enter an IP address, such as 1.1.1.1 or any other IP address. If the authentication page can be displayed after you manually enter the address, check the DNS configuration. If the authentication page cannot be displayed, check the Portal authentication configuration, for example, the authentication template configuration.
Check whether the AC configuration is correct. The purpose of checking the AC configuration is to check whether the authentication configuration on the AC is correct. For example, check the authentication template, portal template, and URL template. Check whether the configuration is correct.
Check whether the DNS server address is configured. When configuring portal authentication, configure the DNS address in the authentication-free template to redirect the portal authentication page. You are advised to set the DNS address of the local carrier or set the DNS address to 114.114.114.114

Run the test-aaa command to test whether the authentication succeeds. The test-aaa command is frequently used for Portal authentication. You can use the user name and password to test the authentication. If the message "Accout test succeed" is displayed, the configuration and network are normal. If other results are displayed, you can check the AC configuration based on the result.

Check the RADIUS authentication log of the controller. After checking the configuration on the AC side, you can also check the configuration on the controller side. The most commonly used RADIUS authentication log information can be used to check whether the configuration of the controller is correct. For example, the configuration of terminal translation and encryption protocols may cause authentication errors.
Check whether the CAN bypass function is configured. The CAN bypass function is a command for the iOS system. Because the old iOS system is closed, portal authentication errors may occur. If this error message is displayed only on iOS, you are advised to configure the CAN bypass function and then perform the test.
Trace the MAC address of the terminal. After the preceding steps are complete, run the trace command to check whether the packets between the terminal and the server are correct. You can run the trace command to check the complete portal packet exchange process.
[AC6508] trace object mac - address xxxx - xxxx - xx7b
[AC6508] trace object ip - address x. x. 174
[AC6508] trace enable
Collect log information: If the fault persists after the preceding steps are complete, collect diag information and contact the TAC center for assistance.
[Huawei] display diagnostic - information




