Appendix A: Linux Commands and Source Code

sleep *

Delay for a specified amount of time

smbmnt

Helper utility for mounting SMB file systems

smbmount

Mount an SMBFS file system

smbumount

SMBFS umount for normal users

snmpd

SNMP daemon

snmptrap

Sends an SNMP notification to a manager

sredird

RFC 2217 compliant serial port redirector

ssh

OpenSSH SSH client (remote login program)

ssh-keygen

Authentication key generation, management, and conversion

sshd

OpenSSH SSH daemon

sslwrap

Program that allows plain services to be accessed via SSL

stty

Change and print terminal line settings

stunnel

Universal SSL tunnel

sync *

Flush file system buffers

sysctl

Configure kernel parameters at runtime

syslogd

System logging utility

tar *

The tar archiving utility

tc

Show traffic control settings

tcpdump

Dump traffic on a network

telnetd

Telnet protocol server

tftp

Client to transfer a file from/to tftp server

tftpd

Trivial file Transfer Protocol (tftp) server

tip

Simple terminal emulator/cu program for connecting to modems and serial devices

top

Provide a view of process activity in real time

touch *

Change file timestamps

traceroute

Print the route packets take to network host

traceroute6

Traceroute for IPv6

true *

Returns an exit code of TRUE (0)

umount *

Unmount file systems

uname *

Print system information

usleep *

Delay for a specified amount of time

vconfig *

Create and remove virtual ethernet devices

vi *

Busybox clone of the VI text editor

w

Show who is logged on and what they are doing

zcat *

Identical to gunzip -c

Commands above which are appended with '*' come from BusyBox (the Swiss Army Knife of embedded Linux)

%''"""&!$#& '"'!$#& . Others are generic Linux commands and most commands the -hor --helpargument

to provide a terse runtime description of their behavior. More details on the generic Linux commands can found online at

%''& &' ' ('" &  and  %''"""&&''!#( '  ( ( ( & 

An updated list of the commands may found using ls command to view all the commands actually available in the /bin directory in your console server.

There were a number of Black Box tools listed above that make it simple to configure the console server and make sure the changes are stored in the console server's flash memory, etc. These commands are covered in the previous chapters and include:

config which allows manipulation and querying of the system configuration from the command line. With config a new configuration can be activated by running the relevant configurator, which performs the action necessary to make the configuration changes live.

portmanager which provides a buffered interface to each serial port. It is supported by the pmchat and pmshell commands which ensure all serial port access is directed via the portmanager.

pmpower is a configurable tool for manipulating remote power devices that are serially or network connected to the console server.

SDT Connector is a java client applet that provides point-and-click SSH tunneled connections to the console server and Managed Devices.

724-746-5500 blackbox.com

163

Page 163
Image 163
Black Box 1102 Sleep, Smbmnt, Smbmount, Smbumount, Snmpd, Snmptrap, Sredird, Ssh-keygen, Sshd, Sslwrap, Stty, Stunnel