Patches from Debian, via Victor Seva:
* etc/wlan/shared ( SRC_etc_wlan_shared.dpatch ) + there is a call to wland, nonexistent now - debian stuff ( loop if there are shared.*.dpkg* files ) + a root security hole ( using /var/run/linux-wlan-ng instead /tmp ) * src/prism2/driver/prism2_cs.c ( SRC_src_prism2_driver_prism2_cs_c.dpatch ) + changes for 2.4.27 kernel * man/prism2dl.1 ( DOC_man_prism2dl_1.dpatch ) + Created a minimal man file in order to Debian's rules, all executable must +have a man pageorigin
parent
a4c650adc9
commit
b4ac1c80f3
@ -0,0 +1,93 @@
|
||||
.TH PRISM2DL 8
|
||||
.SH NAME
|
||||
prism2dl \- 802.11 frame dump utility
|
||||
.SH SYNOPSIS
|
||||
.B prism2dl [OPTIONS] devname
|
||||
.SH DESCRIPTION
|
||||
.B prism2dl
|
||||
User utility for downloading prism2 images
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B -s (status)
|
||||
Show CIS, PDA from card and exit
|
||||
.TP
|
||||
.B -v (verbose)
|
||||
Show more status info during operation
|
||||
.TP
|
||||
.B -V (Version)
|
||||
Show version and exit
|
||||
.TP
|
||||
.B -n (nowrite)
|
||||
Do all processing, including card PDA read but do not write to card
|
||||
.TP
|
||||
.B -d (debug)
|
||||
Do all processing, excluding card PDA read but do not write to card. A valid
|
||||
interface name is _not_ required for this mode.
|
||||
.TP
|
||||
.B -g (generate)
|
||||
Show the PDA in a format readable by this program. Useful for saving the
|
||||
existing from a card.
|
||||
.SH IMAGEFILE OPTIONS
|
||||
.TP
|
||||
.B -r <file> (ram)
|
||||
Load SREC file to card RAM. This option may be specified multiple times.
|
||||
If the value is "stdin", the file will be read from stdin and the option
|
||||
may only be specified once.
|
||||
.TP
|
||||
.B -f <file> (flash)
|
||||
Load SREC file to card FLASH. This option may be specified multiple times.
|
||||
If the value is "stdin", the file will be read from stdin and the option
|
||||
may only be specified once.
|
||||
.SH PDA OPTIONS
|
||||
.TP
|
||||
.B -a <file> (addpdr)
|
||||
Add the PDRs from file to the PDA from card. This option may be specified
|
||||
multiple times.
|
||||
.TP
|
||||
.B -p <file> (pda)
|
||||
Replace the card PDA with the contents of file.
|
||||
.TP
|
||||
.B -m <haddr> (macaddr)
|
||||
Overwrite the MAC address PDR with the given value.
|
||||
<addr> ::= xx:xx:xx:xx:xx:xx, where xx is a two digit hex number.
|
||||
.TP
|
||||
.B -S <str> (Sernum)
|
||||
Overwrite the serial number PDR with the given string. String must be <= 12
|
||||
characters, any extra will be truncated.
|
||||
.TP
|
||||
.B -l <adrr> (padloc)
|
||||
PDA location in card memory. Commonly values:
|
||||
HFA3841 ==> 0x003f0000
|
||||
HFA3842 ==> 0x007f0000
|
||||
.TP
|
||||
.B devname
|
||||
Linux device name (e.g. eth0, wlan0)
|
||||
.SH EXAMPLES
|
||||
Review card status:
|
||||
prism2dl -s wlan0
|
||||
|
||||
Load a new PDA:
|
||||
prism2dl -p pdafile.txt wlan0
|
||||
or
|
||||
prism2dl -p pdafile.txt -a pda1.txt -a pda2.txt wlan0
|
||||
|
||||
Note that the f/w images will most likely contain bogus plug info after
|
||||
rewriting the PDA by itself. It is generally recommended to reload the
|
||||
primage and secondary images at the same time as modifying the PDA.
|
||||
|
||||
Load a FLASH image _and_ PDA:
|
||||
prism2dl -p pdafile.txt -f CIS.hex -f primary.hex -f secondary.hex wlan0
|
||||
|
||||
Load a RAM image:
|
||||
prism2dl -a pda1.txt -r tertiary.hex
|
||||
|
||||
Note: PDA records are additive starting with the records from the card
|
||||
OR the records from the -p specified file. -a specified file(s)
|
||||
overwrite, append, or remove records one at a time. If multiple
|
||||
files are specified using the -a option, the files are processed
|
||||
from left to right. This implies that a record removed from the
|
||||
current working PDA may then be added again by a record that
|
||||
appears after the "remove" record in the file set.
|
||||
.P
|
||||
.SH AUTHOR
|
||||
This minimal man page was written by Victor Seva.
|
Loading…
Reference in New Issue