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 revisionBoth sides next revision
devices:wndr3800_openwrt [2020/02/24 08:01] Sean Rhonedevices:wndr3800_openwrt [2021/02/06 05:40] Sean Rhone
Line 6: Line 6:
 ====== Notes ====== ====== Notes ======
  
-  * :!: Using ''sysupgrade'' with ''factory'' images **will** soft-brick the router ((see [[#recovery|Recovery]] to fix))+  * :!: Software flow offloading on OpenWRT consistently cause [[https://speedof.me/|SpeedOf.Me]] to stop mid-test as of 2021/02/06 
 + 
 +====== 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/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-sysupgrade.bin' 
 + 
 +  ping '192.168.1.1' 
 + 
 +  ls ~/'Documents/'*'-ssh-keys.tar.gz' && rm -Rf ~/'.ssh' && tar -xvzf ~/'Documents/'*'-ssh-keys.tar.gz' -C ~ '.ssh' && sync 
 + 
 +==== LuCI ==== 
 + 
 +  * https://openwrt.org/docs/guide-user/luci/luci.essentials 
 +  * :!: 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' 
 + 
 +=== URL === 
 + 
 +  * http://192.168.1.1
  
 ====== Stable ====== ====== Stable ======
Line 116: Line 143:
 ====== Recovery ====== ====== Recovery ======
  
-===== Notes =====+===== TFTP ===== 
 + 
 +==== Notes ====
  
   * Can seemingly still use ''tftp'' even if you can't ping the router   * Can seemingly still use ''tftp'' even if you can't ping the router
  
-===== Image =====+==== Image ====
  
   * Pick one   * Pick one
   * :!: The stable image URL will need updated if there's a newer version available   * :!: The stable image URL will need updated if there's a newer version available
  
-  wget -O ~/'f.img' 'https://downloads.openwrt.org/releases/18.06.4/targets/ar71xx/generic/openwrt-18.06.4-ar71xx-generic-wndr3800-squashfs-factory.img'+  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'   wget -O ~/'f.img' 'https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-netgear_wndr3800-squashfs-factory.img'
  
-===== TFTP =====+==== TFTP ====
  
   sudo dnf install 'tftp' -y && sync   sudo dnf install 'tftp' -y && sync
Line 148: Line 177:
  
   sudo dnf remove 'tftp' -y && sync   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'
 +
 +  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'
 +
 +  sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -i 'enp5s0' -f ~/'Downloads/openwrt-19.07.6-ath79-generic-netgear_wndr3800-squashfs-factory.img'
 +
 +  sudo ~/'Downloads/nmrpflash-0.9.15-linux/nmrpflash' -i 'enp5s0' -f ~/'Downloads/WNDR3800-V1.0.0.52/WNDR3800-V1.0.0.52.img'