From 73ac4bb69273e66a01505303d64c0cf669150f8c Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 8 Feb 2016 17:03:28 +0100 Subject: [PATCH] Update readme --- README.md | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9264b60..3548e41 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,33 @@ This program uses Netgear's [NMRP protocol] to flash a new firmware image to a compatible device. This utility has been tested with a Netgear EX2700, but is likely to work on many others as well. +Prebuilt binaries for Linux, OS X and Windows are available +[here](https://github.com/jclehner/nmrp-flash/releases). + +```` +Usage: nmrpflash [OPTIONS...] + +Options (-a, -i and -f are mandatory): + -a IP address to assign to target device + -f Firmware file + -i Network interface directly connected to device + -m MAC address of target device (xx:xx:xx:xx:xx:xx) + -M Subnet mask to assign to target device + -t Timeout (in milliseconds) for regular messages + -T Time to wait after successfull TFTP upload + -p Port to use for TFTP upload + -U Test TFTP upload + -v Be verbose + -V Print version and exit + -L List network interfaces + -h Show this screen +```` + ### Using nmrpflash Connect your Netgear router to your computer using a network cable. -Assign a static IP address to your computer (more specifically, to -the network card that's plugged into the Netgear router). - +Assign a static IP address to the network adapter that's plugged into +the Netgear router. For this example, we'll assume that your network interface is `eth0`. First, we have to assign a static IP address to our network interface. @@ -38,6 +59,18 @@ Waiting for remote to respond. Remote finished. Closing connection. ```` +### Common issues +###### No suitable network interfaces found. + +If you're *not* on Windows, rerun `nmrpflash -L` using `sudo`. In any case, +use `-vvvL` to see more detailed messages, and file a bug report if applicable. + +###### No response after 60 seconds. Bailing out. + +The router did not respond. Try running `nmrpflash` with `-m` and specify +your router's MAC address. It's also entirely possible that your device does +not support the NMRP protocol. + ### Building and installing ###### Linux, Mac OS X, BSDs -- 2.25.1