#language en [[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 [[http://www.klabs.be/~fpiat/linux/debian/packages/amtterm/|amtterm]] ). {{attachment:gamt.png}} === 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}}}''' {{{ Network Interface 0: DhcpEnabled true HardwareAddressDescription Wired0 InterfaceMode SHARED_MAC_ADDRESS LinkPolicy 31 MACAddress 00-1a-6b-00-00-00 DefaultGatewayAddress 192.168.0.1 LocalAddress 192.168.0.10 PrimaryDnsAddress 192.168.0.33 SecondaryDnsAddress 0.0.0.0 SubnetMask 255.255.255.0 Network Interface 1: DhcpEnabled true HardwareAddressDescription Wireless1 InterfaceMode SHARED_MAC_ADDRESS LinkPolicy 0 MACAddress 00-13-e8-00-00-00 DefaultGatewayAddress 0.0.0.0 LocalAddress 0.0.0.0 PrimaryDnsAddress 0.0.0.0 SecondaryDnsAddress 0.0.0.0 SubnetMask 0.0.0.0 }}} == 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/``[[attachment: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 ===