nmrpflash debianized
Find a file
2016-02-02 12:14:28 +02:00
ethsock.c Move OS defines to nmrpd.h 2016-02-02 12:14:28 +02:00
ethsock.h Fix silly naming clash on MinGW 2016-02-02 11:43:20 +02:00
main.c Windows fixes 2016-02-02 12:13:00 +02:00
Makefile Update makefile 2016-01-29 23:05:02 +02:00
nmrp.c Install SIGINT handler in nmrp_do 2016-01-31 18:42:58 +02:00
nmrpd.h Move OS defines to nmrpd.h 2016-02-02 12:14:28 +02:00
README.md Update readme 2016-01-27 19:40:40 +01:00
tftp.c Satisfy clang 2016-01-29 19:19:31 +02:00

nmrp-flash - Netgear Unbrick Utility

This program uses Netgear's [NMRP protocol] (http://www.chubb.wattle.id.au/PeterChubb/nmrp.html) 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.

Using nmrp-flash

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).

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:

$ sudo ifconfig eth0 192.168.1.2

Now we can start nmrp-flash. The argument for the -a option needs to be a free IP address from the same subnet as the one used by your network interface. We'll use 192.168.1.254. The firmware image file can usually be downloaded directly from Netgear's FTP servers.

$ sudo nmrp-flash -i eth0 -a 192.168.1.254 -f EX2700-V1.0.1.8.img
Advertising NMRP server on eth0 ... /
Received configuration request from XX:XX:XX:XX:XX:XX.
Sending configuration: ip 192.168.1.254, mask 255.255.255.0.
Uploading EX2700-V1.0.1.8.img ... OK
Waiting for remote to respond.
Remote finished. Closing connection.

Building and installing

Linux only for now, sorry!

$ make && sudo make install