Pimp makefile
[oweals/nmrpflash.git] / README.md
index 235c9128d610f340a5b490024a12b99d70df79e9..22177942d5cf5594aa265e97123a055918c6e921 100644 (file)
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ after starting `nmrpflash`.
 # nmrpflash -i eth0 -f EX2700-V1.0.1.8.img
 Advertising NMRP server on eth0 ... /
 Received configuration request from a4:2b:8c:00:00:01.
-Sending configuration: ip 10.11.12.252, mask 255.255.255.0.
+Sending configuration: ip 10.164.183.252, mask 255.255.255.0.
 Received upload request: filename 'firmware'.
 Uploading EX2700-V1.0.1.8.img ... OK
 Waiting for remote to respond.
@@ -65,7 +65,9 @@ Reboot your device now.
 
 ### Common issues
 
-In any case, run `nmrpflash` with `-vvv` before filing a bug report.
+In any case, run `nmrpflash` with `-vvv` before filing a bug report. Also,
+try connecting your Netgear router *directly* to the computer running
+`nmrpflash`.
 
 ###### "Error while loading shared libraries: libpcap.so.0.8" (Linux)
 
@@ -97,20 +99,19 @@ MAC address. It's also possible that your device does not support the NMRP proto
 ###### "Timeout while waiting for initial reply."
 
 The device did not respond to `nmrpflash`'s TFTP upload request. By default,
-`nmrpflash` will assign `10.11.12.252` to the target device, while adding `10.11.12.253`
+`nmrpflash` will assign `10.164.183.252` to the target device, while adding `10.164.183.253`
 to the network interface specified by the `-i` flag. You can use `-a` to change the IP
 address assigned to the target (e.g. if your network is `192.168.1.0/24`, specify a *free*
 IP address, such as `-a 192.168.1.252`), and `-A` to change the IP address used for the
 network interface.
 
-On Linux, `nmrpflash` uses interface alias `:42` by default, so if you specify `-i eth0`,
-it will actually use `eth0:42`. To override this, manually specify an alias (e.g.
-`-i eth0:43`).
-
 This error message could also indicate a bug in the TFTP code; try using an external tftp
 client (busybox in this example), by specifying the `-c` flag instead of the `-f` flag:
 
-`# nmrpflash -i eth0 -c "busybox tftp -p -l EX2700-V1.0.1.8.img \$IP"`
+`# nmrpflash -i eth0 -c 'busybox tftp -p -l EX2700-V1.0.1.8.img $IP'`
+
+The environment variable `IP` is set by `nmrpflash` (other environment variables
+are: `MAC`, `PORT`, `NETMASK`).
 
 ###### "Timeout while waiting for CLOSE_REQ."