User Tools

Site Tools


devices: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
Last revisionBoth sides next revision
devices:netgear_r6260_openwrt [2020/11/07 07:33] Sean Rhonedevices:netgear_r6260_openwrt [2022/06/11 19:20] Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * NETGEAR R6260 ((https://www.netgear.com/home/products/networking/wifi-routers/R6260.aspx)) +  * [[https://www.netgear.com/home/products/networking/wifi-routers/R6260.aspx|NETGEAR R6260]] 
-  * OpenWrt ((https://openwrt.org)) ((https://openwrt.org/toh/netgear/netgear_r6260))+  * [[https://openwrt.org|OpenWrt]] 
 +  * [[https://openwrt.org/toh/netgear/r6260|OpenWrt Device Page]] 
 +  * [[https://openwrt.org/releases/snapshot|Snapshot]] 
 + 
 +===== Notes ===== 
 + 
 +  * 2021/04/28: Dropping invalid packets (firewallcauses 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
  
 ====== Snapshot ====== ====== Snapshot ======
  
-===== Date Check =====+==== Links ====
  
-  * https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/+  * ''ramips/mt7621''
  
-===== Download =====+  * [[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]]
  
-==== OpenWRT ====+==== sysupgrade ====
  
-  * ''ramips/mt7621''+  * This downloads the latest ''sysupgrade.bin'' and installs it
  
-  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'+  ssh root@192.168.1.1
  
-=== SSL Support ===+  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'
  
-  * :!: If ''wget'' fails because of missing SSL support, run this first+  rm -Rf ~/'.ssh&& ping '192.168.1.1'
  
-  opkg update && opkg install 'libustream-mbedtls'+  del %UserProfile%"\.ssh\known_hosts" && ping -t "192.168.1.1"
  
-===== Install =====+===== Packages =====
  
-  * ''-n'' doesn'save old config +  * [[https://openwrt.org/docs/guide-user/luci/luci.essentials|LuCI]] ((snapshot images don'include LuCI, so it needs installed on **every** clean snapshot install))
-  ''--force'' forces the flash +
-  ''-v'' more verbose+
  
-  ssh 'root'@'192.168.1.1'+  ssh root@192.168.1.1
  
-  sysupgrade --force -n -v '/tmp/netgear_r6260-sysupgrade-snapshot.bin'+  sync && passwd
  
-===== LuCI =====+  opkg update && opkg install luci && sync
  
-  * 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'+  * http://192.168.1.1
  
-  opkg update && opkg install 'luci'+===== DHCP =====
  
-===== Configure =====+  * Network -> Interfaces -> LAN -> DHCP Server -> Limit
  
-  * https://192.168.1.1+  48
  
-==== Quad9 DNS ====+====DNS =====
  
-  * https://quad9.net+==== Notes ==== 
 + 
 +  * This advertises an upstream DNS server directly to clients instead of the router 
 +  * https://1.1.1.1/dns/
   * See [[notes:dns_servers|DNS servers]] for other DNS servers   * See [[notes:dns_servers|DNS servers]] for other DNS servers
  
-<code>2620:fe::fe</code> +==== IPv4 ====
-<code>2620:fe::9</code> +
-<code>9.9.9.9</code> +
-<code>149.112.112.112</code>+
  
-==== Wireless ====+  * Network -> Interfaces -> LAN -> DHCP Server -> Advanced Settings -> DHCP-Options 
 +  * :!: The ''6,'' is intentional (([[https://old.reddit.com/r/openwrt/comments/hr6xig/how_to_set_openwrt_to_use_1111_dns_for_example/fylsewz/?context=3|Reddit]], [[https://datatracker.ietf.org/doc/html/rfc2132#section-3.8|RFC 2132]]))
  
-<code>The Crossroads (2.4GHz)</code> +<code>6,1.1.1.1,1.0.0.1</code>
-<code>Highgate (5GHz)</code>+
  
-====== Recovery ======+=== IPs ===
  
-===== nmrpflash =====+<code>1.1.1.1</code>
  
-  * https://github.com/jclehner/nmrpflash+<code>1.0.0.1</code>
  
-  * :!: The 2020/11/07 OpenWRT snapshot factory image for R6260 had filesystem-related errors; had to use the latest OpenWRT release R6350 firmware to fix this +==== IPv6 ====
-  * :!: If using this, use the ''factory'' OpenWRT images+
  
-  sudo ln -sv libpcap.so.1 /usr/lib64/libpcap.so.0.8+  * Network -> Interfaces -> LAN -> DHCP Server -> Advanced Settings -> IPv6 Settings -> Announced IPv6 DNS servers
  
-  sudo '/home/espionage724/Downloads/nmrpflash-0.9.14-linux/nmrpflash' -L+<code>2606:4700:4700::1111</code> 
 +<code>2606:4700:4700::1001</code>
  
-  sudo '/home/espionage724/Downloads/nmrpflash-0.9.14-linux/nmrpflash' -i enp7s0f1 -f '/home/espionage724/Downloads/openwrt-19.07.4-ramips-mt7621-netgear_r6350-squashfs-factory.img'+===== Wireless =====
  
-====== OpenWRT Compile ======+==== 2.4GHz ====
  
-https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/403+  * Advanced Settings -> [x] Disable Inactivity Polling 
 +  * Advanced Settings -> [ ] Disassociate On Low Acknowledgement
  
-<code>dmesg | grep dma</code>+  * Country Code: US 
 +  * Channel: 11 
 +  * Width: 20 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/dts/mt7621_netgear_r6260.dts+<code>The Crossroads (2.4GHz)</code>
  
-https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/dts/mt7621.dtsi+==== 5GHz ====
  
-sudo dnf install gcc gcc-c++ git perl-FindBin make patch perl-Thread-Queue ncurses-devel+  * :!: Advanced Settings -> [x] Disable Inactivity Polling 
 +  * :!: Advanced Settings -> [ ] Disassociate On Low Acknowledgement 
 +  * :!: These seem to fix 5GHz instability with a Chromecast
  
-  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+  * Country Code: US 
 +  * :!: Channel: 149 
 +  * Width: 80 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-  cd ~/'Projects/openwrt/src' && ~/'Projects/openwrt/src/scripts/feeds' update -a+<code>Highgate (5GHz)</code>
  
-  cd ~/'Projects/openwrt/src' && ~/'Projects/openwrt/src/scripts/feeds' install -a+===== Firewall =====
  
-  cd ~/'Projects/openwrt/src' && make menuconfig+==== Webserver ====
  
-  nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/dts/mt7621.dtsi'+  * Oak
  
-gdma = enaled +<code>HTTP</code> 
-dma = enabled+<code>80</code> 
 +<code>HTTPS</code> 
 +<code>443</code>
  
 +==== Steam Remote Play ====
  
-  nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/dts/mt7621_netgear_r6260.dts' +  * [[https://help.steampowered.com/en/faqs/view/0689-74B8-92AC-10F2|Steam Support]] 
 + 
 +=== UDP === 
 + 
 +<code>Steam Remote Play (UDP)</code> 
 +<code>27031</code> 
 +<code>27036</code> 
 + 
 +=== TCP === 
 + 
 +<code>Steam Remote Play (TCP)</code> 
 +<code>27036</code> 
 +<code>27037</code> 
 + 
 +====== Recovery ====== 
 + 
 +===== nmrpflash ===== 
 + 
 +  * https://github.com/jclehner/nmrpflash
  
-<code> +  * Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27 
-&gdma { +  * :!: If using an OpenWRT image, use the ''factory'' image
-    status = "okay"; +
-};+
  
-&hsdma { +  sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8'
-    status = "okay"; +
-};</code>+
  
-menconfig -> kernel modules -> Other modules -> kmod-dma-ralink & kmod-hsdma-mtk+  sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -L
  
-  nano '/home/espionage724/Projects/openwrt/src/target/linux/ramips/mt7621/config-5.4+  sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -i 'enp6s0' -f ~/'Downloads/openwrt-ramips-mt7621-netgear_r6260-squashfs-factory.img'
  
-<code>CONFIG_MTK_HSDMA=y</code>+  sudo ~/'Downloads/nmrpflash-0.9.16-linux/nmrpflash' -i 'enp6s0' -f ~/'Downloads/R6260-V1.1.0.84_1.0.1/R6260-V1.1.0.84_1.0.1.img'
  
/var/www/wiki/data/pages/devices/netgear_r6260_openwrt.txt · Last modified: 2022/12/12 02:25 by Sean Rhone