devices:netgear_r6260_openwrt
This is an old revision of the document!
Table of Contents
Information
Snapshot
sysupgrade
- This downloads the latest
sysupgrade.bin
directly 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'
ping '192.168.1.1'
Date Check
Download
OpenWRT
ramips/mt7621
rm -f '/tmp/netgear_r6260-sysupgrade-snapshot.bin' && wget -O '/tmp/netgear_r6260-sysupgrade-snapshot.bin' 'https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-netgear_r6260-squashfs-sysupgrade.bin'
SSL Support
- If
wget
fails because of missing SSL support, run this
opkg update && opkg install 'libustream-mbedtls'
Install
-n
doesn't save old config--force
forces the flash-v
more verbose
ssh 'root'@'192.168.1.1'
sysupgrade --force -n -v '/tmp/netgear_r6260-sysupgrade-snapshot.bin'
LuCI
- Snapshot images don't include LuCI, so it needs installed on every clean snapshot install
ssh 'root'@'192.168.1.1'
opkg update && opkg install 'luci'
Configure
Quad9 DNS
Wireless
2.4GHz
- Country Code: US
- [ ] Allow legacy 802.11b rates
- Channel: 11
- Width: 40 MHz
- Encryption: WPA2-PSK CCMP AES
The Crossroads (2.4GHz)
5GHz
- Country Code: US
- [ ] Allow legacy 802.11b rates
- Channel: auto 4)
- Width: 80 MHz 5)
- Encryption: WPA2-PSK CCMP AES
Highgate (5GHz)
Notes
- Quest 2 should be 866.7 Mbit/s on both speeds
Firewall
- Software and Hardware flow offloading may cause issues; this needs debugged further
- Software and Hardware flow offloading may not offer any benefit on a 30Mbps ISP
Recovery
nmrpflash
- The 2020/11/07 OpenWRT snapshot
factory
image for R6260 had filesystem-related errors - Installing the
factory
image on-top of stock NETGEAR firmware, and then using thesysupgrade
command works fine - If using this, use the
factory
OpenWRT images
sudo ln -sv libpcap.so.1 /usr/lib64/libpcap.so.0.8
sudo '/home/espionage724/Downloads/nmrpflash-0.9.14-linux/nmrpflash' -L
sudo '/home/espionage724/Downloads/nmrpflash-0.9.14-linux/nmrpflash' -i enp6s0 -f ~/'Downloads/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img'
sudo '/home/espionage724/Downloads/nmrpflash-0.9.14-linux/nmrpflash' -i enp6s0 -f ~/'Downloads/R6260-V1.1.0.76_1.0.1.img'
OpenWRT Compile
https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/403
dmesg | grep dma
https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/dts/mt7621_netgear_r6260.dts
https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/dts/mt7621.dtsi
sudo dnf install gcc gcc-c++ git perl-FindBin make patch perl-Thread-Queue ncurses-devel
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/openwrt/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://git.openwrt.org/openwrt/openwrt.git' ~/'Projects/openwrt/src' && sync
cd ~/'Projects/openwrt/src' && ~/'Projects/openwrt/src/scripts/feeds' update -a
cd ~/'Projects/openwrt/src' && ~/'Projects/openwrt/src/scripts/feeds' install -a
cd ~/'Projects/openwrt/src' && make menuconfig
nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/dts/mt7621.dtsi'
gdma = enaled dma = enabled
nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/dts/mt7621_netgear_r6260.dts'
&gdma { status = "okay"; }; &hsdma { status = "okay"; };
menconfig → kernel modules → Other modules → kmod-dma-ralink & kmod-hsdma-mtk
nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/mt7621/config-5.4'
CONFIG_MTK_HSDMA=y
/var/www/wiki/data/attic/devices/netgear_r6260_openwrt.1605867508.txt.gz · Last modified: 2020/11/20 05:18 by Sean Rhone