Download User Manual - SENA Homepage
Transcript
10. CLI guide 10.1. Introduction The Parani-MSP1000 Root user can access the Linux console command line interface (CLI) of the Parani-MSP1000 by via the serial console or Telnet/SSH. In the CLI, the authorized user can perform standard Linux commands to view the status of the Parani-MSP1000, edit the configuration, apply configuration changes, define user scripts and transmit files between the Parani-MSP1000 and remote hosts. The Parani-MSP1000 provides 2048 KB user space mounted in /usr2 for read/write capabilities in its internal flash memory. Using the user space, the users user can make create their own scripts or executable binaries to customize the Parani-MSP1000 for their own purpose. A Root users can will always have access to the CLI always by through the serial console or by using a Telnet/SSH client from their workstation. 10.2. Flash memory partitions The Parani-MSP1000 internal flash is partitioned as shown in the table below. The users can freely access the Mtdblock4 which is mounted on /usr2 for their own needs. The users can also access files at /etc, /var, and /temp. However, accessing these files at the RAM disk will not affect the ParaniMSP1000 after rebooting. Block Mtdblock0 Mtdblock1 Mtdblock2 Mtdblock3 Mtdblock4 Total Type Bootloader Linux Kernel Ram disk image (16MB) Cramfs (Read only) JFFS2 (R/W) Mount point None None /etc, /var, /tmp / /usr2 Size (KB) 384 2048 256 11648 2048 16348 Note: Do not access each mtdblock using mount or dd command in the CLI. This may make the Parani-MSP1000 inoperable. 10.3. Accessing CLI Serial console: 1) Connect the console port of the Parani-MSP1000 with the PC serial port 2) Run the PC terminal emulation program 3) Configure the PC serial port to: 9600-8-N-1 No flow control 4) Press <enter> 5) Login with the Parani-MSP1000 root account 67