Emerson PMPPC7448 Computer Accessories User Manual


 
Monitor: Accessing the Console Over Ethernet
PmPPC7448 User’s Manual 10006757-02
11-8
ACCESSING THE CONSOLE OVER ETHERNET
To interact with the monitor command line over Ethernet, use the NetConsole feature built
into the monitor and an appropriate client application. This feature sends and receives UDP
packets to and from a designated host on the network. Execute the following commands,
inserting the appropriate data in the italicized fields:
If necessary, edit your network settings:
PM/PPC-7448 (1.8) => setenv ipaddr 192.168.1.100
PM/PPC-7448 (1.8) => setenv gatewayip 192.168.1.1
PM/PPC-7448 (1.8) => setenv netmask 255.255.255.0
PM/PPC-7448 (1.8) => setenv serverip 10.64.16.168
PM/PPC-7448 (1.8) => setenv ethport all,porta,portb,portc
Select the host running the client application and the designated UDP port on which to
communicate:
PM/PPC-7448 (1.8) => setenv ncip 10.64.16.167:6667
Optionally, save your settings:
PM/PPC-7448 (1.8) => saveenv
Prepare the client application on the host, and finally enable NetConsole:
PM/PPC-7448 (1.8) => setenv stdin nc\;setenv stdout nc
Any combination of standard input (stdin), output (stdout) and error message (stderr)
streams can be redirected over Ethernet. When an input or output stream is redirected over
Ethernet, it ceases to work over a serial cable. However, the streams can be redirected back
to serial from within NetConsole:
PM/PPC-7448 (1.8) => setenv stdin serial\;setenv stdout serial
These message stream settings cannot be saved and will revert back to serial on reset. To
enable NetConsole on reset, the appropriate commands must be placed in either the
bootcmd or preboot environment variable. To be able to skip the autoboot process using
NetConsole, it makes sense to enable NetConsole in preboot:
PM/PPC-7448 (1.8) => setenv preboot setenv stdin nc\;setenv stdout nc
Optionally, save your settings:
PM/PPC-7448 (1.8) => saveenv
MONITOR COMMAND REFERENCE
This section describes the syntax and typographic conventions for the PmPPC7448 monitor
commands. Subsequent sections in this chapter describe individual commands, which fall
into the following categories: boot, memory, Flash, environment variables, test, and other
commands.