1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
=head1 NAME
nmrpflash -- firmware flash utility for Netgear devices
=head1 USAGE
nmrpflash [I<OPTION>...]
=head1 OPTIONS
B<-i>, and B<-f> or B<-c> are mandatory
=over
=item B<-a> I<ipaddr>
IP address to assign to target device
=item B<-A> I<ipaddr>
IP address to assign to selected interface
=item B<-B>
Blind mode (don't wait for response packets)
=item B<-c> I<command>
Command to run before (or instead of) TFTP upload
=item B<-f> I<firmware>
Firmware file
=item B<-F> I<filename>
Remote filename to use during TFTP upload
=item B<-i> I<interface>
Network interface directly connected to device
=item B<-m> I<mac>
MAC address of target device (xx:xx:xx:xx:xx:xx)
=item B<-M> I<netmask>
Subnet mask to assign to target device
=item B<-t> I<timeout>
Timeout (in milliseconds) for NMRP packets
=item B<-T> I<timeout>
Time (seconds) to wait after successful TFTP upload
=item B<-p> I<port>
Port to use for TFTP upload
=item B<-R> I<region>
Set device region (NA, WW, GR, PR, RU, BZ, IN, KO, JP)
=item B<-v>
Be verbose
=item B<-V>
Print version and exit
=item B<-L>
List network interfaces
=item B<-h>
Show this screen
=back
=head1 EXAMPLES
(run as root)
# nmrpflash -i eth0 -f firmware.bin
When using -c, the environment variables IP, PORT, NETMASK
and MAC are set to the device IP address, TFTP port, subnet
mask and MAC address, respectively.
=head1 COPYRIGHT & LICENSE
nmrpflash Copyright (C) 2016 Joseph C. Lehner
nmrpflash is free software, licensed under the GNU GPLv3.
Source code at L<https://github.com/jclehner/nmrpflash>
This documentation was created by Damyan Ivanov L<dmn@debian.org> from the
C<nmrpflash> help text. Licensed under the same terms as the upstream source
code.
|