IMG 1004 - SD Card Remote Provisioning

IMG 1004 - SD Card Remote Provisioning

Overview:

This feature provides a means for installing new versions of system software to IMG 1004 located at remote sites with no BOOTP server, by allowing remote access to the SD card on the IMG 1004. The SD Card is a small memory card much like the memory cards used in digital cameras and other devices. The IMG 1004 has an SD card slot positioned on the right hand side of the front panel just below the USB port. Prior to software version 10.3.x the only way to access and edit information on the SD Card would have been to physically go to the remote IMG 1004, pull the card out, insert it into an SD Reader, and edit the information on the SD Card. A new feature which has been implemented in software build 10.5.0 provisions the IMG 1004 as an FTP server instead of just an FTP client. This will give the user the ability to transfer files to and from the SD Card using the FTP utility. The FTP server functionality is disabled by default and would need to be enabled through ClientView in order for the remote provisioning to work.

 

Related Topics:

IMG 1004 - Downloading System Software Using Boot File on SD Card

IMG 1004 - Downloading System Software from SD Card

IMG 1004 - Distributing System Software Using SD Card

IMG 1004 - Default bootup.cfg

 

Configuring Remote provisioning on SD card

To use the IMG 1004 as an FTP server the SD Card must be inserted into the SD Card socket. The IMG 1004 will have system software running on it which was originally loaded through use of the SD Card

 

Within ClientView, under the IMG 1004 Physical node, right click and select New FTP Server. Commit This. Below is a screen capture of the FTP Server Pane
 

 

In order to enable the IMG 1004 as an FTP server, select enable in the drop down menu in the "FTP Server" field.

 

If someone has FTP'd to the IMG 1004 the "FTP Connection Status" field and the "Remote IP Address" field will update. See screen capture below. Notice the Remote IP address field. This is the IP address of the PC that the user is FTP'ing from.
 

 

At this point, files can be FTP'd to and from the IMG 1004. Below is an example of using FTP to change the version of software loaded on the SD card
 

Procedure:

  • The following procedure will explain how to change the load on an SD Card and upgrade the IMG 1004 software. The procedure will assume that:

    • SD Card was previously used to load IMG 1004 software and the IMG 1004 is running with that software.

    • The FTP Server is configured and enabled in ClientView. See Steps above

From a DOS or UNIX prompt

ftp <IP address of IMG1004> User: excelsw Password: excelsw ftp>

 

FTP Applications that use only SFTP (Secure FTP) or SCP (Secure Copy) will not connect to the IMG 1004. Only the FTP Protocol is supported for transferring the files to the IMG 1004 SD Card. Please select FTP in your application.

 

  • Once logged in, you can transfer the new updated IMG 1004 software file. Transfer this file as binary.

ftp> dir (dir command will show what is loaded on SD Card) ftp> bin (Set mode to transfer file as binary) ftp> hash (enable hash printing) ftp> put img1004_<software version>_id0106.bin (Transfer times could vary from 2 to 10 minutes depending on server speed, memory size, etc.)

 

  •  Verify the software file was successfully transferred by using the dir or ls command.

ftp> dir

 

  • Transfer the bootup.cfg file from the IMG 1004 with the SD Card to the PC.
     

ftp> dir (dir command will show what is loaded on SD Card) ftp> ascii (Set mode to transfer file as ascii) ftp> get bootup.cfg (Get copy of bootup.cfg from SD Card)

 

  • Modify the "file=" line on the bootup.cfg file just transferred. Verify the changes to this file are correct. Below is the line in the bootup.cfg file that will need to be edited.
     

# System Software Filename file=img1004_ver1050137_id0106.bin (Change ver1050137 to new software build. Ex: ver1050140)

 

  • Before transferring the new bootup.cfg file to the SD rename the existing file on the SD card. This can be accomplished using the rename command in ftp. See Below
     

ftp> rename bootup.cfg bootup_old.cfg

 

  • Transfer the new bootup.cfg file to the IMG 1004. Transfer this file as Ascii text.
     

ftp> ascii (Set to transfer an ascii text file) ftp> put bootup.cfg (Transfer will take a few seconds)

 

  • Once the software is transferred, verify both files were transferred successfully to the SD Card.

  • In order to load the latest software the IMG 1004 must be rebooted. Go to ClientView and under the IMG 1004 Physical Node right click and select Clear Software.

  • A box will pop up informing you that "This option could have significant effects on the system. Are you sure you want to clear software" Select YES button.

  • The IMG 1004 will now reboot and eventually Software will start loading. Refer to the topic IMG 1004 - Front Panel Status LEDs for information on LED sequencing and error codes that might occur during the bootup process.

  • The loading of software through the SD Card will take approximately 4 minutes. Once software is loaded then GCEMS will configure the IMG 1004.

 

 

Return to Documentation Home I Return to Sangoma Support