AMT > Serial-over-LAN


Serial-over-lan is part of AMT. It provides a (secure) way to connect to a remote computer, through a pseudo serial interface.

Management Console

amtterm (and gamt)

Here's a snapshot of gamt in action... looks like a regular terminal... It is not ! (amtterm is command-line based, gamt is X-Window [gtk], both are shipped in Gerd Hoffmann's amtterm ).

amttool

(amttool is part of amtterm package).

AMT_PASSWORD=ComplexP4ssw00rd

export AMT_PASSWORD

amttool 192.168.0.10 info

### AMT info on machine '192.168.0.10' ###
AMT version:  2.5.0
Hostname:     solid.paris.klabs.be
Powerstate:   S0
Remote Control Capabilities:
    IanaOemNumber                   0
    OemDefinedCapabilities          IDER SOL BiosSetup 
    SpecialCommandsSupported        PXE-boot HD-boot cd-boot 
    SystemCapabilitiesSupported     powercycle powerdown powerup reset 
    SystemFirmwareCapabilities      0

You could use on of the supported command, like powerup or powercycle.

amttool 192.168.0.10 netinfo

Managed Client

It's assumed you have already enabled the Managment Engine (ME) on the computer (in SMB mode). see ?AMT/SmallBusiness.

inittab

The following udev rules /etc/udev/rules.d/z25_persistent-serial.rules will ensure the device is always named /dev/ttySOL

On a typical client, you will want to enable getty on the Serial-Over-LAN tty. Add the followin line in /etc/inittab.

# Example how to put a getty on a serial line (for a terminal)
#
T0:12345:respawn:/sbin/getty -L ttySOL 115200 vt100-nav

grub

Add following lines to /etc/default/grub:

GRUB_CMDLINE_LINUX="console=tty0 console=ttyS4,115200n8"

GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --port=0xf0e0 --word=8 --parity=no --stop=1"

and then run update-grub

lilo