| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| devices:network:netgear_r6260_openwrt [2026/07/08 21:08] – Sean Rhone | devices:network:netgear_r6260_openwrt [2026/09/03 01:04] (current) – luci has rx/tx duplex/speed stuff Sean Rhone |
|---|
| ==== Windows ==== | ==== Windows ==== |
| |
| * https://github.com/PowerShell/Win32-OpenSSH | "%SystemRoot%\System32\OpenSSH\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "root"@"192.168.1.1" |
| | |
| "%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 | |
| |
| 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' |
| |
| ping -t "192.168.1.1" | "%SystemRoot%\System32\PING.EXE" -t "192.168.1.1" |
| |
| "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" 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 |
| |
| apk update && apk add 'luci' && sync | apk update && apk add 'luci' && sync |
| | |
| | === Non-System SSH === |
| | |
| | * https://github.com/PowerShell/Win32-OpenSSH |
| | |
| | "%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" |
| | |
| | "%UserProfile%\Downloads\OpenSSH-Win64\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "root"@"192.168.1.1" |
| |
| ====== LuCI ====== | ====== LuCI ====== |
| |
| "%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> | |
| |
| ====== New nmrpflash ====== | ====== New nmrpflash ====== |