From 8a26cdf4b1e37bf10dd4a0d68cdc55b0e468f943 Mon Sep 17 00:00:00 2001 From: Benjamin Joseph Date: Sat, 4 Jul 2020 10:26:24 -0700 Subject: [PATCH 1/3] Updated documentation. From painful experiences and eventual success success. --- README-R7000.md | 33 +++++++++++++++++++++++++++++++++ README.md | 17 +++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 README-R7000.md diff --git a/README-R7000.md b/README-R7000.md new file mode 100644 index 0000000..9c6ef3c --- /dev/null +++ b/README-R7000.md @@ -0,0 +1,33 @@ +Some helpful hints for putting firmware on the Netgear R7000 +============================================================ + +* As of the writing of this, July 2020, the R7000's web interface does not let you downgrade its firmware, or run 3rd party firmware on it. +* Older versions of the R7000's firmware do allow you to flash 3rd party firmware. +* You can use nrmpflash to downgrade router's firmware, for example R7000-V1.0.3.56_1.1.25. + +Here is an example set of steps +1. Plug in your router, go through the regular stock web interface setup. Note if the router's IP address is now 192.168.1.1 or 10.0.0.1 +2. Connect computer your computer to LAN1 with an ethernet cable +3. At the command prompt on your computer, run: +`sudo nmrpflash -v -i YOUR_ADAPTER_NAME -f R7000-V1.0.3.56_1.1.25.chk -t 10000 -T 10000 -A 10.0.0.2 -a 10.0.0.1` +* Note 1: The instructions from README.md that tell you how to find YOUR_ADAPTER_NAME. +* Note 2: if your router's IP address was 192.168.1.1 then swap out 10.0.0.x with 192.168.1.x for the two IP addresses above +4. Right after running the command, power on your router. Your router checks for the nmrpflash server on boot. If all goes well you should see this: + +``` +sudo nmrpflash -v -i enp0s25 -f R7000-V1.0.3.56_1.1.25.chk -t 10000 -T 10000 -A 10.0.0.2 -a 10.0.0.1 +Adding 10.0.0.2 to interface enp0s25. +Advertising NMRP server on enp0s25 ... / +Received configuration request from ab:cd:ef:12:34:56. +Sending configuration: 10.0.0.1/24. +Received upload request without filename. +Using remote filename 'R7000-V1.0.3.56_1.1.25.chk'. +Uploading R7000-V1.0.3.56_1.1.25.chk ... OK +Waiting for remote to respond. +Received keep-alive request (19). +Remote finished. Closing connection. +Reboot your device now. + +``` +5. Reboot the device. You now have old firwmare, congratulations. + diff --git a/README.md b/README.md index 7b129fa..992d5d8 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ Your Netgear router must be connected to your network using an Ethernet cable. The device running `nmrpflash` must be connected to the same network, using either Wi-Fi or Ethernet. +Usage sequence of events: +1. Connect ethernet cable from computer to router's LAN1 +2. Run nmrpflash on command line +3. Turn on the router. + All available network interfaces can be listed using ``` @@ -188,6 +193,18 @@ cases. * Your device might expect a different image format for `nmrpflash` than when flashing via the web interface. +###### "bind: Cannot assign requested address" + +* Specify the address of the router, and address of your computer. For example: + +-A 10.0.0.2 -a 10.0.0.1 + +or + +-A 192.168.1.2 -a 192.168.1.1 + + + ### Building and installing ###### Linux, Mac OS X, BSDs From a79d40534027c895762644928829951b0f7a5f8d Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 6 Jul 2020 11:27:04 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 992d5d8..1c68596 100644 --- a/README.md +++ b/README.md @@ -195,15 +195,14 @@ flashing via the web interface. ###### "bind: Cannot assign requested address" -* Specify the address of the router, and address of your computer. For example: +Specify the address of the router, and address of your computer, using +`-A` and `-a`. For example: --A 10.0.0.2 -a 10.0.0.1 +`-A 10.0.0.2 -a 10.0.0.1` or --A 192.168.1.2 -a 192.168.1.1 - - +`-A 192.168.1.2 -a 192.168.1.1` ### Building and installing ###### Linux, Mac OS X, BSDs From 913f261a0c87b69ab9499305a9d3c3c31ee93f3d Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 6 Jul 2020 11:28:30 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1c68596..c16efc3 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,10 @@ Ethernet cable. The device running `nmrpflash` must be connected to the same network, using either Wi-Fi or Ethernet. Usage sequence of events: -1. Connect ethernet cable from computer to router's LAN1 -2. Run nmrpflash on command line -3. Turn on the router. +1. Turn off the router +2. Connect ethernet cable from computer to router's LAN1 +3. Run nmrpflash on command line +4. Turn on the router. All available network interfaces can be listed using @@ -99,12 +100,8 @@ C:\> net start npf ###### "No response after 60 seconds. Bailing out." -The router did not respond. Always run `nmrpflash` in the following -manner: - -* Turn off the router. -* Run `nmrpflash`. -* Turn on the router. +The router did not respond. Always run `nmrpflash` in the sequence +described above! If that still doesn't work, you can try "blind mode", which can be invoked using `-B`. Note that you also have to specify your router's