Using the MSS Encrypted Sessions5-7ATA Flash CardsOnce an ATA card is formatted, the card can be used the same as the on-board MSS Flash disk. Files on thecard can be referenced as “/pccard1//” for cards installed in the top slot or “/pccard2//” 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 Flashcard. For example, to back up a Flash disk file (data.txt) onto an ATA card in the top slot, use the followingcommands 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 CardThe maximum number of files and directories (total sum) that can fit on the card is a function of the size ofthe card: divide the size of the card by 5k (5120 bytes). This assumes that the average size of all the filesthat 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 DiskSync command is issued and power is removed after the command is completed, data will be storedcorrectly on the card. Likewise, there should be no problems with data integrity if the Initialize Delay 0command is used to reboot the unit.SDKThe Lantronix Software Developers Kit (SDK) allows you to customize the behavior of your MSS in moreways than are available via the standard command set. You can write programs for the MSS that handleserial and network data, and store the finished programs on the /flash disk so they always run when the MSSboots.For more information on the Lantronix SDK, contact Lantronix directly.Encrypted SessionsNote: To use the encryption features described in this section, you must use the MSS4E.SYSsoftware 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. Thepassword can be up to 7 alphanumeric or escaped hex (\xx) characters and is case-sensitive.Figure 5-10: Setting the Encryption PasswordAfter the encryption password has been configured, reboot both units. Establish an encrypted session toeither one of the unit’s local prompts or to a serial port using the following command:Figure 5-11: Establishing an Encrypted ConnectionLocal>> DISK MKDIR /pccard1/backups/Local>> DISK CP /flash/customapps/data.txt /pccard1/backupsLocal>> CRYPT PASSWORD “giraffe”Local_1> TELNET n.n.n.n:2100YorLocal_1> TELNET n.n.n.n:2101Y