====== 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]] ===== 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 ====== Quick Reboot ====== * Expects OpenWRT ssh "root@192.168.2.1" -t "echo b > /proc/sysrq-trigger" ====== Snapshot ====== ==== Links ==== * ''ramips/mt7621'' * [[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]] ==== sysupgrade ==== * This downloads the latest ''sysupgrade.bin'' and installs it 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' del %UserProfile%"\.ssh\known_hosts" && ping -t "192.168.1.1" rm -Rf ~/'.ssh' && ping '192.168.1.1' ===== Packages ===== ==== LuCI ==== * [[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)) ssh root@192.168.1.1 sync && passwd opkg update && opkg install 'luci' && sync ====== LuCI ====== * http://192.168.1.1 ===== Scheduled Reboot ===== * https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot * http://192.168.1.1/cgi-bin/luci/admin/system/crontab # Restart 5:00 AM 0 5 * * * sleep '70' && touch '/etc/banner' && reboot ===== Firewall ===== * 80/tcp HTTP * 443/tcp HTTPS ====== Recovery ====== ===== nmrpflash ===== * https://github.com/jclehner/nmrpflash * Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27 * :!: If using an OpenWRT image, use the ''factory'' image 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' ==== 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"