| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| devices:network:netgear_r6260_openwrt [2026/01/06 01:53] – Sean Rhone | devices:network:netgear_r6260_openwrt [2026/02/01 22:59] (current) – [Scheduled Tasks] Sean Rhone |
|---|
| |
| * 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 |
| * 2026: OpenWRT has //slightly// higher LAN pings than [[devices:network:netgear_r6260_dd-wrt|DD-WRT]] ((2025/11/01: pings 0.4ms average vs DD-WRT 0.2ms)) | * 2026: OpenWRT had //slightly// higher LAN pings than [[devices:network:netgear_r6260_dd-wrt|DD-WRT]] ((2025/11/01: pings 0.4ms average vs DD-WRT 0.2ms)) |
| |
| ====== Snapshot ====== | ====== Snapshot ====== |
| ==== Windows ==== | ==== Windows ==== |
| |
| * [[https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip|OpenSSH-Win64.zip]] | * https://github.com/PowerShell/Win32-OpenSSH |
| |
| "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 | RMDIR /S /Q "%UserProfile%\Downloads\OpenSSH-Win64" & DEL /Q "%UserProfile%\Downloads\OpenSSH-Win64.zip" & "curl.exe" --output "%UserProfile%\Downloads\OpenSSH-Win64.zip" --location "https://github.com/PowerShell/Win32-OpenSSH/releases/latest/download/OpenSSH-Win64.zip" --progress-bar && RMDIR /S /Q "%UserProfile%\Downloads\OpenSSH-Win64" & "tar.exe" xf "%UserProfile%\Downloads\OpenSSH-Win64.zip" -C "%UserProfile%\Downloads" && "%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' | 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" | DEL /S "%UserProfile%\.ssh\known_hosts" && ping -t "192.168.1.1" |
| | |
| | "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 |
| | |
| | sync && passwd |
| | |
| | apk update && apk add 'luci' && sync |
| | |
| | * [[#luci1|Settings]] |
| | |
| | DEL /Q "%UserProfile%\Downloads\OpenSSH-Win64.zip" & RMDIR /S /Q "%UserProfile%\Downloads\OpenSSH-Win64" |
| |
| ===== Date Check ===== | ===== Date Check ===== |
| |
| ====== LuCI ====== | ====== LuCI ====== |
| |
| * TODO: DNS extra HOSTS file | |
| |
| wget -O '/etc/blacklist-fg.txt' 'https://scripttiger.github.io/alts/compressed/blacklist-fg.txt' | |
| |
| /etc/blacklist-fg.txt | |
| |
| ===== System ===== | ===== System ===== |
| |
| * http://192.168.1.1/cgi-bin/luci/admin/system/system | |
| |
| ==== System ==== | |
| |
| * Hostname: ''Wraeclast'' | |
| * Timezone: ''America/New_York'' | |
| |
| ==== Administration ==== | |
| |
| === SSH Access === | |
| |
| * http://192.168.1.1/cgi-bin/luci/admin/system/admin/dropbear | * http://192.168.1.1/cgi-bin/luci/admin/system/admin/dropbear |
| |
| * Interface: ''lan'' | |
| |
| ==== Scheduled Tasks ==== | ==== Scheduled Tasks ==== |
| * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot | * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot |
| * http://192.168.1.1/cgi-bin/luci/admin/system/crontab | * http://192.168.1.1/cgi-bin/luci/admin/system/crontab |
| | * Daily ''02:45:28 AM'' ((timed to come back online around the same time as a TP-Link AX1500 that restarts at ''2:45 AM'' exact)) |
| |
| <code> | <code> |
| # Restart 2:44:57 AM | # Restart 2:45:28 AM |
| 44 2 * * * '/bin/sleep' '57s' && '/bin/touch' '/etc/banner' && '/sbin/reboot' | 45 2 * * * '/bin/sleep' '28s' && '/bin/touch' '/etc/banner' && '/sbin/reboot' |
| |
| # End</code> | # End</code> |
| |
| ==== LED Configuration ==== | |
| |
| * Delete all | |
| |
| ===== Network ===== | ===== Network ===== |
| |
| ==== Interfaces ==== | * [[servers:upstream_dns_servers|More DNS Servers]] |
| | * lan -> DHCP Server -> IPv4 Settings -> Limit: ''48'' |
| |
| * http://192.168.1.1/cgi-bin/luci/admin/network/network | <code>2606:4700:4700::1112</code> |
| |
| === Interfaces === | <code>2606:4700:4700::1002</code> |
| |
| == lan == | <code>1.1.1.2</code> |
| |
| * DHCP Server -> IPv4 Settings -> Limit: ''48'' | <code>1.0.0.2</code> |
| | |
| == wan == | |
| | |
| * Advanced Settings -> ''[ ]'' Use DNS servers advertised by peer | |
| | |
| 9.9.9.9 | |
| | |
| 149.112.112.112 | |
| | |
| == wan6 == | |
| | |
| * Advanced Settings -> ''[ ]'' Use DNS servers advertised by peer | |
| | |
| 2620:fe::fe | |
| | |
| 2620:fe::9 | |
| | |
| === Global network options === | |
| | |
| * Packet Steering: Disabled | |
| |
| ==== Firewall ==== | ==== Firewall ==== |
| |
| * http://192.168.1.1/cgi-bin/luci/admin/network/firewall | |
| |
| === General Settings === | |
| |
| * Flow offloading type: Hardware flow offload | |
| |
| === Port Forwards === | |
| |
| * TODO: nginx ''QUIC'' 443 UDP | |
| |
| HTTP | HTTP |
| |
| "%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 | "%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 |
| | |
| | ====== TODO ====== |
| | |
| | <code> |
| | '/usr/sbin/ethtool' --pause 'eth0' 'rx' 'off' 'tx' 'off' |
| | '/usr/sbin/ethtool' --pause 'wan' 'rx' 'off' 'tx' 'off' |
| | '/usr/sbin/ethtool' --pause 'lan4' 'rx' 'off' 'tx' 'off' |
| | '/usr/sbin/ethtool' --pause 'lan3' 'rx' 'off' 'tx' 'off' |
| | '/usr/sbin/ethtool' --pause 'lan2' 'rx' 'off' 'tx' 'off' |
| | '/usr/sbin/ethtool' --pause 'lan1' 'rx' 'off' 'tx' 'off' |
| | |
| | ethtool -s eth0 speed 1000 duplex full autoneg off |
| | |
| | ethtool -K eth0 tso off</code> |
| |