Using the MSS
Encrypted Sessions
5-7
ATA Flash Cards
Once an ATA card is formatted, the card can be used the same as the on-board MSS Flash disk. Files on the
card can be referenced as “/pccard1/<directory>/<filename>” for cards installed in the top slot or “/pccard2/
<directory>/<filename>” for cards installed in the bottom slot.
The Disk commands described above and in the MSS Reference Manual can also be used with an ATA Flash
card. For example, to back up a Flash disk file (data.txt) onto an ATA card in the top slot, use the following
commands to create a backups folder on the card and to copy the desired file into that folder:
Figure 5-9:
Backing Up Files onto an ATA Card
The maximum number of files and directories (total sum) that can fit on the card is a function of the size of
the card: divide the size of the card by 5k (5120 bytes). This assumes that the average size of all the files
that will fill up the card will be smaller than 5k.
Data can be corrupted if power is lost in the middle of a write (for example, if the cord is pulled). If the Disk
Sync command is issued and power is removed after the command is completed, data will be stored
correctly on the card. Likewise, there should be no problems with data integrity if the Initialize Delay 0
command is used to reboot the unit.
SDK
The Lantronix Software Developers Kit (SDK) allows you to customize the behavior of your MSS in more
ways than are available via the standard command set. You can write programs for the MSS that handle
serial and network data, and store the finished programs on the /flash disk so they always run when the MSS
boots.
For more information on the Lantronix SDK, contact Lantronix directly.
Encrypted Sessions
Note:
To use the encryption features described in this section, you must use the MSS4E.SYS
software file. To obtain this file, contact Lantronix directly.
The MSS supports encrypted connections from one MSS to another MSS, or from a Win32 PC to the MSS.
For more information on using the MSS with Win32, contact Lantronix directly.
To configure an MSS-to-MSS encrypted session, set the same encryption password on both units. The
password can be up to 7 alphanumeric or escaped hex (\xx) characters and is case-sensitive.
Figure 5-10:
Setting the Encryption Password
After the encryption password has been configured, reboot both units. Establish an encrypted session to
either one of the unit’s local prompts or to a serial port using the following command:
Figure 5-11:
Establishing an Encrypted Connection
Local>> DISK MKDIR /pccard1/backups/
Local>> DISK CP /flash/customapps/data.txt /pccard1/backups
Local>> CRYPT PASSWORD “giraffe”
Local_1> TELNET n.n.n.n:2100Y
or
Local_1> TELNET n.n.n.n:2101Y