153 lines · 2.7 KB · Text
RawDownload
.TH CEC 8.SH NAMEcec \- Coraid Ethernet Console.SH SYNOPSIS.B cec[.B -dp] [.B -S.I srv] [.B -c.I esc] [.B -e.I ea] [.B -h.I host[.B -s.I shelf] [.I interface].SH DESCRIPTION.I Cecuses raw Ethernet packets to connect to a CEC server for console access.All clients share the same session.Coraid appliances and Coraid Plan 9 kernels can currently be CEC servers..PP.I Cecstarts by probing the specified network interfacefor available CEC servers.  The default is.BR /net/ether0 .Only one.I cecprocess may be run per Ethernet interface.If the server is specified with the.BR -b ,.BR -h ,or.B -soptions, communication willproceed immediately upon discovery of the first CEC serverwith the specified address.Otherwise, a selection promptwill be displayed showing the discovered CEC serversavailable for communication.  Unless the.B -poption is specified,.I cecexits if no matching servers are found.The selection prompt accepts.LP.TF "\fInumber ".TP.I numberConnect to server.I number(from the first column),.TP.B pProbe the interface again, and.TP.B qQuit..PD.PPNote the selection number is not the shelf address but the.IR cec -generatedsequence number printed in the leftmost column..PPOnce connected to a CEC server, typing the escape characterwill drop the user into an escape prompt where the user may type.L qto quit the connection,.L ito send the escape characteracross the connection, or.L .to continue the connection..SS Options.TP.B -cSet the escape character to.RI control- esc .The default setting is control-\e..TP.B -dPrint debugging information..TP.B -eConnect to the server with Ethernet address.IR ea ;implies.BR -p ..TP.B -hConnect to the server.IR host .Note that this name might not be the same as the contents of.L /dev/sysnameon the target system..TP.B -pPersist: continue trying to connect even ifthere are no matching servers.  This is useful whenconnecting to a CPU server before it boots..TP.B -sConnect to the server at address.IR shelf ..TP.B -SPost the CEC connection as.BI /srv/ srvto allow sharing..PPIf the.BR -e ,.BR -s ,or.B -hoptions are given,.I cecwill exit upon closing the connection.Otherwise,.I cecwill return to the selection prompt upon connection close..SH EXAMPLES.IP.EX; cec '#l1/ether1' 0       1 003048679b89 [#qp]: 0 SR shelf 1> SR shelf 1> >>> q 0       1 003048679b89 [#qp]: q;.EE.SH SOURCE.B /sys/src/cmd/cec.\" .SH "SEE ALSO".\" .IR cec (3).SH BUGSThe CEC protocol should be integrated with the console server.The arbitration between the keyboard and network is suboptimal..PPEarly boot information and very late crash information from serversmay be lost due to timing quirks.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t