devices:netgear_r6260_openwrt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devices:netgear_r6260_openwrt [2021/01/22 12:02] – Sean Rhone | devices:netgear_r6260_openwrt [2022/12/12 02:25] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Information ====== | ====== Information ====== | ||
- | * NETGEAR R6260 ((https:// | + | * [[https:// |
- | * OpenWrt ((https:// | + | * [[https:// |
+ | * [[https:// | ||
+ | * [[https:// | ||
===== Notes ===== | ===== Notes ===== | ||
+ | * 2021/04/28: Dropping invalid packets (firewall) causes an Oculus Quest 2 to not load it's own store/home page | ||
+ | * 2021/06/14: Enabling '' | ||
+ | * 2021/06/29: Enabling '' | ||
* Stock firmware reports '' | * Stock firmware reports '' | ||
- | * :!: Stock firmware seems to randomly drop OpenVPN connections as of 2021/01/12 even with open NAT, and caused issues with Virtual Desktop connectivity with an Oculus Quest 2; avoid stock firmware | ||
- | * :!: Both Software and Hardware flow offloading on OpenWRT both consistently cause [[https:// | ||
====== Snapshot ====== | ====== Snapshot ====== | ||
+ | |||
+ | ==== Links ==== | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
==== sysupgrade ==== | ==== sysupgrade ==== | ||
- | * This downloads the latest '' | + | * This downloads the latest '' |
- | ssh 'root'@'192.168.1.1' | + | ssh root@192.168.1.1 |
rm -f '/ | rm -f '/ | ||
- | ping ' | + | |
- | ===== Date Check ===== | + | del %UserProfile%" |
- | * https:// | + | ===== Packages ===== |
- | ===== Commits Check ===== | + | * [[https:// |
- | | + | |
- | * [[https:// | + | |
- | ===== Download ===== | + | sync && passwd |
- | ==== OpenWRT ==== | + | opkg update && opkg install luci && sync |
- | * '' | + | ====== LuCI ====== |
- | | + | |
- | === SSL Support | + | ===== DHCP ===== |
- | * :!: If '' | + | * Network -> Interfaces -> LAN -> DHCP Server -> Limit |
- | | + | |
- | ===== Install | + | ===== DNS ===== |
- | * '' | + | ==== Notes ==== |
- | * '' | + | |
- | * '' | + | |
- | | + | |
+ | * https://1.1.1.1/dns/ | ||
+ | * See [[notes: | ||
- | sysupgrade --force -n -v '/ | + | ==== IPv4 ==== |
- | ===== LuCI ===== | + | * Network -> Interfaces -> LAN -> DHCP Server -> Advanced Settings -> DHCP-Options |
+ | * :!: The '' | ||
- | * https:// | + | < |
- | * :!: Snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install | + | |
- | ssh ' | + | === IPs === |
- | opkg update && opkg install ' | + | < |
- | ===== Configure ===== | + | < |
- | * http:// | + | ==== IPv6 ==== |
- | ==== Quad9 DNS ==== | + | * Network -> Interfaces -> LAN -> DHCP Server -> Advanced Settings -> IPv6 Settings -> Announced IPv6 DNS servers |
- | * https://quad9.net | + | < |
- | * See [[notes:dns_servers|DNS servers]] for other DNS servers | + | < |
- | < | + | ===== Wireless ===== |
- | < | + | |
- | < | + | |
- | < | + | |
- | ==== Wireless | + | ==== 2.4GHz |
- | === 2.4GHz === | + | * Advanced Settings -> [x] Disable Inactivity Polling |
+ | * Advanced Settings -> [ ] Disassociate On Low Acknowledgement | ||
* Country Code: US | * Country Code: US | ||
- | | + | * Channel: 11 |
- | | + | * Width: |
- | * Width: | + | |
* Encryption: WPA2-PSK CCMP AES | * Encryption: WPA2-PSK CCMP AES | ||
< | < | ||
- | === 5GHz === | + | ==== 5GHz ==== |
+ | |||
+ | * :!: Advanced Settings -> [x] Disable Inactivity Polling | ||
+ | * :!: Advanced Settings -> [ ] Disassociate On Low Acknowledgement | ||
+ | * :!: These seem to fix 5GHz instability with a Chromecast | ||
* Country Code: US | * Country Code: US | ||
- | * [ ] Allow legacy 802.11b rates | + | * :!: Channel: 149 |
- | * Channel: 149 ((Kitchen is 165 @ 20Mhz, Living Room is 36 @ 80Hz)) | + | * Width: 80 MHz |
- | * Width: 80 MHz ((160 MHz had issues; it's either incompatible with the SoC, driver-side issues, or channel selection-related)) | + | |
* Encryption: WPA2-PSK CCMP AES | * Encryption: WPA2-PSK CCMP AES | ||
< | < | ||
- | == Notes == | + | ===== Firewall ===== |
- | * Quest 2 should be 866.7 Mbit/s on both speeds | + | * See [[notes: |
- | + | ||
- | ==== Firewall ==== | + | |
- | + | ||
- | * [x] Drop invalid packets | + | |
- | * Forward ports '' | + | |
- | + | ||
- | ====== Diagnostics ====== | + | |
- | + | ||
- | dmesg | grep ' | + | |
- | + | ||
- | dmesg | grep ' | + | |
====== Recovery ====== | ====== Recovery ====== | ||
Line 126: | Line 124: | ||
sudo ln -sv ' | sudo ln -sv ' | ||
- | sudo ~/' | + | sudo ~/' |
- | + | ||
- | sudo ~/' | + | |
- | + | ||
- | sudo ~/' | + | |
- | + | ||
- | ====== OpenWRT Compile ====== | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | < | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | sudo dnf install gcc gcc-c++ git perl-FindBin make patch perl-Thread-Queue ncurses-devel | + | |
- | + | ||
- | cd ~ && mkdir -p ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | nano '/ | + | |
- | + | ||
- | gdma = enaled | + | |
- | dma = enabled | + | |
- | + | ||
- | + | ||
- | nano '/ | + | |
- | + | ||
- | < | + | |
- | &gdma { | + | |
- | status = " | + | |
- | }; | + | |
- | + | ||
- | &hsdma { | + | |
- | status = " | + | |
- | };</ | + | |
- | + | ||
- | menconfig -> kernel modules -> Other modules -> kmod-dma-ralink & kmod-hsdma-mtk | + | |
- | + | ||
- | nano '/ | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ===== Lean ===== | + | |
- | + | ||
- | * https:// | + | |
- | * https:// | + | |
- | + | ||
- | sudo zypper install --no-recommends asciidoc bash bc binutils bzip2 fastjar flex gawk gcc gcc-c++ gettext-tools git git-core intltool libopenssl-devel libxslt-tools make mercurial ncurses-devel patch perl-ExtUtils-MakeMaker python-devel rsync sdcc unzip util-linux wget zlib-devel | + | |
- | + | ||
- | cd ~ && mkdir -p ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | * Target System: MediaTek Ralink MIPS | + | |
- | * Subtarget: MT7621 based boards | + | |
- | * Target Profile: NETGEAR R6260 | + | |
- | * :!: TODO: mt driver instead of mt76 | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | cd ~/' | + | |
- | + | ||
- | gio open ~/' | + | |
- | + | ||
- | ==== Copy/ | + | |
- | + | ||
- | scp ~/' | + | |
- | + | ||
- | ssh ' | + | |
- | + | ||
- | sysupgrade --force -n -v '/ | + | |
- | + | ||
- | ping ' | + | |
- | ==== Post-install ==== | + | sudo ~/' |
- | **** | + | sudo ~/' |
- | opkg update && opkg install ' |
/var/www/wiki/data/attic/devices/netgear_r6260_openwrt.1611334956.txt.gz · Last modified: 2021/01/22 12:02 by Sean Rhone