Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner authored Oct 1, 2024
1 parent 0b755d4 commit 4e4e78e
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ R7000P, R6800, R8000, R8000P, R8500, RAX40, RBR40, RBS40, RBR50, RBS50, SRR60, S
WNDR4700, WNR3500), but is likely to be compatible with most other Netgear devices as well.

Prebuilt binaries for Linux, macOS and Windows are available [here](https://github.com/jclehner/nmrpflash/releases)
([Npcap](https://nmap.org/npcap/#download) is required on Windows). Note that on Linux and macOS, using
[Homebrew](https://formulae.brew.sh/formula/nmrpflash) is the preferred method. FreeBSD packages can be fetched and
installed using the FreeBSD `pkg` command.
([Npcap](https://nmap.org/npcap/#download) is required on Windows).

On Linux and macOS, using [Homebrew](https://formulae.brew.sh/formula/nmrpflash) is the preferred method. Packages maintained
by your Linux distribution may be hopelessly outdated (as of 2024-10-01, the current version in Debian based distros such
as Ubuntu is 0.9.14, released more than 4 years earlier!).

A [FreeBSD package](https://ports.freebsd.org/cgi/ports.cgi?query=nmrpflash) can be fetched and installed using the `pkg` command.

```
Usage: nmrpflash [OPTIONS...]
Expand Down Expand Up @@ -246,7 +250,7 @@ or

`-A 192.168.1.2 -a 192.168.1.1`

### Building and installing
### Building
###### Linux, Mac OS X, BSDs

On Linux, developer packages for `libpcap`, `libnl` and `libnl-route` must be installed:
Expand All @@ -258,26 +262,7 @@ $ sudo apt install libpcap-dev libnl-3-dev libnl-route-3-dev
Then, it's as easy as

```
$ make && sudo make install
```

On Linux and macOS, you can use [Homebrew](https://brew.sh) to install `nmrpflash`:

```
$ brew install nmrpflash
```

On FreeBSD (assuming the ports infrastructure is installed and you have root permissions):

```
$ cd /usr/ports/sysutils/nmrpflash
$ make install
```

Or install the FreeBSD binary package with:

```
$ pkg install nmrpflash
$ make
```

###### Windows
Expand Down

0 comments on commit 4e4e78e

Please sign in to comment.