Technical FAQs

Ask a Question

NetBotz TFTP upgrade procedure.

Issue:
NetBotz TFTP upgrade procedure.

Product Line:
NetBotz

Environment:
NetBotz version 3

Cause:
Optional NetBotz firmware upgrade/recovery instructions. This option may also be a suggested option for restoring a NetBotz appliance to default due to unknown configuration issues or other unknown behavior on a NetBotz appliance.

Resolution:
 
NOTE:  These steps must be run from a PC on the same network segment as the NetBotz Appliance.
NOTE:  The only cables/sensors that can remain plugged into the NetBotz Appliance during this procedure are the USB console cable and the network cable.
 
1) Download the firmware for the NetBotz Appliance.

2) Extract the zip file on your computer.

3) Due to antivirus programs setting the TFTPd32.exe file as a virus, it is no longer provided within the firmware download.  You may use any tftp program, or if you would like to use the TFTPd32.exe program, see FA274811.

4) Set the base directory of your TFTP server to be the extracted firmware files tftp directory (/releases_netbotzv3/4.X.X/tftp/)
NOTE: Ensure that there are no firewalls or other network security that would block TFTP traffic between the NetBotz Appliance and the computer running the TFTP server.

5) Connect a USB cable from your computer to the console port on the Appliance.

6) To find the correct communication (COM) port to use within the next step, you will need to open the Device Manager within the control panel.  Within the Ports section will be a USB Serial port with a COM# listed at the end in parenthesis.  If the USB Serial Adapter is not showing, refer to knowledge base FA158350.

7) Open a terminal emulator such as Windows HyperTerminal or PuTTy.  Select serial communication and use the following settings:
- Bits/second: 38,400
- Data Bits: 8
- Parity: None
- Flow Control: None
- Stop Bits: 1

Example PuTTy Configuration:

1) Under Session, change the connection type to serial.

2) Edit the serial connection parameters under: Connection > Serial


Example HyperTerminal Configuration:
 
1) Type a name for the connection and on the next screen select the appropriate COM port that was discovered earlier

8) When opening the connection, you should be at a login prompt.

NOTE: Please read ALL of step 9 before continuing.
9) Unplug the power from the NetBotz Appliance while keeping the serial connection open.  Wait 5 seconds and plug it back in.  When it is turned bac on, you will need to have the serial session active.  It will be counting down to stop the auto-boot, press <enter> to stop the auto-boot sequence.  If you do not see the countdown, repeat this step.

10) You should now be at a NetBotz> prompt.  Enter the following commands to direct the appliance where to retrieve the new code from: 
a) setenv serverip aaa.bbb.ccc.ddd <enter>  (aaa.bbb.ccc.ddd is the IP address of the PC that has the TFTP server installed and running)
b) saveenv <enter> (saving the server settings)
c) printenv <enter> (print the settings to the screen for verification)
NOTE: Please read step 11 before performing Step 10d.
d) reset <enter>

11) Stop the auto-boot again before the countdown expires.

12) If the appliance is using DHCP, please proceed to step 12f.  If the appliance is not using DHCP, set the IP address using the following steps:
a) setenv ipaddr aaa.bbb.ccc.ddd <enter> (IP address for the NetBotz Appliance)
b) setenv gatewayip aaa.bbb.ccc.ddd <enter> (Gateway IP address for the NetBotz Appliance)
c) setenv netmask aaa.bbb.ccc.ddd <enter> (Subnet mask for the NetBotz Appliance)
d) saveenv <enter> (saving the network settings)
e) printenv <enter> (print the network settings to the screen for verification)
NOTE: Read step 13 before performing step 12f.
f) reset <enter> (reboots the NetBotz Appliance)

13) Stop the auto-boot again before the countdown expires.

14) Issue the following command:  postupg <enter>  (This starts the firmware upgrade process)
a) If you see this, it means the network is not setup correctly and the steps need to be performed again (starting with step 9)
b) If it is successful, it will look like the following:

NOTE: Read through step 16, before performing step 15.
15) After the upgrade completes, issue the following command: reset <enter> (reboots the NetBotz Appliance)

16) Stop the auto-boot again before the countdown expires.

17) Issue the following command:  rootupg <enter> This process will take approximately 7-8 minutes to complete.  After completing, the system will automatically reboot.
NOTE: There is an additional option of rootupgkeep instead of rootupg, which will keep the settings on the appliance.

18) If you are not using DHCP, after reboot, log into the appliance using a username/password of root/apc to set the network settings on the appliance.

You should now be able to manage the NetBotz Appliance using the Advanced View application.
Was this helpful?
What can we do to improve the information ?