plan9.ini(8): document netconsole

This commit is contained in:
aiju 2017-06-01 07:07:55 +00:00
parent 48fa332c61
commit 04b8539ee2

View file

@ -623,6 +623,29 @@ console=0 b19200 po
.LP
would use COM1 at 19,200 baud
with odd parity.
.LP
The value
.B net
specifies ``netconsole'' which sends console messages as UDP packets over the network.
It bypasses the IP stack and writes Ethernet packets directly to the NIC.
In this case
.I params
is mandatory and takes the form
.IP
\fIsrcip\fR [ \fB!\fIsrcport \fR] [ \fB/\fIdevno \fR] \fB, \fIdstip\fR [ \fB!\fIdstport \fR] [ \fB/\fIdstmac \fR]
.LP
\fISrcip\fR, \fIsrcport\fR (default 6665), \fIdstip\fR and \fIdstport\fR (default 6666) specify the source IP address, source port, destination IP address and destination port, respectively.
\fIDevno\fR (default 0) specifies which NIC to use, a value of \fIn\fR corresponds to NIC at \fL#l\fIn\fR (see
.IR ether (3)).
\fIDstmac\fR specifies the destination MAC address; broadcast packets are sent if it is unspecified.
Note that it is possible, but not recommended, to send packets to a host outside the local network by specifying the MAC address of the gateway as \fIdstmac\fR.
Example lines are
.IP
.EX
console=net 192.168.0.4,192.168.0.8
console=net 192.168.2.10!1337/1,192.168.2.3!1337/0ea7deadbeef
.EE
.LP
.SS "PC CARD"
.SS \fLpccard0=disabled\fP
Disable probing for and automatic configuration of PC card controllers.