Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If for some reasons after updating the Web-GUI is broken, but the device is still accessible via ssh, the device can be flashed via the command line.

You should reboot the device right before executing following steps, to avoid having to much log files taking file space.

If you are under Windows you need an SSH client, e.g. putty:

putty.org

Check if you can login to your device.

tut01.pngImage Added

If you can log in, create following folder:

Code Block
mkdir -p /tmp/mchroot/tmp

tut02.pngImage Added

Download one of the flash images files from:

https://www.beronet.com/wp-content/uploads/downloads/berofix/ddflash_images/

In this example the flashimages-23.01.01-rc46.tar.gz is used, but you can use any image available in this folder.

With putty comes a command line tool called pscp. You need to open a cmd shell to use it.

Change into the the folder where the flashimages-23.01.01-rc46.tar.gz is located.

Now you can copy over the file to the beroNet gateway.

...

The flash file should have been copied over to the newly created folder.

In putty perform change into the folder and check if the file copy worked and extract the flash tool from the archive.

Code Block
cd /tmp/mchroot/tmp
ls -l
tar -xzf flashimages-23.01.01-rc46.tar.gz ddflash.sh
ls -l

tut04.pngImage Added

Now you have to set a database value and after that you can start the flash process:

Code Block
beroconf set root boot_fwupdate 1
./ddflash.sh flashimages-23.01.01-rc46.tar.gz

tut06.pngImage Addedtut07.pngImage Added

This starts the flash process, if everything goes well it takes a couple of minutes. If it is finished, a message should appear, telling that the device is rebooting. Then it should take around two additional minutes until the device should be accessible again.

tut09.pngImage Added