Four different methods
There are four ways to install OpenWrt on a single device:
1. Through the original firmware
Open the Management page of the original firmware via your browser and install the OpenWrt firmware by using the "Firmware Upgrade" option. Get.
Note: Some times the original firmware upgrade feature contains some verification features that determine that you did not swipe into the wrong firmware file, and if this feature exists, he will prevent you from installing openwrt in this way.
2. Via Bootloader and network port
It is to facilitate this, that is, to update the firmware, the majority of (not all) bootloader built-in the functionality of this update firmware. Some built-in tftp-client, others have tftp-server, there are ftp-client and even have ftp-server. What you need to know is:
- The default IP address of the bootloader (IP and BL IP are not necessarily the same after booting to the system!)
- Using the kind of protocol above
- Bootloader is a client or a server
- The port number of the default service, if not the default
- interface to connect the
- May require a user name and password to log in
- It is useful to know the point in time when the device is connected, for example: to connect within 1-5 seconds of power on the device, the device will boot into the system
Once you understand the above parameters, you can proceed as follows:
- Install the appropriate software on your computer (that is, in this case bootloader built-in ftp-server, you need to prepare the FTP connection software)
- Read the soft Armor of your handbook! such as Man TFTP, Mans TFTPD, man ftp, man ncftp, Man ftpd, Mans
PURE-FTPD or.
- Set up a static IP for your PC with the same network segment as Bootloader
- Connect your computer with the correct port
- Power
- Connect with bootloader
- Use OPENWRT firmware to overwrite the original firmware as per the specific situation
- Do not change or write to bootloader until explicitly instructed to do so! (or you'll get a high-priced brick)
Note: Sometimes bootloader will not let you brush non-original firmware, such as T Inventel DV4210 (AKA livebox)
Point in time: In order to be able to time point, connect the host and the route directly to be fast. To do it as fast as possible, you may need to turn off the connection rate auto-negotiation function (that is, open duplex 100mbps) of your network card, especially to turn off the media sense function on your system.
The specific operation
→tftp
→ftp
→xmodem
3.via Bootloader and Serial Port
→serial
4.via JTAG
→port.jtag
This article by http://www.wifidog.pro/2015/07/13/openwrt%E5%8D%87%E7%BA%A7%E5%9B%BA%E4%BB%B6.html compilation, reprint please indicate the source
OpenWrt Firmware Upgrade method