====== Information ======
* [[https://www.netgear.com/home/products/networking/wifi-routers/R6260.aspx|NETGEAR R6260]]
* [[https://openwrt.org|OpenWrt]]
* [[https://openwrt.org/toh/netgear/r6260|OpenWrt Device Page]]
* [[https://openwrt.org/releases/snapshot|Snapshot]]
* ''ramips/mt7621''
===== Notes =====
* 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
====== Snapshot ======
===== sysupgrade =====
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'
rm -f ~/'.ssh/known_hosts' && ping '192.168.1.1'
==== Windows ====
* [[https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip|OpenSSH-Win64.zip]]
"%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" 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'
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-sysupgrade.bin|sysupgrade.bin]]
====== Packages ======
===== LuCI =====
* https://openwrt.org/docs/guide-user/luci/luci.essentials
ssh root@192.168.1.1
sync && passwd
apk update && apk add 'luci' && sync
==== Windows ====
****
"%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1
====== LuCI ======
* :!: http://192.168.1.1/cgi-bin/luci/admin/system/admin/dropbear
===== Settings =====
* http://192.168.1.1/cgi-bin/luci/admin/system/system
* http://192.168.1.1/cgi-bin/luci/admin/system/leds
===== cron =====
* https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
* System -> Scheduled Tasks
* :!: 2025/08/28: Not actively used ((sometimes freezes on reboot, needing manual plug-pull))
# Restart 3:00 AM
0 3 * * * sleep '70' && touch '/etc/banner' && reboot
# End
===== DNS =====
* [[servers:upstream_dns_servers|More DNS Servers]]
2620:fe::fe
2620:fe::9
9.9.9.9
149.112.112.112
===== Firewall =====
HTTP
80
HTTPS
443
====== Recovery ======
===== nmrpflash =====
* https://github.com/jclehner/nmrpflash
* Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27
* :!: Use ''factory'' for OpenWRT image (not ''sysupgrade'')
sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8'
sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -L
sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -i 'enp6s0' -f ~/'Downloads/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.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
==== Windows ====
* https://npcap.com/#download
* Last tested: 2024/09/12: ''npcap-1.79.exe''
* https://github.com/jclehner/nmrpflash/releases
* Last tested: 2024/09/12: ''nmrpflash-0.9.22-win32.zip''
* 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: 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
"%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.22-win32\nmrpflash.exe" -v -R "WW" -i "net13" -f "%UserProfile%\Downloads\openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img"