Both sides previous revisionPrevious revisionNext revision | Previous revision |
devices:network:netgear_r6260_openwrt [2025/04/18 09:49] – Sean Rhone | devices:network:netgear_r6260_openwrt [2025/06/19 23:54] (current) – [LuCI] Sean Rhone |
---|
===== 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 |
| |
====== Stable ====== | |
| |
* https://downloads.openwrt.org/ | |
* ''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'' | |
| |
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' | |
| |
DEL /Q "%UserProfile%\.ssh\known_hosts" && ping -t "192.168.1.1" | |
| |
====== Snapshot ====== | ====== Snapshot ====== |
| |
==== Links ==== | ===== Links ===== |
| |
* ''ramips/mt7621'' | * ''ramips/mt7621'' |
* [[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 ==== | ===== sysupgrade ===== |
| |
* This downloads the latest ''sysupgrade.bin'' and installs it | * [[https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip|OpenSSH-Win64.zip]] |
| |
ssh root@192.168.1.1 | "%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' | 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 -Rf ~/'.ssh' && ping '192.168.1.1' | DEL /S "%UserProfile%\.ssh\known_hosts" && ping -t "192.168.1.1" |
| |
=== Windows === | ====== Packages ====== |
| |
**** | ===== LuCI ===== |
| |
del %UserProfile%"\.ssh\known_hosts" && ping -t "192.168.1.1" | * https://openwrt.org/docs/guide-user/luci/luci.essentials |
| |
===== Packages ===== | "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 |
| |
==== 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 | sync && passwd |
| |
opkg update && opkg install 'luci' && sync | apk update && apk add 'luci' && sync |
| |
====== LuCI ====== | ====== LuCI ====== |
* http://192.168.1.1 | * http://192.168.1.1 |
| |
===== Scheduled Reboot ===== | ===== cron ===== |
| |
* https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ | |
* https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot | * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot |
| * System -> Scheduled Tasks |
* http://192.168.1.1/cgi-bin/luci/admin/system/crontab | |
| |
<code> | <code> |
# Restart 5:00 AM | # Restart 3:00 AM |
0 5 * * * sleep '70' && touch '/etc/banner' && reboot</code> | 0 3 * * * sleep '70' && touch '/etc/banner' && reboot |
| |
| # End</code> |
| |
| ===== DNS ===== |
| |
| * Quad9 (ECS) |
| |
| 9.9.9.11 |
| |
| 149.112.112.11 |
| |
| 2620:fe::11 |
| |
| 2620:fe::fe:11 |
| |
===== Firewall ===== | ===== Firewall ===== |
| |
* 80/tcp HTTP | HTTP |
* 443/tcp HTTPS | |
| 80 |
| |
| HTTPS |
| |
| 443 |
| |
====== Recovery ====== | ====== Recovery ====== |
| |
* 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' |