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 [2021/08/29 15:35] – ↷ Page name changed from toh:netgear:netgear_r6220 to toh:netgear:r6220 tmomastoh:netgear:r6220 [2024/03/31 09:44] – [Debricking / back to stock firmware] badulesia
Line 1: Line 1:
-====== Netgear R6220 ======+====== NETGEAR R6220 ======
  
 /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page ONLY.  */ /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page ONLY.  */
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.
 +
 +⚠️ [[https://forum.openwrt.org/t/netgear-r6220-sqm-results-downstream-cut-in-half-and-my-optimal-settings/114301|Maximum performance with SQM is reported at 100-150 Mbps.]] fq_codel uses less CPU than CAKE. Disabling LuCI gives a small CPU performance boost as well (improving CPU-bound SQM calculations).
 +
 +⚠️ [[https://forum.openwrt.org/t/wifi-stability-issue-with-netgear-r6220/69901|Some users report wifi issues.]]
  
 /*****/ /*****/
Line 17: 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 MHzFlash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit 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)]]
  
-==== OEM easy installation (OpenWrt snapshot, 19.07 and newer)====+==== OEM easy installation (OpenWrt 19.07 and newer, snapshot)====
  
-Apply factory OpenWrt image via OEM web-gui. If after flashing OpenWrt you still see the OEM ROMflash OpenWrt again. Afterwards your router will definitely boot OpenWrt. +For security reasonit is recommanded to install the latest stable versionbut you can also install a snapshot in the same way
- +In Netgear OEM GUIgo to  ADVANCED > Administration > Firmware Update
-After installation on 19.07, you'll noticed : +Select the ''factory'' OpenWrt image you have previously downloadedthan click on Upload. You will have a warning message, don't mindAt reboot, proceed to setupYou may have to refresh your browser cache.
-  * The wireless networks are disabled (normal default behavior of OpenWrt) nevertheless the wireless LED is still on. A reboot, or use of the wireless handswitchrestores the right LED status. +
-  * There is no default LED rules configurated, add some if you wish. +
-These tiny bugs ares fixed in 21.02+
-==== Installation through telnet (OpenWrt 18.06)==== +
- +
-NOT RECOMMENDED : USE VERSION 19.07 OR NEWER INSTEAD +
- +
-**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 anywaybut 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 requireddefault: 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 //+
  
 +If you choose to install 19.07 (not recommanded for security reason), you'll noticed these tiny bugs:
 +  * 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.
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 100: 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 tool nmrpflash tool. See details over here: https://github.com/jclehner/nmrpflash+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.
  
-This tool can also be used to go back to stock firmware. For Windows usersethernet cable must be connected to switch or nmrpflash would fail to operate.+While the doc states to launch the progran THAN power on the routerit 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 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>
 +c:\temp>nmrpflash.exe -i net5 -f R6220-V1.1.0.114_1.0.1.img
 +Waiting for Ethernet connection.
 +Advertising NMRP server on net5 ... -
 +Received configuration request from xx:xx:xx:xx:xx:xx.
 +Sending configuration: 10.164.183.252/24.
 +Received upload request without filename.
 +Uploading R6220-V1.1.0.114_1.0.1.img ... OK (26892940 b)
 +Waiting for remote to respond.
 +Received keep-alive request (253).
 +Remote finished. Closing connection.
 +Reboot your device now.
 +</code>
  
-anecdotal info: +You can use the same method to install ''factory'' OpenWrt imageIn this case the ''Received keep-alive request'' message is longer (image is larger).
-My R6220 uses different mac the first few seconds after bootIf nmrpflash does not work for you, start wireshark and sniff the first few packages after boot. Try directing nmrpflash at that mac and start it right as you powercycle the router (it will only respond on that mac for a few seconds after power on)+
  
-:!: This process only works with OEM firmware, don'try to flash OpenWrt images with nmrpflash.+if this fails try temporarily disabling the windows firewall while using nmrpflash, and remember to re-enable it after.
 ===== Flash Layout ===== ===== Flash Layout =====
  
Line 271: 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