Difference between revisions of "RUT9xx Firmware via The Bootloader Menu"
(18 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
==Summary== | ==Summary== | ||
− | A Bootloader is a program that loads the operating system or some other system software for the router after completion of the power-on self-tests; it is the loader for the operating system itself. The '''Bootloader menu''' is the router's special state that can be achieved before the Bootloader loads up the router's OS. While the router is in this state you can use it to upgrade the router's Firmware | + | A Bootloader is a program that loads the operating system or some other system software for the router after completion of the power-on self-tests; it is the loader for the operating system itself. The '''Bootloader menu''' is the router's special state that can be achieved before the Bootloader loads up the router's OS. While the router is in this state you can use it to upgrade the router's Firmware, Bootloader version and ART partition. This chapter is guide on how to upgrade a RUT9xx router's Firmware via the '''Bootloader menu'''. |
− | == | + | ==When should you upgrade== |
− | Firmware | + | Usually it is recommended that you upgrade the router's Firmware whenever there is a new version. Upgrading through the Bootloader menu, however, is only needed when the router is unable to boot up, crashes during or shortly after boot up or when some other critical bug is present. |
− | + | ==Upgrade== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Set up a static IP address for your PC=== | ===Set up a static IP address for your PC=== | ||
Line 26: | Line 19: | ||
====Windows 10==== | ====Windows 10==== | ||
---- | ---- | ||
− | To set up a static IP address on your PC using Windows 10, you must first go to the '''Ethernet Settings''' menu. In order to reach the '''Ethernet Settings''' window, enter "''' | + | To set up a static IP address on your PC using Windows 10, you must first go to the '''Ethernet Settings''' menu. In order to reach the '''Ethernet Settings''' window, enter "'''change ethernet settings'''" in the Windows search field located next to '''Start''' in the bottom left corner of the screen and press '''Enter''': |
Line 56: | Line 49: | ||
---- | ---- | ||
− | To undo these changes, go back to the '''Internet Protocol Version 4 (TCP/IPv4)''' window | + | To undo these changes, go back to the '''Internet Protocol Version 4 (TCP/IPv4)''' window a check '''Obtain an IP address automatically'''. |
====Linux==== | ====Linux==== | ||
Line 87: | Line 80: | ||
Replace '''eth0''' with the name of your Ethernet interface. | Replace '''eth0''' with the name of your Ethernet interface. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Bootloader menu=== | ===Bootloader menu=== | ||
---- | ---- | ||
Line 117: | Line 86: | ||
Press and hold the Reset button. Plug the Power Supply back in while holding the Reset button. After plugging in the Power Supply, hold the Reset button for 3-4 sec. After this, all LAN port LEDs should start blinking. | Press and hold the Reset button. Plug the Power Supply back in while holding the Reset button. After plugging in the Power Supply, hold the Reset button for 3-4 sec. After this, all LAN port LEDs should start blinking. | ||
− | Now you can enter the Bootloader menu. Open your web browser and enter your router's IP address into the URl field and add /index.html at the end (192.168.1.1/index.html). This may not work if | + | Now you can enter the Bootloader menu. Open your web browser and enter your router's IP address into the URl field and add /index.html at the end (192.168.1.1/index.html). This may not work if have connected to the router's WebUI at least once before, since the URL's path may be cached. To solve this problem you can clear the browser's cache or, more simply, open the browser in a mode that doesn't cache browsing information. On '''Google Chrome''' it's called '''Incognito''' and can be reached by pressing '''ctrl+shift+n'''; on '''Mozilla Firefox''' it's called '''Private Browsing''' and can be reached by pressing '''ctrl+shift+p'''; on '''Microsoft Edge''' and '''Internet Explorer''' it's '''InPrivate''', can be reached by pressing '''ctrl+shift+p'''. |
− | Once you are in the Firmware upgrade window, upload the Firmware image and click | + | Once you are in the Firmware upgrade window, upload the Firmware image and click '''Update firmware''' button: |
− | [[ | + | [[Image:Configuration examples bootloader fw menu.PNG]] |
After this you should be greeted with a window such as this: | After this you should be greeted with a window such as this: | ||
− | [[ | + | |
+ | [[Image:Configuration examples bootloader uboot menu update in progress.PNG]] | ||
This means that the upgrade has started and you can close the browser window. The update itself takes a few seconds but the router will restart afterwards. The entire process before the router becomes reachable again will take 2-3 minutes. | This means that the upgrade has started and you can close the browser window. The update itself takes a few seconds but the router will restart afterwards. The entire process before the router becomes reachable again will take 2-3 minutes. | ||
+ | |||
+ | You can also update the router's Bootloader and ART partition this way if needed. Instead of '''/index.html''', the path for Bootloader is '''/uboot.html'''; for ART '''/art.html'''. You will find a guide on how to upgrade your Bootloader to a newer version '''[[Bootloader_Upgrade|here]]''' | ||
'''IMPORTANT NOTE''': don't forget to change back your PC's IP address because it might cause problems when connecting to other devices or no internet access if you haven't specified any DNS servers manually. | '''IMPORTANT NOTE''': don't forget to change back your PC's IP address because it might cause problems when connecting to other devices or no internet access if you haven't specified any DNS servers manually. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:06, 15 November 2017
Summary
A Bootloader is a program that loads the operating system or some other system software for the router after completion of the power-on self-tests; it is the loader for the operating system itself. The Bootloader menu is the router's special state that can be achieved before the Bootloader loads up the router's OS. While the router is in this state you can use it to upgrade the router's Firmware, Bootloader version and ART partition. This chapter is guide on how to upgrade a RUT9xx router's Firmware via the Bootloader menu.
When should you upgrade
Usually it is recommended that you upgrade the router's Firmware whenever there is a new version. Upgrading through the Bootloader menu, however, is only needed when the router is unable to boot up, crashes during or shortly after boot up or when some other critical bug is present.
Upgrade
Set up a static IP address for your PC
When the Bootloader menu becomes accessible, the router will not be working in its regular state, i.e., all regular services will be disabled, including DHCP, that is why you will first need to setup a Static IP address on your PC to be able to reach the router.
The router's default address is 192.168.1.1, therefore your PC's IP address should be in the first sub-net as well, for example: 192.168.1.2. The last number can be any number in the range of 2 - 254, i.e., 192.168.1.2 - 192.168.1.254. Your PC's IP can't be the same as the router's (192.168.1.1), it can't be 192.168.1.255 and 192.168.1.0 as well.
A short guide on how to set up a static IP address will be presented bellow.
Windows 10
To set up a static IP address on your PC using Windows 10, you must first go to the Ethernet Settings menu. In order to reach the Ethernet Settings window, enter "change ethernet settings" in the Windows search field located next to Start in the bottom left corner of the screen and press Enter:
When in the Ethernet Settings window, click Change adapter options located under "Related settings":
When in the Network connections window, right-click on the Network connection associated with your Ethernet adapter and click Properties:
Next, click on Internet Protocol Version 4 (TCP/IPv4):
Check Use the following IP address and enter a static IP for your PC (e.g., 192.168.1.2); netmask - 255.255.255.0; gateway - 192.168.1.1:
To undo these changes, go back to the Internet Protocol Version 4 (TCP/IPv4) window a check Obtain an IP address automatically.
Linux
To set up a Static IP on a Linux OS, open the Terminal app and enter the ifconfig command. The ifconfig command provides information on network interfaces. Find the Ethernet interface and memorize its name, which should be located on the left side of the table:
Next, enter this command into the terminal:
sudo ifconfig if_name ip_addr up
Replace if_name with the name of your Ethernet interface and ip_addr with the IP address that you want. Following from the example above the full command would look like this:
sudo ifconfig eth0 192.168.1.2 up
After this you PC's IP address should have been changed. To check, enter the ifconfig command again and check to see if the Ethernet interface has the IP that you assigned:
To undo the changes use these two commands one after the other:
sudo dhclient eth0 -r sudo dhclient eth0
Replace eth0 with the name of your Ethernet interface.
Next, you'll need to reach the router's Bootloader menu. To do so, unplug the router's Power Supply Unit (PSU) and leave only one LAN Ethernet port plugged in (for your computer). The other LAN ports and the WAN Ethernet port have to remain unplugged for the duration of the following procedure.
Press and hold the Reset button. Plug the Power Supply back in while holding the Reset button. After plugging in the Power Supply, hold the Reset button for 3-4 sec. After this, all LAN port LEDs should start blinking.
Now you can enter the Bootloader menu. Open your web browser and enter your router's IP address into the URl field and add /index.html at the end (192.168.1.1/index.html). This may not work if have connected to the router's WebUI at least once before, since the URL's path may be cached. To solve this problem you can clear the browser's cache or, more simply, open the browser in a mode that doesn't cache browsing information. On Google Chrome it's called Incognito and can be reached by pressing ctrl+shift+n; on Mozilla Firefox it's called Private Browsing and can be reached by pressing ctrl+shift+p; on Microsoft Edge and Internet Explorer it's InPrivate, can be reached by pressing ctrl+shift+p.
Once you are in the Firmware upgrade window, upload the Firmware image and click Update firmware button:
After this you should be greeted with a window such as this:
This means that the upgrade has started and you can close the browser window. The update itself takes a few seconds but the router will restart afterwards. The entire process before the router becomes reachable again will take 2-3 minutes.
You can also update the router's Bootloader and ART partition this way if needed. Instead of /index.html, the path for Bootloader is /uboot.html; for ART /art.html. You will find a guide on how to upgrade your Bootloader to a newer version here
IMPORTANT NOTE: don't forget to change back your PC's IP address because it might cause problems when connecting to other devices or no internet access if you haven't specified any DNS servers manually.