The IO-FEP2 provides tqo ways to update the device's firmware. One is via the Web-UI, the other uses SFTP and SSH from the command line.
Updating the firmware using the Web-UI
At the web page 'Info' there is a link 'Update Software' which leads to the firmware update page. You need to log in as 'admin' for this. Loading the firmware update page may take some seconds.
Then the IOFEP2 presents a Web page where the file to upload can be selected and the checksum of the file must be entered. With the update the file gets uploaded to the IO-FEP2 and unpacked, but the IOFEP2 does not automatcally reboot. You should do this as the next step.
Updating the firmware using SFTP and SSH
Using the Unix/Linux command line tools sftp and ssh, the process of updating the IO-FEP2 firmware may be automated with shell scripts. As a prerequisite you need the IO-FEP2 firmware update archive (something like iofep2-update-x-y-z.tar.gz, preferably in yout actual working directory) and the checksum for this file (a 32 digit hexadecimal number).
The firmware update is a 2-step procedure. With the first step the IO-FEP2 firmware update archive gets copied to the IO-FEP2's /tmp directory:
sftp iofep2-update-5.6.7.tar.gz root@10.10.1.1:/tmp/UPDATE.TGZ
The example above assumes that the IO-FEP2's IP address is 10.10.1.1 and that iofep2-update-5.6.7.tar.gz ist the file to upload. Enter 'satnms' when sftp asks for a password. Be sure to select /tmp/UPDATE.TGZ als the file destination, otherwise the update will fail.
For the second step you log onto the IO-FEP2 using ssh and call the script install-update:
ssh root@10.10.1.1
Again, this assumes that the IO-FEP2's IP address is 10.10.1.1, enter 'satnms' when ssh asks for a password.
Finally, at the IO-FEP2's cli prompt enter
install-update checksum
checksum should be replaced with the 32 digit hexadecimal checksum you received with the firmware update. The IO-FEP2 installs the firmware update and automatically reboots to run the updated background programs. The ssh session gets closed by this (some ssh clients stay connected until the IO-FEP2 has finished its reboot).