Maintenance Boot Key Usage

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Maintenance boot key usage

USB key creation


1. Connect a USB key of minimum 4Gb to your PC
The USB key will be totaly erased.
2. Start usbit tool W:\Robot-Software\CS8\CS9_CFAST\cs9-CFAST-tools\usbit
3. Select the USB key and press restore
4. Select file type img.gz then the file cs9-CFAST-tools.img.gz

5. Start restore (this takes a while ...)

USB key usage


1. Connect the USB key on the CS9 (J210 or J209)
2. Start the CS9, it boots on the USB key and Ethernet is configured with:
a. J204, DHCP
IpAddress (displayed on MMI)
b. J205: static address:
IpAddress=172.31.0.1; mask=255.255.0.0
3. The following commands are available:

s7.xcs9 s7.xcs9Part.sh Total initialization of the CFAST for version s7.xcs9

s7.xcs9RestoreSys.sh Initialization of sys partition of the CFAST for version s7.xcs9

s8.xcs9 s8.xcs9Part.sh Total initialization of the CFAST for version s8.xcs9 until s8.8.4cs9 included

s8.xcs9RestoreSys.sh Initialization of sys partition of the CFAST for version s8.xcs9 until s8.8.4cs9 included

s8.9+cs9Part.sh Total initialization of the CFAST from version s8.9cs9 and higher

s8.9+cs9RestoreSys.sh Initialization of sys partition of the CFAST from version s8.xcs9 and higher

s7.xcs9 and s8.xcs9 usrPartBackup.sh Copy and backup USR partition on USB stick

usrPartRestore.sh Restore USR partition on the controller

How to use commands:


From a windows command line:

1. Go to the directory host of a s8.xcs9 (cdDoc\System\host)


2. Type the command plink.bat maintenance@IpAddress "./command"
For example: plink.bat maintenance@10.10.xx.xx "./s8.xcs9Part.sh"
3. In case of the following error:

WARNING - POTENTIAL SECURITY BREACH!


The server's host key does not match the one PuTTY has cached in the registry. This means that either the
server administrator has changed the host key, or you have actually connected to another computer pretending
to be the server.
The new rsa2 key fingerprint is:
ssh-rsa 2048 2c:a1:a3:c5:78:f1:57:24:ed:77:91:48:44:f0:23:78
Connection abandoned.
Type one time the command: pre-check.bat maintenance@IpAddress

USR partition backup / restore


The command usrPartBackup.sh creates a file named USRbackup.tar in the current USB key directory.
In order to copy this file to your PC use the command:
pscp.bat maintenance@IpAddress:USRbackup.tar fileNameOnThePC
The command usrPartRestore.sh restore the usr partition from the file USRbackup.tar of the current USB key directory.
In order to copy a backup file from your PC to the USB key use the command:
pscp.bat fileNameOnThePC maintenance@IpAddress:USRbackup.tar

You might also like