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 [2023/06/24 15:58] – [Debricking / back to stock firmware] badulesiatoh:netgear:r6220 [2024/03/31 09:44] – [Debricking / back to stock firmware] badulesia
Line 5: Line 5:
 /* USE https://openwrt.org/meta/create_new_device_page */ /* USE https://openwrt.org/meta/create_new_device_page */
  
-The Netgear R6220 is a simultaneous dual band WIFI router with AC1200 WiFi - 300+867 Mbps (2.4 & 5 GHz) speeds. It contains non-removable external antennas. The router features 4 Gbit LAN and one Gbit WAN port. It comes with a large 128 MB NAND ROM with space for many packages and a single core (dual thread) MIPS CPU powered by 128 MB RAM.+The Netgear R6220 is a simultaneous dual band WIFI router with AC1200 WiFi - 300+867 Mbps (2.4 & 5 GHz) speeds. External antennas are non-removable. The router features 4 Gbit LAN and one Gbit WAN port. It comes with a large 128 MB NAND ROM with space for many packages and a single core (dual thread) MIPS CPU powered by 128 MB RAM.
  
-The R6220 is based on the MT7621 and received official support since OpenWrt 18.06.+The R6220 is based on the MT7621 and received official support since OpenWrt 18.06. It supports software and hardware offloading since 22.03.
  
 The R6230 is most likely internally identical to the R6220. OpenWrt installation has been achieved by treating the device as an R6220. Although success has been achieved on two units, the R6230 is not officially supported. The R6230 is most likely internally identical to the R6220. OpenWrt installation has been achieved by treating the device as an R6220. Although success has been achieved on two units, the R6230 is not officially supported.
Line 14: Line 14:
  
 ⚠️ [[https://forum.openwrt.org/t/wifi-stability-issue-with-netgear-r6220/69901|Some users report wifi issues.]] ⚠️ [[https://forum.openwrt.org/t/wifi-stability-issue-with-netgear-r6220/69901|Some users report wifi issues.]]
- 
-flow_offloading appeared to work but was only briefly tested. 
- 
  
 /*****/ /*****/
Line 24: Line 21:
 {{media:netgear:netgear_r6220.png?400|Netgear R6220}} {{media:netgear:netgear_r6220.png?400|Netgear R6220}}
 ===== Supported Versions ===== ===== Supported Versions =====
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_urlDevice Techdata_pageid +  "source""json", 
-headers Brand, Model, Version, Current Release, OEM Info, Forum TopicTechnical Data +  "dom": "t", 
-align   c,c,c,c,c,c,c +  "paging": false
-filter  : Brand=Netgear +  "rotate"true
-filter  Model=R6220 +  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""owrt_forum_topic_url", "deviceid"]
-----+  "filterColumns"{"brand": "^Netgear$", "model""^R6220$"} 
 +-->
  
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPUCPU MHzCPU Cores_, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet 1Gbit ports_, Modem, USB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,1Gbit ports,Modem,USB +  "dom": "t", 
-align   : c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false, 
-filter  : Brand=Netgear +  "rotate": true
-filter  Model=R6220 +  "shownColumns"["model""version""cpu""cpumhz""cpucores""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem""usbports"]
-----+  "filterColumns": {"brand""^Netgear$", "model""^R6220$"} 
 +-->
  
  
 ===== Installation ===== ===== Installation =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_urlFirmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : c,c,c +  "paging": false, 
-filter  : Brand=Netgear +  "rotate": true
-filter  Model=R6220 +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-----+  "filterColumns"{"brand": "^Netgear$", "model""^R6220$"} 
 +-->
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
Line 61: Line 61:
  
 If you choose to install 19.07 (not recommanded for security reason), you'll noticed these tiny bugs: If you choose to install 19.07 (not recommanded for security reason), you'll noticed these tiny bugs:
-  * The wireless networks are disabled (normal default behavior of OpenWrt) nevertheless the wireless LED is still on. A reboot, or use of the wireless handswitch, restores the right LED status. +  * the wireless LED is still on while wireless networks are disabled (default behavior of OpenWrt). A reboot, or use of the wireless handswitch, restores the right LED status. 
-  * There is no default LED rules configurated, add some if you wish. +  * There is no default LED rules configurated.
-Installation of 18.06 is strongly discouraged due to security reason, and the need of a manual installation. +
-==== Installation through telnet (OpenWrt 18.06)==== +
- +
-<WRAP center round alert> +
-**This is only for vintage technical purpose, use a newer version of OpenWrt for obvious security reasons.** +
- +
-**Note**: OEM firmware 1.0.xxx will not work (mtd will not unlock for write). Version 1.1.0.50_1.0.1 will not work anyway, but versions 1.1.0.62_1.0.1, 1.1.0.80_1.0.1 and 1.1.0.86_1.0.1 are confirmed working. +
- +
-  - Copy kernel.bin and rootfs.bin to a USB flash disk, plug to usb port on the router +
-  - Call the link: ''%%http://192.168.1.1/setup.cgi?todo=debug%%'' (login if required, default: admin - password); if the above IP address does not work, try with 10.0.0.1. +
-  - You will see "Debug Enabled!" +
-  - telnet IP-address and login with "root" (default: admin - password) +
-  - ''ls /mnt/shares/'' to find out path of your USB disk - ''myUdisk'' for example +
-  - ''cd /mnt/shares/myUdisk'' +
-  - ''cat /proc/mtd > r6220.mtd.layout'' +
-  - ''cat /dev/mtd10ro > r6220.mtd10ro.factory.bin'' +
-  - ''mtd_write write rootfs.bin Rootfs'' +
-  - ''mtd_write write kernel.bin Kernel'' +
-  - ''reboot'' +
- +
-// Replace ''rootfs.bin'' and ''kernel.bin'' with the names of the images downloaded // +
-</WRAP> +
- +
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 112: 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 194: Line 115:
 </code> </code>
  
-You can use the same method to install a ''factory'' OpenWrt image. In the 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.
 ===== Flash Layout ===== ===== Flash Layout =====
  
Line 293: Line 216:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Commit_gitSupported since RelSupported Current RelUnsupportedInstruction SetSub Instruction SetBootloaderPlatformTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "dom""t", 
-filter  : Brand~netgear +  "paging"false, 
-filter  Model~r6220 +  "rotate": true, 
-----+  "shownColumns": ["brand""model""version""devicetype""availability""supportedsincecommit""supportedsincerel""supportedcurrentrel""unsupported_functions""bootloader""target""cpumhz""flashmb""rammb""switch""ethernet100mports""ethernet1gports""commentsnetworkports""modem""vlan""wlan24ghz""wlan50ghz""wlanhardware""wlancomments""detachableantennas""usbports""sataports""commentsusbsataports""serial""jtag""ledcount""buttoncount""powersupply""deviceid""owrt_forum_topic_url""wikideviurl""oemdevicehomepageurl""firmwareoemstockurl""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""comments"]
 +  "filterColumns"{"brand": "^netgear$", "model""^r6220$"} 
 +-->
  
 ==== Photos ==== ==== Photos ====
  • Last modified: 2024/07/25 15:32
  • by badulesia