Upgrading firmware using command line

  • 1
  • Question
  • Updated 3 years ago
Is it possible to use command line to upgrade a firmware on a standalone 7363 AP using a local FTP server?
If so, how should it be done?
The ftp has been setup with a specific user/password, However, the fw command does not seem to start the upgrade.
Photo of thomas untoja

thomas untoja

  • 10 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Michael Brado

Michael Brado, Official Rep

  • 1968 Posts
  • 275 Reply Likes
What version of 7363 firmware? And using CLI is the hard way. We have Local
mode upgrade method thru AP WebUI since 9.1.

Does the 'fw show' command show that you have an FTP server, fw control file,
uid/pw setup correctly?

What results do you get when you issue the 'fw update' command? Are you
following the example in the ZoneFlex Access Point CLI guide?
Photo of thomas untoja

thomas untoja

  • 10 Posts
  • 0 Reply Likes
The current version is 9.7.
The problem is that, since it is a remote site, we cannot access the WebUI remotely through SSH tunneling.
Even an attempt to access it using W3M fails (it shows an empty page)

Please find the information below :
- Software version : 9.7.0.0.220
current primary boot image is Image2
--------------------------------------------------------------
Auto F/W upgrade = disabled
Running on image = Image2
FW Control Control File = zf7363_970_cntrl.rcks
Control File Server = 192.168.0.3
Protocol = FTP
Port = auto
User = "thun"
Password = "adt"
Boot Flags (Main,Backup,Factory,Reset) = M. .. [MB FR]
--------------------------------------------------------------

However, I am not sure about how the fw control file works.
Photo of thomas untoja

thomas untoja

  • 10 Posts
  • 0 Reply Likes
Result of fw update :
rkscli: fw update
fw: Updating rcks_wlan.main ...
**fw(9472) : File not found
OK
Photo of thomas untoja

thomas untoja

  • 10 Posts
  • 0 Reply Likes
Alright I found a way to do it.
From what I understand, the ftp has to host 2 files (the firmware file and the control file), put in the root directory of the ftp server.
I edited the control file, after browsing the forums for a while.
However, I am not sure about all the parameters in the fw control file.

The attempt was successful.
Photo of Michael Brado

Michael Brado, Official Rep

  • 1968 Posts
  • 275 Reply Likes
The firmware control file is a text file which you can edit. The two key pieces of information are the firmware filename, and matching byte count. And you need
to reboot the AP after upgrading, for it to load the new image.