This article describes how to download and install firmware from a local TFTP server via the BIOS, under CLI control.
Caution: Installing firmware from a local TFTP server under console control will reset the FortiGate unit to factory default settings.
If possible, consider backing up the configuration before starting the TFTP server firmware upgrade.
Component:
- A null modem, or RJ-45 to DB9 console cable, supplied with the FortiGate unit.
- An Ethernet RJ45 cable
- A terminal client, such as a PC running HyperTerminal (Windows)
- A TFTP server (see below the recommended software)
Recommended TFTP software:
- Windows users
TFTPD32 - Open Source TFTP server for windows
[http://tftpd32.jounin.net/tftpd32.html]
3CDaemon V2 - 3com's TFTP server for windows
[http://support.3com.com/software/utilities_for_windows_32_bit.htm]
- Linux users:
Ubuntu 8.04 LTS, 8.10, 9.04 and 9.10
Fedora Core 9
Centos 5
tftpd-hpa
[http://freshmeat.net/projects/tftpd-hpa/]
-Mac OS X 10.5/10.6 users:
TFTP Server v 3.3.1
[http://ww2.unime.it/flr/tftpserver/]
Download the FortiGate firmware and verify MD5 checksum:
Perform multiple simultaneous file transfers to and from FTP site, server, or host in a trice. A free tftp and dhcp server for windows, freeware tftp server. Description; Les News; Download; FAQ; Testimonials; The license; Forum The industry standard TFTP server. Download: Go to the Forum: (external link) TFTP Server opensource TFTP Server TFTP Server XP. Download Serva 32/64 - Serva32 - Serva64. 157N - TFTP Server RFC 7440 PUTRQ support 156N - TFTP Client Pick file dialog box. 043F - DHCP MAC Filter option name 'reject' replaced by 'ignore' Aug 21 2011 v1.4.0 042F - HTTP/FTP/TFTP 64Bit Directory dialog box. After the firmware is updated, you can stop the TFTP server. Open the TFTP v3.4.1 application; In the TftpServer window, click Stop to disable the TFTP server if the TFTP server if no longer needed; Manual configuration of TFTP server in Mac OS X: Using TFTP Server on Mac OS X 10.7 Lion and later versions for firmware updates.
1) Download the required firmware from the Download Firmware Images page.2) Make a note of the name of the downloaded file, for example FGT_100E-v6-build1723-FORTINET.
3) On the support site use the Download -> Firmware Image Checksums link, enter the filename with a .out extension. For example FGT_100E-v6-build1723-FORTINET.out.
4) Select get checksum code and the system will generate MD5 Checksum Code (for example: 9b1e345711a95d9fe05481e9f2b8bdb0) and SHA-512 Checksum Code.
Steps to load the firmware image:
![Tftpd64 Tftpd64](https://prajwaldesai.com/wp-content/uploads/2017/04/SCCM-OSD-TFTP-download-smsboot-x64-abortpxe-Snap2.jpg)
1) Connect the computer to the FortiGate unit using the null modem cable.
2) Restart the FortiGate.
Tftpd64
3) When the console displays 'Press any key to display configuration menu...' press the space bar or any other key.
4) When a list of choices with letter of Alphabet comes up. Press F to format the device.
5) The below confirmation message will appear. Type 'yes' and press Enter:
Mac Os X Tftp Server
It will erase data in boot device. Continue? [yes/no]:yes6) After the unit is formatted, a list of choices with letter of Alphabets come up again. Press G to continue to firmware installation.
7) Connect the computer running TFTP server to the FortiGate unit. The port is prompted in the console output as below:
Please connect TFTP server to Ethernet port 'MGMT' / other port
8) Type the IP address of the computer running the TFTP server and press Enter.
The console displays:
Enter TFTP server address [192.168.1.168]:
9) Type the IP address of the FortiGate port that is on the same subnet as the TFTP server and press Enter.
The console displays:
Enter Local Address [192.168.1.188]:
10) Type the firmware image file name and press Enter.
The console displays:
Enter File Name [image.out]:
The console periodically displays a '#' (pound or hash symbol) to show the download progress.
11) When the download completes, the console displays a message similar as below, Press D.
Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?D
The FortiGate unit installs the new firmware image and restarts. The installation may take a few minutes to complete.
Tftp Server For Windows 10
Troubleshooting:
Once entering the firmware image name and pressing enter, the FortiGate unit MAC address appears and the '#' symbols indicate the progress of the install.
If the MAC address does not show up, check the network cable and connector to ensure they are firmly attached to the FortiGate unit.
If MAC address shows up and no '#' signs appear, check which port the network cable is in. Use the table above in step 2 to ensure it is in the right port.
Sample Console Output:
The following is an example of what the output from the console can look like. Depending on the FortiGate unit, this may vary slightly.
FortiGate-40C (12:29-05.08.2013)
Ver:04000009
Serial number: FGT40C123456789
CPU(00): 525MHz
Total RAM: 512MB
Initializing boot device...
Initializing MAC... nplite#0
Press any key to display configuration menu...
[G]: Get firmware image from TFTP server.
[F]: Format boot device.
[I]: Configuration and information.
[B]: Boot with backup firmware and set as default.
[Q]: Quit menu and continue to boot.
[H]: Display this list of options.
Enter G,F,I,B,Q,or H:
It will erase data in boot device. Continue? [yes/no]:yes
Formatting......... Done.
[G]: Get firmware image from TFTP server.
[F]: Format boot device.
[I]: Configuration and information.
[B]: Boot with backup firmware and set as default.
[Q]: Quit menu and continue to boot.
[H]: Display this list of options.
Enter G,F,I,B,Q,or H:
Please connect TFTP server to Ethernet port '5'.
Enter TFTP server address [192.168.1.168]: 192.168.0.5
Enter local address [192.168.1.188]: 192.168.0.6
Enter firmware image file name [image.out]: FGT_40C-v5-build0701-FORTINET.out
MAC:085B0E14BB3E
###################################
Total 37651242 bytes data downloaded.
Verifying the integrity of the firmware image.
Total 262144kB unzipped.
Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?D
Programming the boot device now.
..............................................................................................................................................................................................................
Reading boot image 1393286 bytes.
Initializing firewall...
System is starting...
Starting system maintenance...
Scanning /dev/sda2... (100%)
FGT40C123456789 login: