Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
devices:wndr3800_openwrt [2019/07/17 03:19] – Sean Rhone | devices:wndr3800_openwrt [2021/09/09 02:26] – Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* NETGEAR WNDR3800 ((https://www.netgear.com/support/product/WNDR3800.aspx)) | * [[https://www.netgear.com/support/product/WNDR3800.aspx|NETGEAR WNDR3800]] |
* OpenWrt ((https://openwrt.org)) | * [[https://openwrt.org|OpenWrt]] |
* Uses ''ath79'' instead of the ''ar71xx'' target ((apparently ''ar71xx'' is to be deprecated in the future)) | * [[https://openwrt.org/toh/netgear/wndr3800|OpenWrt Device Page]] |
| * [[https://openwrt.org/releases/snapshot|Snapshot]] |
| |
====== Flash ====== | ====== Snapshot ====== |
| |
===== DNS ===== | ==== Links ==== |
| |
* https://blog.uncensoreddns.org/ | * ''ath79'' |
| |
===== Date Check ===== | * [[https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img|factory.bin]] |
| * [[https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-sysupgrade.bin|sysupgrade.bin]] |
| |
* https://downloads.openwrt.org/snapshots/targets/ath79/generic/ | ==== sysupgrade ==== |
| |
===== SSH ===== | * This downloads the latest ''sysupgrade.bin'' and installs it |
| |
===== Upgrade ===== | ssh 'root'@'192.168.1.1' |
| |
* From OpenWRT to an updated snapshot of OpenWRT | rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -v 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-sysupgrade.bin' |
| |
==== Download ==== | rm -Rf ~/'.ssh' && ping '192.168.1.1' |
| |
**** | ===== Packages ===== |
| |
rm -f '/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin' && wget --no-check-certificate -O '/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin' 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-sysupgrade.bin' | * [[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)) |
| |
==== Update ==== | ssh 'root'@'192.168.1.1' |
| |
* :!: This will flash instantly, without confirmation or verification, erase all settings, and reboot | sync && passwd |
* :!: Remove ''-n'' to save config between flashes | |
| |
sysupgrade -n --force -v '/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin' | opkg update && opkg install luci && sync |
| |
===== Factory ===== | ====== LuCI ====== |
| |
* From LibreCMC or another variant to OpenWRT | * http://192.168.1.1 |
* :!: TODO: This didn't work and needed TFTP to fix when going from LibreCMC | |
| |
==== Download ==== | * :!: Configuration below assumes this is being used as a Wireless Access Point ((Dumb AP)) |
| * https://openwrt.org/docs/guide-user/network/wifi/dumbap |
| * :!: Configuration below is TODO |
| |
**** | ===== 1.1.1.1 DNS ===== |
| |
rm -f '/tmp/openwrt-snapshot-ath79-wndr3800-factory.bin' && wget -O '/tmp/openwrt-snapshot-ath79-wndr3800-factory.bin' 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img' | * https://1.1.1.1/dns/ |
| * See [[notes:dns_servers|DNS servers]] for other DNS servers |
| |
==== Update ==== | <code>2606:4700:4700::1111</code> |
| <code>2606:4700:4700::1001</code> |
| <code>1.1.1.1</code> |
| <code>1.0.0.1</code> |
| |
* :!: This will flash instantly, without confirmation or verification, erase all settings, and reboot | ===== Wireless ===== |
| |
sysupgrade -n --force -v '/tmp/openwrt-snapshot-ath79-wndr3800-factory.bin' | ==== 2.4GHz ==== |
| |
====== LuCI Web Interface ====== | * Country Code: US |
| * Channel: 11 |
| * Width: 40 MHz |
| * Encryption: WPA2-PSK CCMP AES |
| * :!: 802.11w Management Frame Protection: Disabled |
| |
===== Information ===== | <code>The Crossroads (2.4GHz)</code> |
| |
* https://openwrt.org/docs/guide-user/luci/luci.essentials | ==== 5GHz ==== |
* :!: Snapshot images don't include LuCI, and need it to be installed after installation | |
| |
===== Install ===== | * Country Code: US |
| * :!: Channel: 153 |
| * Width: 80 MHz |
| * Encryption: WPA2-PSK CCMP AES |
| * :!: 802.11w Management Frame Protection: Disabled |
| |
==== SSH ==== | <code>Highgate (5GHz)</code> |
| |
**** | ===== Firewall ===== |
| |
ssh 'root'@'192.168.1.1' | * Forward ports ''80'' and ''443'' |
| |
| ====== Recovery ====== |
| |
| ===== TFTP ===== |
| |
| ==== Notes ==== |
| |
| * Can seemingly still use ''tftp'' even if you can't ping the router |
| |
| ==== Image ==== |
| |
| * Pick one |
| * :!: The stable image URL will need updated if there's a newer version available |
| |
| wget -O ~/'f.img' 'https://downloads.openwrt.org/releases/19.07.6/targets/ath79/generic/openwrt-19.07.6-ath79-generic-netgear_wndr3800-squashfs-factory.img' |
| |
| wget -O ~/'f.img' 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img' |
| |
| ==== TFTP ==== |
| |
| sudo dnf install 'tftp' -y && sync |
| |
| tftp |
| |
| verbose |
| |
| trace |
| |
| rexmt 1 |
| |
| binary |
| |
| connect 192.168.1.1 |
| |
| put f.img |
| |
| sudo dnf remove 'tftp' -y && sync |
| |
| ===== nmrpflash ===== |
| |
| ==== Images ==== |
| |
| * :!: If using an OpenWRT image, use the ''factory'' image |
| |
| * [[https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img|OpenWRT Snapshot]] |
| * [[https://downloads.openwrt.org/releases/19.07.6/targets/ath79/generic/openwrt-19.07.6-ath79-generic-netgear_wndr3800-squashfs-factory.img|OpenWRT 19.07.6]] |
| * [[https://www.netgear.com/support/product/WNDR3800.aspx#download|NETGEAR Stock Firmware]] |
| |
| ==== nmrpflash ==== |
| |
| * [[https://github.com/jclehner/nmrpflash|jclehner/nmrpflash GitHub]] |
| * Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27 |
| |
| sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8' |
| |
==== Install ==== | sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -L |
| |
**** | sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -i 'enp5s0' -f ~/'Downloads/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img' |
| |
opkg update && opkg install 'luci' && opkg install 'luci-ssl-openssl' | sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -i 'enp5s0' -f ~/'Downloads/openwrt-19.07.6-ath79-generic-netgear_wndr3800-squashfs-factory.img' |
| |
==== URL ==== | sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -i 'enp5s0' -f ~/'Downloads/WNDR3800-V1.0.0.52/WNDR3800-V1.0.0.52.img' |
| |
* https://192.168.1.1 | |