User Tools

Site Tools


devices:network:netgear_r6260_openwrt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devices:network:netgear_r6260_openwrt [2026/02/01 22:59] – [Scheduled Tasks] Sean Rhonedevices:network:netgear_r6260_openwrt [2026/07/16 02:32] (current) Sean Rhone
Line 15: Line 15:
  
 ====== Snapshot ====== ====== Snapshot ======
- 
-===== sysupgrade ===== 
  
   * https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/   * https://downloads.openwrt.org/snapshots/targets/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]]
  
-  ssh 'root'@'192.168.1.1'+  * [[#luci1|Settings]] 
 + 
 +===== sysupgrade ===== 
 + 
 +  ssh -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='/dev/null'" 'root'@'192.168.1.1'
  
   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'   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'
  
-  rm -fv ~/'.ssh/known_hosts' && ping '192.168.1.1'+  ping '192.168.1.1'
  
-==== Windows ====+  ssh -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='/dev/null'" 'root'@'192.168.1.1'
  
-  * https://github.com/PowerShell/Win32-OpenSSH+  sync && passwd 
 + 
 +  apk update && apk add 'luci' && sync 
 + 
 +==== Windows ====
  
-  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+  "%SystemRoot%\System32\OpenSSH\ssh.exe" -"StrictHostKeyChecking='no'" -"UserKnownHostsFile='NUL'" "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"+  "%SystemRoot%\System32\PING.EXE" -t "192.168.1.1"
  
-  "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1+  "%SystemRoot%\System32\OpenSSH\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "root"@"192.168.1.1"
  
   sync && passwd   sync && passwd
Line 42: Line 50:
   apk update && apk add 'luci' && sync   apk update && apk add 'luci' && sync
  
-  * [[#luci1|Settings]]+=== Non-System SSH ===
  
-  DEL /Q "%UserProfile%\Downloads\OpenSSH-Win64.zip" & RMDIR //Q "%UserProfile%\Downloads\OpenSSH-Win64"+  * https://github.com/PowerShell/Win32-OpenSSH
  
-===== Date Check =====+  "%SystemRoot%\System32\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" & "%SystemRoot%\System32\tar.exe" xf "%UserProfile%\Downloads\OpenSSH-Win64.zip" -C "%UserProfile%\Downloads" && "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "root"@"192.168.1.1"
  
-  * https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/+  "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "root"@"192.168.1.1"
  
-  netgear_r6260-squashfs-sysupgrade+====== LuCI ======
  
-===== Links ===== +===== Install =====
- +
-  * [[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   * https://openwrt.org/docs/guide-user/luci/luci.essentials
- 
-  ssh root@192.168.1.1 
- 
-  sync && passwd 
  
   apk update && apk add 'luci' && sync   apk update && apk add 'luci' && sync
- 
-==== Windows ==== 
- 
-**** 
- 
-  "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" root@192.168.1.1 
- 
-====== LuCI ====== 
  
 ===== System ===== ===== System =====
Line 107: Line 96:
  
 ==== Firewall ==== ==== Firewall ====
 +
 +=== Webserver ===
 +
 +  * ''TCP''
 +  * TODO: ''QUIC''
  
   HTTP   HTTP
Line 115: Line 109:
  
   443   443
 +
 +=== XMPP ===
 +
 +  * [[servers:linux:prosody|Prosody]]
 +  * ''TCP''
 +
 +  XMPP c2S
 +
 +  5222
 +
 +  XMPP s2s
 +
 +  5269
 +
 +==== WAN Block ====
 +
 +  * Firewall -> Traffic Rules
 +
 +  * Protocol: ''Any''
 +  * Source zone: ''Any zone (forward)''
 +  * Destination zone: ''wan:'' ''wan6:''
 +  * Action: ''drop''
 +
 +  * Source MAC address: (devices)
  
 ====== Recovery ====== ====== Recovery ======
Line 177: Line 195:
  
 ethtool -K eth0 tso off</code> ethtool -K eth0 tso off</code>
 +
 +====== New nmrpflash ======
 +
 +===== Windows =====
 +
 +==== Npcap =====
 +
 +  * https://npcap.com/#download
 +  * Last tested: ''npcap-1.88.exe''
 +
 +  * ''[ ]'' Restrict Npcap driver's access to Administrators only
 +  * ''[ ]'' Support raw 802.11 traffic (and monitor mode) for wireless adapters
 +  * ''[x]'' Install Npcap in WinPcap API-compatible Mode
 +
 +==== nmrpflash ====
 +
 +  * https://github.com/jclehner/nmrpflash
 +  * https://github.com/jclehner/nmrpflash/releases
 +  * Last tested: ''nmrpflash-0.9.27-win32.zip''
 +
 +  MOVE /Y "%UserProfile%\Downloads\nmrpflash-"*"-win32.zip" "%UserProfile%\Downloads\nmrpflash-win32.zip" & "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\nmrpflash-win32.zip" -C "%UserProfile%\Downloads" "nmrpflash.exe" && DIR /B "%UserProfile%\Downloads\nmrpflash.exe"
 +
 +==== Official Firmware ====
 +
 +  * https://www.netgear.com/support/product/r6260
 +  * Last tested: ''R6260-V1.1.1.88.zip''
 +
 +  MOVE /Y "%UserProfile%\Downloads\R6260-V"*".zip" "%UserProfile%\Downloads\R6260-NETGEAR.zip" & "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\R6260-NETGEAR.zip" -C "%UserProfile%\Downloads" "R6260-V"*".img" && MOVE /Y "%UserProfile%\Downloads\R6260-V"*".img" "%UserProfile%\Downloads\R6260-NETGEAR.img" && DIR /B "%UserProfile%\Downloads\R6260-NETGEAR.img" & DEL /Q "%UserProfile%\Downloads\R6260-NETGEAR.zip"
 +
 +  "%UserProfile%\Downloads\nmrpflash.exe" -L
 +
 +  "%UserProfile%\Downloads\nmrpflash.exe" -a "192.168.1.1" -M "255.255.255.0" -R "NA" -i "eth4" -f "%UserProfile%\Downloads\R6260-NETGEAR.img" -v
 +
 +  "%SystemRoot%\System32\PING.EXE" -t "192.168.1.1"
 +
 +==== OpenWRT Snapshot ====
 +
 +  "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img" --location "https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img" --progress-bar && DIR /B "%UserProfile%\Downloads\openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img"
 +
 +  "%UserProfile%\Downloads\nmrpflash.exe" -L
 +
 +  "%UserProfile%\Downloads\nmrpflash.exe" -i "eth4" -f "%UserProfile%\Downloads\openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img" -v
 +
 +  "%SystemRoot%\System32\PING.EXE" -t "192.168.1.1"
 +
 +==== Clean-up ====
 +
 +  * TODO
  
/usr/local/www/wiki/data/attic/devices/network/netgear_r6260_openwrt.1770004779.txt.gz · Last modified: by Sean Rhone