| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| devices:network:netgear_r6260_openwrt [2025/04/26 05:38] – Sean Rhone | devices:network:netgear_r6260_openwrt [2025/11/02 05:02] (current) – [Notes] Sean Rhone |
|---|
| * [[https://openwrt.org/toh/netgear/r6260|OpenWrt Device Page]] | * [[https://openwrt.org/toh/netgear/r6260|OpenWrt Device Page]] |
| * [[https://openwrt.org/releases/snapshot|Snapshot]] | * [[https://openwrt.org/releases/snapshot|Snapshot]] |
| | * https://github.com/openwrt/openwrt/commits/main/target/linux/ramips/mt7621 |
| | |
| | * ''ramips/mt7621'' |
| |
| ===== Notes ===== | ===== Notes ===== |
| |
| * 2021/04/28: Dropping invalid packets (firewall) causes an Oculus Quest 2 to not load it's own store/home page | |
| * 2021/06/14: Enabling ''Use broadcast flag'' causes WAN not to work (Comcast/Xfinity) | |
| * 2021/06/29: Enabling ''802.11w Management Frame Protection'' on 2.4GHz caused a NC200 to not be able to connect | |
| * Stock firmware reports ''d(149)+p(153)+d(157)+d(161)'' for 5GHz channels with ''153'' selected and ''11(P)+7(S)'' for 2.4GHz with ''11'' selected | * Stock firmware reports ''d(149)+p(153)+d(157)+d(161)'' for 5GHz channels with ''153'' selected and ''11(P)+7(S)'' for 2.4GHz with ''11'' selected |
| | * :!: Might perform worse than [[devices:network:netgear_r6260_dd-wrt|DD-WRT]] (([[https://www.youtube.com/watch?v=Hg0Sjh9VMTk|this video]] 4K@60Hz has to buffer quick-enough to play ideally for HW-accel testing; OpenWRT notably doesn't buffer quick enough at times; 2025/10/25: DD-WRT at ''highspeed'' seemingly fine)) ((2025/11/01: pings 0.4ms average vs DD-WRT's lower 0.2ms)) |
| |
| ====== Stable ====== | ====== Snapshot ====== |
| |
| * https://downloads.openwrt.org/ | ===== sysupgrade ===== |
| * ''targets/ramips/mt7621'' | |
| * ''ramips-mt7621-netgear_r6260'' | |
| * [[https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip|OpenSSH-Win64.zip]] | |
| |
| * Last tested: ''openwrt-24.10.1-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin'' | * https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/ |
| |
| ssh root@192.168.1.1 | ssh 'root'@'192.168.1.1' |
| |
| rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -v 'https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/openwrt-24.10.1-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin' | rm -fv '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -p -v 'https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin' |
| |
| DEL /Q "%UserProfile%\.ssh\known_hosts" && ping -t "192.168.1.1" | rm -fv ~/'.ssh/known_hosts' && ping '192.168.1.1' |
| |
| ====== Snapshot ====== | ==== Windows ==== |
| |
| ==== Links ==== | * [[https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip|OpenSSH-Win64.zip]] |
| |
| * ''ramips/mt7621'' | "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 |
| | |
| | rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -p -v 'https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin' |
| | |
| | DEL /S "%UserProfile%\.ssh\known_hosts" && ping -t "192.168.1.1" |
| | |
| | ===== Links ===== |
| |
| * [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img|factory.bin]] | * [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img|factory.bin]] |
| * [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin|sysupgrade.bin]] | * [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin|sysupgrade.bin]] |
| |
| ==== sysupgrade ==== | ====== Packages ====== |
| |
| * This downloads the latest ''sysupgrade.bin'' and installs it | ===== LuCI ===== |
| | |
| | * https://openwrt.org/docs/guide-user/luci/luci.essentials |
| |
| ssh root@192.168.1.1 | ssh root@192.168.1.1 |
| |
| rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -v 'https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin' | sync && passwd |
| |
| rm -Rf ~/'.ssh' && ping '192.168.1.1' | apk update && apk add 'luci' && sync |
| |
| === Windows === | ==== Windows ==== |
| |
| **** | **** |
| |
| del %UserProfile%"\.ssh\known_hosts" && ping -t "192.168.1.1" | "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 |
| |
| ===== Packages ===== | ====== LuCI ====== |
| |
| ==== LuCI ==== | * :!: http://192.168.1.1/cgi-bin/luci/admin/system/admin/dropbear |
| |
| * [[https://openwrt.org/docs/guide-user/luci/luci.essentials|LuCI]] ((snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install)) | ===== Settings ===== |
| * TODO: ''opkg'' is ''apk'' now | |
| * :!: 2025/04/26: ''luci'' fails to install on ''snapshot'' | |
| |
| ssh root@192.168.1.1 | * http://192.168.1.1/cgi-bin/luci/admin/system/system |
| | * http://192.168.1.1/cgi-bin/luci/admin/system/leds |
| |
| sync && passwd | ===== cron ===== |
| |
| opkg update && opkg install 'luci' && sync | * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot |
| | * System -> Scheduled Tasks |
| | * TODO: Time this better |
| |
| ====== LuCI ====== | <code> |
| | # Restart 2:45:10 AM |
| | 44 2 * * * sleep '70' && touch '/etc/banner' && reboot |
| |
| * http://192.168.1.1 | # End</code> |
| |
| ===== Scheduled Reboot ===== | ===== DNS ===== |
| |
| * https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ | * Quad9 (ECS) |
| * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot | * [[servers:upstream_dns_servers|More DNS Servers]] |
| |
| * http://192.168.1.1/cgi-bin/luci/admin/system/crontab | 2620:fe::11 |
| |
| <code> | 2620:fe::fe:11 |
| # Restart 5:00 AM | |
| 0 5 * * * sleep '70' && touch '/etc/banner' && reboot</code> | 9.9.9.11 |
| | |
| | 149.112.112.11 |
| |
| ===== Firewall ===== | ===== Firewall ===== |
| |
| * 80/tcp HTTP | HTTP |
| * 443/tcp HTTPS | |
| | 80 |
| | |
| | HTTPS |
| | |
| | 443 |
| |
| ====== Recovery ====== | ====== Recovery ====== |
| | |
| | * Back to NETGEAR stock firmware |
| | * Can also initial-flash OpenWRT |
| |
| ===== nmrpflash ===== | ===== nmrpflash ===== |
| |
| * Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27 | * Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27 |
| * :!: If using an OpenWRT image, use the ''factory'' image | * :!: Use ''factory'' for OpenWRT image (not ''sysupgrade'') |
| |
| sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8' | sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8' |
| |
| sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -i 'enp6s0' -f ~/'Downloads/R6260-V1.1.0.84_1.0.1/R6260-V1.1.0.84_1.0.1.img' | sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -i 'enp6s0' -f ~/'Downloads/R6260-V1.1.0.84_1.0.1/R6260-V1.1.0.84_1.0.1.img' |
| | |
| | sudo ~/'Downloads/nmrpflash-0.9.25-linux-x86_64/nmrpflash' -L |
| | |
| | sudo ~/'Downloads/nmrpflash' -a '192.168.1.1' -f ~/'Downloads/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img' -i 'eno1' -R 'NA' -v |
| |
| ==== Windows ==== | ==== Windows ==== |
| | |
| | === Npcap === |
| |
| * https://npcap.com/#download | * https://npcap.com/#download |
| * Last tested: 2024/09/12: ''npcap-1.79.exe'' | * Last tested: ''npcap-1.83.exe'' |
| | |
| | * ''[x]'' Install Npcap in WinPcap API-compatible Mode |
| | |
| | === nmrpflash === |
| |
| * https://github.com/jclehner/nmrpflash/releases | * https://github.com/jclehner/nmrpflash/releases |
| * Last tested: 2024/09/12: ''nmrpflash-0.9.22-win32.zip'' | * Last tested: ''nmrpflash-0.9.25-win32.zip'' |
| |
| | * https://www.netgear.com/support/product/r6260/#download |
| * https://kb.netgear.com/000064951/R6260-Firmware-Version-1-1-0-88 | * https://kb.netgear.com/000064951/R6260-Firmware-Version-1-1-0-88 |
| * https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img | * Last tested: ''R6260-V1.1.0.88.zip'' |
| * Last tested: 2024/09/12: ''R6260-V1.1.0.88.zip'' and ''openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img'' | |
| |
| "%UserProfile%\Downloads\nmrpflash-0.9.22-win32\nmrpflash.exe" -L | * Post-flash URL: http://192.168.1.1/BRS_index.htm |
| |
| "%UserProfile%\Downloads\nmrpflash-0.9.22-win32\nmrpflash.exe" -v -R "NA" -i "net13" -f "%UserProfile%\Downloads\R6260-V1.1.0.88\R6260-V1.1.0.88_1.0.1.img" | "%UserProfile%\Downloads\nmrpflash-0.9.25-win32\nmrpflash.exe" -L |
| |
| "%UserProfile%\Downloads\nmrpflash-0.9.22-win32\nmrpflash.exe" -v -R "WW" -i "net13" -f "%UserProfile%\Downloads\openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img" | "%UserProfile%\Downloads\nmrpflash-0.9.25-win32\nmrpflash.exe" -a "192.168.1.1" -f "%UserProfile%\Downloads\R6260-V1.1.1.88\R6260-V1.1.1.88_1.0.1.img" -i "net7" -M "255.255.255.0" -R "NA" -v |
| |