Update README.md

This commit is contained in:
Joseph C. Lehner 2024-10-01 16:17:21 +02:00 committed by GitHub
parent 0b755d44f8
commit 4e4e78e622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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. 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) 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 ([Npcap](https://nmap.org/npcap/#download) is required on Windows).
[Homebrew](https://formulae.brew.sh/formula/nmrpflash) is the preferred method. FreeBSD packages can be fetched and
installed using the FreeBSD `pkg` command. 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...] Usage: nmrpflash [OPTIONS...]
@ -246,7 +250,7 @@ or
`-A 192.168.1.2 -a 192.168.1.1` `-A 192.168.1.2 -a 192.168.1.1`
### Building and installing ### Building
###### Linux, Mac OS X, BSDs ###### Linux, Mac OS X, BSDs
On Linux, developer packages for `libpcap`, `libnl` and `libnl-route` must be installed: On Linux, developer packages for `libpcap`, `libnl` and `libnl-route` must be installed:
@ -258,26 +262,7 @@ $ sudo apt install libpcap-dev libnl-3-dev libnl-route-3-dev
Then, it's as easy as Then, it's as easy as
``` ```
$ make && sudo make install $ make
```
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
``` ```
###### Windows ###### Windows