Example for Switching a Fit AP to the Fat Mode Using Uboot
Applicable Scope
It is recommended that the AP mode be switched using a method described in the preceding part. If the switching fails, consider switching the AP mode in Uboot mode.
Applicable version: versions earlier than V200R019C10
Applicable model: APs that support the Fit and Fat modes and have a console port
Networking Scenario
If the mode switching using the preceding methods fails, you can use the Uboot mode to switch the AP mode.
Connect the AP to a PC through an Ethernet cable in a proper mode, as shown in Figure 4-14.
If the AP supports DC power supply and works with a power adapter, connect the AP to a PC directly through an Ethernet cable. If the AP does not support DC power supply or no adapter is available, supply PoE power to the AP. In this case, connect the AP to the PC through a PoE device.
When the PC serves as a TFTP server, prepare the Fat AP software package for the AP to obtain through TFTP.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document. If you are not familiar with the product or operation, read the detailed guidance in the following sections.
Step |
Task |
---|---|
1 |
Prepare the environment: Download the Fat AP software package of the target version to the PC. Configure the IP address for the PC and specify the TFTP tool directory to the same as that for storing the software package on the PC. Check network connectivity and the indicator states of the AP. |
2 |
Start the switching: Restart the AP, enter the Uboot CLI view, configure the IP addresses of the AP and TFTP server, and run the update system filename command. Restart the AP again. |
3 |
Verify the switching: Log in to the AP again and check the working mode of the AP. |
Configuration Procedure
- Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Device
Description
PC
Operating system: Windows 7
Terminal emulation software: PuTTY (third-party software)
TFTP server software
AP
Model: AP4050DN
Version: V200R007C20
Default information:
- Baud rate (B): 9600
- Data bits (D): 8
- Parity (P): None
- Stop bits (S): 1
- Flow control (F): None
- Uboot password: The default username and password are available in WLAN Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
# Set the PC IP address to 192.168.56.1.
# Set TFTP server parameters.- Open the TFTP software on the PC. Select a local directory to provide file services for clients.
# Log in to Huawei enterprise technical support website (support.huawei.com/e), download the Fat AP software package, and store the package on the FTP directory.
- Enter the Uboot CLI view and configure the AP to communicate with the TFTP server.
# Connect the AP to the PC through a serial cable. Check the COM port used by the serial port on the PC.
# Open PuTTY on the PC, set Connection type to Serial, enter the COM port, and click Open.
# Restart the AP.
# Press F within 3 seconds when the following information is displayed to enter the Uboot CLI view:
Press f or F to stop Auto-Boot in 3 seconds: 3 Password for uboot cmd line : //Enter the Uboot password. ar7240>
# Configure IP addresses for the AP and TFTP server to be in the same network segment so that the AP can obtain the target software package from the TFTP server.
ar7240> setenv ipaddr 192.168.56.2 //IP address of the AP ar7240> setenv serverip 192.168.56.1 //IP address of the TFTP server ar7240> saveenv Saving Environment to Flash... Erasing Flash...Writing to Flash... done
- Start the switching.
# Switch the AP mode to Fat. Set the file name (including the file name extension) of the target software package.
In V200R019C10 and later versions, the file name extension of the AP software package is changed from .bin to .cc.
ar7240> update system Fat&CloudAP4050DN_V200R007C20.bin Using eth0 device TFTP from server 192.168.56.1; our IP address is 192.168.56.2 Filename 'Fat&CloudAP4050DN_V200R007C20SPCh00.bin'. Load address: 0x84000000 Loading: ################################################################# ################################################################# ################################################################# ################## done ...... ...... The current device is a FIT AP, but the upgrade package is for a FAT&CLOUD AP. C ontinue? [y/n]:y Warning: Do Not Power-Off! ................................................................................ ............Done Warning: Do Not Power-Off! ...Done Upgrade nor Boot Successful Writing Version to Flash... Set Boot KernelA Address: 0x1c0f000 Erasing SPI flash...Writing to SPI flash...done Warning: The backup software system of the AP supports the fat and cloud modes. To retain the default mode (fat), please input 'Y' or 'y'. Alternatively, please select a mode (fat/cloud):fat //To switch to the cloud mode, enter cloud. Info: The system will start in default(Fat) mode. Please restart the system. Upgrade Firmware to A Successful
# Restart the AP, which takes about 2 minutes.
ar7240> reset Resetting...
- Verify the switching.
# Log in to the AP to view AP information. The AP is working in Fat mode.
login as: admin Further authentication required admin@169.254.1.1's password: Info: Current mode: Fat (working independently). Warning: The default country code is CN. Ensure that AP radio attributes comply with laws and regulations in different countries. Do you want to change the country code? [Y/N]:n Info: You are advised to change the password to ensure security. <Huawei> system-view [Huawei] display version Huawei Versatile Routing Platform Software VRP (R) software, Version 5.170 (AP4050DN FAT V200R007C20SPCh00) ...