Update Fortinet/Fortigate via Console Ymodem.

Using sz

1
brew install lrzsz

Get fortinet into ymodem mode:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
resetting
FortiGate-60F (00:0Ver:00000000
Serial number: FGT000000000
CPU: 1200MHz
Total RAM: 2 GBboot device...
Initializing MAC... nplite#0
Please wait for OS to boot, or press any configuration

It will erase data in boot device. Continue? [yes/no]:o

[C]: Configure TFTP parameters.
[R]: Review TFTP: Initiate TFTP firmware transfer.
[F]: Format boot device.
[I]: System information.
[B]: Boot with band set as default.
[Q]: Quit me to boot.
[H]list of options.

Enter s for serial update

Quickly replug the serial console usb

And make sure the serial console wont be busy. The fortinet listen to binary update may be auto timeout and exit at about 60 sec.

Enter command below:

1
sz -b -vv  --ymodem  ~/Downloads/firmware.out  > /dev/cu.usbserial < /dev/cu.usbserial
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
33135a60-master at 2024-03-09 15:10:22 +0000
Built with Hugo
Theme Stack designed by Jimmy