User Tools

Site Tools


devices:wndr3800_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:wndr3800_openwrt [2019/06/28 07:54] Sean Rhonedevices:wndr3800_openwrt [2021/09/09 02:26] Sean Rhone
Line 1: Line 1:
 ====== 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 ======
  
-===== Date Check =====+==== Links ====
  
-  * https://downloads.openwrt.org/snapshots/targets/ath79/generic/+  * ''ath79''
  
-===== SSH =====+  * [[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]]
  
-===== Upgrade =====+==== sysupgrade ====
  
-  * From OpenWRT to an updated snapshot of OpenWRT+  * This downloads the latest ''sysupgrade.bin'' and installs it
  
-==== Download ====+  ssh 'root'@'192.168.1.1'
  
-****+  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'
  
-  rm -'/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin' && wget -O '/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin' 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-sysupgrade.bin'+  rm -Rf ~/'.ssh' && ping '192.168.1.1'
  
-==== Update ====+===== Packages =====
  
-  * :!: This will flash instantly, without confirmation or verification, erase all settingsand reboot+  * [[https://openwrt.org/docs/guide-user/luci/luci.essentials|LuCI]] ((snapshot images don't include LuCIso it needs installed on **every** clean snapshot install))
  
-  sysupgrade -n --force -v '/tmp/openwrt-snapshot-ath79-wndr3800-sysupgrade.bin'+  ssh 'root'@'192.168.1.1'
  
-===== Factory =====+  sync && passwd
  
-  * From LibreCMC or another variant to OpenWRT+  opkg update && opkg install luci && sync
  
-==== Download ====+====== LuCI ======
  
-****+  http://192.168.1.1
  
-  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'+  * :!: 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
  
-==== Update ====+===== 1.1.1.1 DNS =====
  
-  * :!This will flash instantly, without confirmation or verification, erase all settings, and reboot+  * https://1.1.1.1/dns/ 
 +  * See [[notes:dns_servers|DNS servers]] for other DNS servers
  
-  sysupgrade -n --force -v '/tmp/openwrt-snapshot-ath79-wndr3800-factory.bin'+<code>2606:4700:4700::1111</code> 
 +<code>2606:4700:4700::1001</code> 
 +<code>1.1.1.1</code> 
 +<code>1.0.0.1</code>
  
-====== LuCI Web Interface ======+===== Wireless =====
  
-===== Information =====+==== 2.4GHz ====
  
-  * https://openwrt.org/docs/guide-user/luci/luci.essentials-tomerge +  * Country CodeUS 
-  * Snapshot images don't include LuCI, and need it to be installed after installation+  * Channel: 11 
 +  * Width: 40 MHz 
 +  * Encryption: WPA2-PSK CCMP AES 
 +  * :!: 802.11w Management Frame Protection: Disabled
  
-===== Install =====+<code>The Crossroads (2.4GHz)</code>
  
-==== SSH ====+==== 5GHz ====
  
-****+  Country Code: US 
 +  :!: Channel: 153 
 +  Width: 80 MHz 
 +  Encryption: WPA2-PSK CCMP AES 
 +  * :!: 802.11w Management Frame Protection: Disabled
  
-  ssh 'root'@'192.168.1.1'+<code>Highgate (5GHz)</code> 
 + 
 +===== Firewall ===== 
 + 
 +  * 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]]
  
-==== Install ====+==== nmrpflash ====
  
-****+  [[https://github.com/jclehner/nmrpflash|jclehner/nmrpflash GitHub]] 
 +  Reason for the ''libpcap'' command: https://github.com/jclehner/nmrpflash/issues/27
  
-  opkg update && opkg install 'luci-ssl-openssl&& ls '/etc/config/luci-opkg' && rm '/etc/config/luci' && mv '/etc/config/luci-opkg' '/etc/config/luci&& sync+  sudo ln -sv 'libpcap.so.1' '/usr/lib64/libpcap.so.0.8'
  
-==== Service ====+  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'
  
-  '/etc/init.d/uhttpdenable && '/etc/init.d/uhttpdrestart+  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