Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:netgear:r6220 [2024/03/31 09:36] – [Installation through telnet (OpenWrt 18.06)] completly removed due to outdated and non-relevant informations badulesiatoh:netgear:r6220 [2024/03/31 09:44] – [Debricking / back to stock firmware] badulesia
Line 88: Line 88:
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
  
-<WRAP BOX>+Upgrading can be done using LuCI or sysupgrade (in SSH) in the usual way. 
 +Upgrading from 19.07 to an higher version requires a complete new setup due to DSA syntax. So don't keep settings and reconfigure from scratch. Upgrading from 21.02 to a higher version can be done while keeping settings. Refer to the release note of each version for general purpose compatibility.
  
-FIXME These are generic instructions. Update with your router's specifics. 
  
-==== LuCI Web Upgrade Process ==== 
  
-  * Browse to ''%http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/%'' LuCI Upgrade URL 
-  * Upload image file for sysupgrade to LuCI 
-  * Wait for reboot 
- 
-==== Terminal Upgrade Process ==== 
- 
-If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. 
-There are two command line methods for upgrading: 
- 
-  * ''sysupgrade'' 
-  * ''mtd'' 
- 
-<WRAP center round important 60%> 
-It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. 
-</WRAP> 
- 
-=== sysupgrade === 
- 
-  * Login as root via SSH on 192.168.1.1, then enter the following commands: 
- 
-<code> 
-# Version 18.06.X 
-cd /tmp 
-wget http://downloads.openwrt.org/releases/18.06.5/targets/ramips/mt7621/openwrt-18.06.5-ramips-mt7621-r6220-squashfs-sysupgrade.tar 
-sysupgrade -v /tmp/openwrt-18.06.5-ramips-mt7621-r6220-squashfs-sysupgrade.tar 
- 
-# Version 19.07.X 
-cd /tmp 
-wget http://downloads.openwrt.org/releases/19.07.2/targets/ramips/mt7621/openwrt-19.07.2-ramips-mt7621-r6220-squashfs-sysupgrade.bin 
-sysupgrade -v /tmp/openwrt-19.07.2-ramips-mt7621-r6220-squashfs-sysupgrade.bin 
- 
-</code> 
-<WRAP center round important 60%> 
-Since version 19.07.X, sysupgrade images now have the ".bin" extension instead of ".tar". 
-</WRAP> 
- 
- 
-=== mtd === 
- 
-If ''sysupgrade'' does not support this router, use ''mtd''. 
- 
-  * Login as root via SSH on 192.168.1.1, then enter the following commands: 
- 
-FIXME The commands below are just an example. 
-<code> 
-cd /tmp 
-wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc 
-mtd write /tmp/xxx.abc linux && reboot 
-</code> 
- 
-:!: Flashing to the wrong mtd label or an invalid image file may **brick** your device.\\  
-:!: DO NOT attempt to write files with the ''.tar'' extension using mtd. 
- 
-</WRAP> 
  
 ===== Debricking / back to stock firmware ===== ===== Debricking / back to stock firmware =====
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
  
-Debricking of the R6220 can be done by using the **nmrpflash** program. It is somehow a ''tftp'' method to upload file, and so the stock firmware. See details over here: [[https://github.com/jclehner/nmrpflash]]. You will also need [[https://npcap.com/dist/|npcap]] tool. Latest version don't seem to work. Version 1.60 does.+Debricking of the R6220 can be done by using the **nmrpflash** program. It is somehow a ''tftp'' method to upload file, and so the stock firmware. See details over here: [[https://github.com/jclehner/nmrpflash]]. You will also need [[https://npcap.com/dist/|npcap]] tool. Versions 1.60 and 1.79 are working.
  
-While the doc states to launch the progran THAN power on the router, it has been found that you must power on the router THAN launch the program for the R6220. After uploading the file, the message ''Received keep-alive request'' may take a while (>4 min) to complete, so be patient. In the example below, notice 253s. Reboot when told to by using the power button.+While the doc states to launch the progran THAN power on the router, it has been found that you must power on the router THAN launch the program for the R6220. After uploading the file, the message ''Received keep-alive request'' may take a while to complete (up to 4 min), so be patient. In the example below, notice **253s**. Reboot when told to by using the power button.
  
 <code bash> <code bash>
Line 170: Line 115:
 </code> </code>
  
-You can use the same method to install a ''factory'' OpenWrt image. In this case the ''Received keep-alive request'' message is about 60s long.+You can use the same method to install a ''factory'' OpenWrt image. In this case the ''Received keep-alive request'' message is longer (image is larger).
  
-if this fails try temporarily disabling the windows firewall while using nmrpflash and remember to re enable it after.+if this fails try temporarily disabling the windows firewall while using nmrpflashand remember to re-enable it after.
 ===== Flash Layout ===== ===== Flash Layout =====
  
  • Last modified: 2024/07/25 15:32
  • by badulesia