summaryrefslogtreecommitdiff
path: root/sys/man/8
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-06-01 07:07:55 +0000
committeraiju <devnull@localhost>2017-06-01 07:07:55 +0000
commit04b8539ee29154c7455027c4cae457db79ad8fb7 (patch)
treefb8a31eb5d70338cb7eb53ac189966d1edfb4b86 /sys/man/8
parent48fa332c61fe037b3f89575c2333df9216652316 (diff)
plan9.ini(8): document netconsole
Diffstat (limited to 'sys/man/8')
-rw-r--r--sys/man/8/plan9.ini23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini
index a8cfc7ad5..deda8a7c0 100644
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -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.