NETGEAR WNDR4300 flash openwrt/LEDE firmware

NETGEAR WNDR4300 flash openwrt/LEDE firmware

Netgear WNDR4300 (v1) is the most classic router capable of flashing openwrt and its branches, and it is the one with better price-performance ratio. This article will introduce how to use TFTP to flash the firmware: it is especially suitable for the situation where the flashing fails, the router is not connected, and you want to flash again. Of course, it can also be used for the first flashing.

The reason why I chose to use the TFTP flashing method is that this flashing method is very reliable, no matter how you hang up your router: it can be used if the network is not connected/ping is unreachable, you can think that this is a flashing program The ultimate weapon is also the final plan.

Prepare materials

First of all, you need an openwrt/LEDE boot image. It is recommended that you use the official image. Do not use various modified versions or personally made images: it is not safe. Official mirror download at the following address: openwrt , LEDE , then go find your own equipment, and download the related factory and sysupgrade mirror image). Personally recommend LEDE, there are a large number of orthodox openwrt developers participating.

Recovery mode

No matter what your router is connected to, it can be restored to the factory settings.

  • Power off the router

  • Press and hold the "Reset" button with a toothpick etc.

  • Turn on the power and wait for the indicator light to flash from yellow light -> yellow light -> green light -> green light flashing

  • Release the "Reset" button

Install TFTP

This can be installed by yourself according to each release.

Set up the client

At this time, the router does not start the DHCP service, so the user needs to manually set the client's IP configuration.

  • IP address: Choose one from 192.168.1.2-192.168.1.244, generally choose 192.168.1.2

  • Network Mask: 255.255.255.0

  • Gateway:192.168.1.1

Use FTP

I am using Linux TFTP, and I encountered a pitfall during the use: you directly upload the image using the default TFTP settings, it will prompt Transfer timeoutedan error. I thought my router was completely bricked, or there was a problem with my network settings. Later, it was discovered that Linux TFTP needs to be changed to the binarymode to upload normally.

Connect TFTP

tftp 192.168.1.1

This will enter TFTP mode, and you will see the command prompt becomestftp>

Set binary

Set transfer mode

tftp> binary

Set detailed mode (optional)

Set verbose mode so you can see more detailed output

tftp> verbose

Upload image

tftp> put <openwrt_or_lede_factory_image>

Note that the factory image is used here, not the sysupgrade image. In addition, it is best not to modify the name of the image, please use the name of the official download, otherwise it may cause unrecognizable situation

Restart routing

After the upload is successful (to be safe, wait a minute or so), restart the server, and you can connect to the router with a wired network. Note that the wireless network of the router may not be turned on at this time (because I can't remember this detail), the wireless may not be able to find the network (if it can be found, then the name of the wireless network is likely to be LEDE). Use wired To connect to the server. After connecting, note that you need to modify the router password and configure the wireless network settings. The most important thing is: by default, even if you need to change the wireless network configuration, but the wireless network of the router is not turned on, you need to press a button with the WI-FI logo on the hardware of the router to access The wireless router is out. If you don’t know this, you might think your router is broken because you can’t search for wireless signals!

Upgrading the system

After entering the management web interface, select the system, and then select upload image upgrade. Note that the sysupgrade image (not the factory image) is used here, and it is best not to modify the file name of the image. Wait for the system to restart, and you're done!

Guess you like

Origin blog.csdn.net/hailangnet/article/details/104304968